Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

3 changed files with 10 additions and 51 deletions

1
.gitignore vendored
View file

@ -8,4 +8,3 @@ urlwatch-1.11.tar.gz
/urlwatch-2.17.tar.gz
/urlwatch-2.21.tar.gz
/urlwatch-2.28.tar.gz
/urlwatch-2.29.tar.gz

View file

@ -1 +1 @@
SHA512 (urlwatch-2.29.tar.gz) = 71e809398ad3b78779174a3a5f1a834d568e476166044c67b3b6d00fda53a4950015c51586a78f70f3637311cd4904257d97eeace4eb602392141a593e03ac7d
SHA512 (urlwatch-2.28.tar.gz) = 6252327429b0f78981e1ff9c43b64748cdc8b705f903d94f1a1ef3ae8428e7ad9fd6118e65b536b7a6588613d059b59ec99487a42094e4b18881dc9f4c74e539

View file

@ -1,5 +1,5 @@
Name: urlwatch
Version: 2.29
Version: 2.28
Release: 6%{?dist}
Summary: A tool for monitoring webpages for updates
@ -9,11 +9,7 @@ Source0: https://github.com/thp/urlwatch/archive/%{version}.tar.gz#/%{nam
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(sphinx)
# Build deps for testing
BuildRequires: python3dist(pytest)
BuildRequires: python3dist(docutils)
BuildRequires: python3dist(pycodestyle)
BuildRequires: python3dist(setuptools)
Requires: python3dist(platformdirs)
Requires: python3dist(html2text)
@ -44,61 +40,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 <releng@fedoraproject.org> - 2.29-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 2.29-5
- Rebuilt for Python 3.15
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.29-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2.29-3
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 2.29-2
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Aug 08 2025 Federico Pellegrin <fede@evolware.org> - 2.29-1
- Bump to 2.29, add tests execution and docs build
* Fri Aug 08 2025 Federico Pellegrin <fede@evolware.org> - 2.28-9
- Use new Python macros in spec file (rhbz#2378492)
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.28-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 2.28-7
- Rebuilt for Python 3.14
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.28-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild