Script 'mail_helper' called by obssrc
Hello community,

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

Package is "arandr"

Tue Jun 17 18:21:41 2025 rev:7 rq:1286317 version:0.1.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/arandr/arandr.changes    2024-07-25 
12:15:51.570731614 +0200
+++ /work/SRC/openSUSE:Factory/.arandr.new.19631/arandr.changes 2025-06-17 
18:22:05.485980474 +0200
@@ -1,0 +2,5 @@
+Mon Jun 16 12:02:02 UTC 2025 - Nico Krapp <nico.kr...@suse.com>
+
+- convert to pip-based build and update build requirements
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ arandr.spec ++++++
--- /var/tmp/diff_new_pack.JIj6DB/_old  2025-06-17 18:22:06.082005258 +0200
+++ /var/tmp/diff_new_pack.JIj6DB/_new  2025-06-17 18:22:06.086005424 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package arandr
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2012 Pascal Bleser <pascal.ble...@opensuse.org>
 # Copyright (c) 2013,2019 B1 Systems GmbH, Vohburg, Germany 
<seife+...@b1-systems.com>
 #
@@ -18,6 +18,7 @@
 #
 
 
+%define pythons python3
 Name:           arandr
 Version:        0.1.11
 Release:        0
@@ -26,20 +27,19 @@
 URL:            https://christian.amsuess.com/tools/arandr/
 Source:         
http://christian.amsuess.com/tools/arandr/files/%{name}-%{version}.tar.gz
 Patch1:         arandr-fix_desktop_icon.patch
+BuildRequires:  %{python_module base}
+BuildRequires:  %{python_module docutils}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  fdupes
 BuildRequires:  gobject-introspection
 BuildRequires:  make
-BuildRequires:  python3
-BuildRequires:  python3-docutils
 Requires:       python3-gobject
 Requires:       python3-gobject-Gdk
 Requires:       python3-pycairo
-BuildRequires:  update-desktop-files
-BuildArch:      noarch
-%if 0%{?suse_version} >= 1220
-Requires:       xrandr
-%else
 Requires:       xorg-x11
-%endif
+BuildArch:      noarch
 
 %description
 ARandR is designed to provide a simple visual front end for XRandR. Relative
@@ -50,12 +50,11 @@
 %autosetup -p0
 
 %build
-python3 ./setup.py build
+%pyproject_wheel
 
 %install
-python3 ./setup.py install \
-    --prefix="%{_prefix}" \
-    --root=%{buildroot}
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{python3_sitelib}/screenlayout
 
 # removed obsolete suse_update_desktop_file
 #suse_update_desktop_file -r "${name}" Settings DesktopSettings
@@ -76,5 +75,5 @@
 %{_mandir}/man1/%{name}.1%{?ext_man}
 %{_mandir}/man1/unxrandr.1%{?ext_man}
 %{python3_sitelib}/screenlayout/
-%{python3_sitelib}/arandr-%{version}-py*.egg-info
+%{python3_sitelib}/arandr-%{version}.dist-info
 

Reply via email to