diff --git a/.gitignore b/.gitignore index 5d879a6..119a920 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,3 @@ urlwatch-1.11.tar.gz /urlwatch-2.6.tar.gz /urlwatch-2.17.tar.gz /urlwatch-2.21.tar.gz -/urlwatch-2.28.tar.gz -/urlwatch-2.29.tar.gz diff --git a/sources b/sources index d66a1fc..9694915 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (urlwatch-2.29.tar.gz) = 71e809398ad3b78779174a3a5f1a834d568e476166044c67b3b6d00fda53a4950015c51586a78f70f3637311cd4904257d97eeace4eb602392141a593e03ac7d +SHA512 (urlwatch-2.21.tar.gz) = e832ae0ed836739b85c9e71e0028fc475dcd2944af78c61391d7b3f155b1f22f52e5913b1dd4207f79c210383e6f187650a7e2ef109a59827881d825bfaee7c1 diff --git a/urlwatch.spec b/urlwatch.spec index 7c1d38b..8c007f8 100644 --- a/urlwatch.spec +++ b/urlwatch.spec @@ -1,27 +1,21 @@ Name: urlwatch -Version: 2.29 -Release: 6%{?dist} +Version: 2.21 +Release: 7%{?dist} Summary: A tool for monitoring webpages for updates -License: LicenseRef-Callaway-BSD +License: BSD URL: http://thpinfo.com/2008/urlwatch/ Source0: https://github.com/thp/urlwatch/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3dist(sphinx) -# Build deps for testing -BuildRequires: python3dist(pytest) -BuildRequires: python3dist(docutils) -BuildRequires: python3dist(pycodestyle) +BuildRequires: python3-setuptools +BuildRequires: python3-idle -Requires: python3dist(platformdirs) -Requires: python3dist(html2text) -Requires: python3dist(keyring) -Requires: python3dist(lxml) -Requires: python3dist(minidb) -Requires: python3dist(pyyaml) -Requires: python3dist(requests) +Requires: python3-requests +Requires: python3-keyring +Requires: python3-minidb +Requires: python3-PyYAML %description This script is intended to help you watch URLs and get notified (via @@ -44,91 +38,25 @@ Basic features %prep %autosetup -%generate_buildrequires -%pyproject_buildrequires - %build -%pyproject_wheel -pushd . -cd docs -sphinx-build -M html source ../build -rm ../build/html/.buildinfo -popd +%py3_build %install -%pyproject_install - -%check -# test_filter_documentation requires jq and pdftotext which are not packaged in Fedora -%pytest lib/urlwatch/tests -k "not test_filter_documentation" +%py3_install +# Fix exec permission for rpmlint +chmod 0755 %{buildroot}%{python3_sitelib}/%{name}/*txt.py +chmod a+x %{buildroot}%{python3_sitelib}/%{name}/handler.py %files -%doc CHANGELOG.md README.md build/html/* +%doc CHANGELOG.md README.md %license COPYING %{_mandir}/man*/*.* %{_bindir}/%{name} %{_datadir}/%{name}/examples/ %{python3_sitelib}/%{name}/ -%{python3_sitelib}/%{name}*.dist-info +%{python3_sitelib}/%{name}*.egg-info %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 2.29-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Thu Jun 04 2026 Python Maint - 2.29-5 -- Rebuilt for Python 3.15 - -* Sat Jan 17 2026 Fedora Release Engineering - 2.29-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Sep 19 2025 Python Maint - 2.29-3 -- Rebuilt for Python 3.14.0rc3 bytecode - -* Fri Aug 15 2025 Python Maint - 2.29-2 -- Rebuilt for Python 3.14.0rc2 bytecode - -* Fri Aug 08 2025 Federico Pellegrin - 2.29-1 -- Bump to 2.29, add tests execution and docs build - -* Fri Aug 08 2025 Federico Pellegrin - 2.28-9 -- Use new Python macros in spec file (rhbz#2378492) - -* Fri Jul 25 2025 Fedora Release Engineering - 2.28-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Mon Jun 02 2025 Python Maint - 2.28-7 -- Rebuilt for Python 3.14 - -* Sun Jan 19 2025 Fedora Release Engineering - 2.28-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Fri Sep 27 2024 Fabian Affolter - 2.28-5 -- Adjust requires (closes rhbz#2148282) - -* Wed Sep 04 2024 Miroslav Suchý - 2.28-4 -- convert license to SPDX - -* Sat Jul 20 2024 Fedora Release Engineering - 2.28-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 07 2024 Python Maint - 2.28-2 -- Rebuilt for Python 3.13 - -* Tue Jan 30 2024 Ondřej Nosek - 2.28-1 -- Update to latest upstream release 2.28 - -* Sat Jan 27 2024 Fedora Release Engineering - 2.21-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 2.21-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue Jun 13 2023 Python Maint - 2.21-9 -- Rebuilt for Python 3.12 - -* Sat Jan 21 2023 Fedora Release Engineering - 2.21-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - * Sat Jul 23 2022 Fedora Release Engineering - 2.21-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild