Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-xlib for openSUSE:Factory checked in at 2024-03-05 18:47:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-xlib (Old) and /work/SRC/openSUSE:Factory/.python-python-xlib.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-xlib" Tue Mar 5 18:47:00 2024 rev:14 rq:1154495 version:0.33 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-xlib/python-python-xlib.changes 2023-08-05 12:53:53.532189654 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-xlib.new.1770/python-python-xlib.changes 2024-03-05 18:47:03.993210421 +0100 @@ -1,0 +2,6 @@ +Mon Mar 4 04:17:30 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyproject and patch macros. +- Less globs in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-xlib.spec ++++++ --- /var/tmp/diff_new_pack.kxkfug/_old 2024-03-05 18:47:04.545230464 +0100 +++ /var/tmp/diff_new_pack.kxkfug/_new 2024-03-05 18:47:04.545230464 +0100 @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-python-xlib # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,13 +31,14 @@ Release: 0 Summary: Python X11 interface License: LGPL-2.1-or-later -Group: Development/Libraries/Python URL: https://github.com/python-xlib/python-xlib Source: https://files.pythonhosted.org/packages/source/p/python-xlib/python-xlib-%{version}.tar.gz # PATCH-FEATURE-UPSTREAM remove-mock.patch -- gh#python-xlib/python-xlib#186 Patch0: remove-mock.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} %if %{with test} BuildRequires: %{python_module pytest-xvfb} BuildRequires: %{python_module pytest} @@ -67,10 +68,10 @@ %setup -q -n python-xlib-%{version} dos2unix CHANGELOG.md README.rst TODO dev-requirements.txt test/* # patch only applies to unix endings -%patch0 -p1 +%patch -P 0 -p1 %build -%python_build +%pyproject_wheel %if %{with test} %check @@ -79,13 +80,13 @@ %else %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE %doc CHANGELOG.md README.rst TODO -%{python_sitelib}/Xlib/ -%{python_sitelib}/python_xlib-* +%{python_sitelib}/Xlib +%{python_sitelib}/python_xlib-%{version}.dist-info %endif