Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package urlwatch for openSUSE:Factory 
checked in at 2025-06-13 18:46:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/urlwatch (Old)
 and      /work/SRC/openSUSE:Factory/.urlwatch.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "urlwatch"

Fri Jun 13 18:46:19 2025 rev:28 rq:1285336 version:2.29

Changes:
--------
--- /work/SRC/openSUSE:Factory/urlwatch/urlwatch.changes        2024-10-28 
15:24:04.572849804 +0100
+++ /work/SRC/openSUSE:Factory/.urlwatch.new.19631/urlwatch.changes     
2025-06-13 18:46:34.953609009 +0200
@@ -1,0 +2,7 @@
+Fri Jun 13 03:30:43 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Use pyproject macros to build and install.
+- Sprinkle in fdupes.
+- Correct Requirements to match what is declared.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ urlwatch.spec ++++++
--- /var/tmp/diff_new_pack.WGf1GJ/_old  2025-06-13 18:46:36.445670198 +0200
+++ /var/tmp/diff_new_pack.WGf1GJ/_new  2025-06-13 18:46:36.453670526 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package urlwatch
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+%define pythons python3
 Name:           urlwatch
 Version:        2.29
 Release:        0
@@ -24,15 +25,19 @@
 Group:          Productivity/Networking/Web/Utilities
 URL:            https://thp.io/2008/urlwatch/
 Source0:        
https://github.com/thp/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildRequires:  python3-devel >= 3.8
+BuildRequires:  python3-pip
 BuildRequires:  python3-setuptools
+BuildRequires:  python3-wheel
 Requires:       python3-PyYAML
-Requires:       python3-appdirs
 Requires:       python3-cssselect
+Requires:       python3-keyring
 Requires:       python3-lxml
 Requires:       python3-minidb >= 2.0.6
+Requires:       python3-platformdirs
 Requires:       python3-requests
-Recommends:     python3-keyring
 BuildArch:      noarch
 
 %description
@@ -57,17 +62,18 @@
 %setup -q
 
 %build
-python3 setup.py build
+%pyproject_wheel
 
 %install
-python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%pyproject_install
+%fdupes %{buildroot}%{python3_sitelib}
 
 %files
 %doc CHANGELOG* README*
 %license COPYING*
 %{_bindir}/%{name}
 %{python3_sitelib}/%{name}
-%{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info
+%{python3_sitelib}/%{name}-%{version}.dist-info
 %{_datadir}/%{name}
 %{_mandir}/man1/%{name}.1%{?ext_man}
 %{_mandir}/man5/urlwatch-config.5%{?ext_man}

Reply via email to