Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-dbusmock for
openSUSE:Factory checked in at 2023-04-13 14:10:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-dbusmock (Old)
and /work/SRC/openSUSE:Factory/.python-python-dbusmock.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-dbusmock"
Thu Apr 13 14:10:17 2023 rev:7 rq:1078647 version:0.24.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-dbusmock/python-python-dbusmock.changes
2021-12-16 21:20:07.510539799 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-dbusmock.new.19717/python-python-dbusmock.changes
2023-04-13 14:10:28.964205347 +0200
@@ -1,0 +2,6 @@
+Wed Apr 12 10:15:46 UTC 2023 - Matej Cepl <[email protected]>
+
+- Switch to pyproject_*
+- Add missing BR on python-gobject.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-dbusmock.spec ++++++
--- /var/tmp/diff_new_pack.VK9QNF/_old 2023-04-13 14:10:29.416207942 +0200
+++ /var/tmp/diff_new_pack.VK9QNF/_new 2023-04-13 14:10:29.424207989 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-python-dbusmock
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,9 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%{?sle15modernpython}
Name: python-python-dbusmock
Version: 0.24.1
Release: 0
@@ -25,22 +23,23 @@
License: LGPL-3.0-or-later
URL: https://github.com/martinpitt/python-dbusmock
Source:
https://files.pythonhosted.org/packages/source/p/python-dbusmock/python-dbusmock-%{version}.tar.gz
-BuildRequires: %{python_module dataclasses if %python-base < 3.7}
BuildRequires: %{python_module dbus-python}
+BuildRequires: %{python_module gobject}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(gobject-introspection-1.0)
-%if %python_version_nodots < 37
-Requires: python-dataclasses
-%endif
Requires: dbus-1-x11
Requires: python-dbus-python
Requires: python-gobject
Provides: python-dbusmock = %{version}
BuildArch: noarch
+%if %python_version_nodots < 37
+Requires: python-dataclasses
+%endif
%python_subpackages
%description
@@ -51,13 +50,13 @@
to what one may expect in tests.
%prep
-%setup -q -n python-dbusmock-%{version}
+%autosetup -p1 -n python-dbusmock-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -66,7 +65,7 @@
%files %{python_files}
%license COPYING
%doc NEWS README.rst
-%{python_sitelib}/dbusmock/
-%{python_sitelib}/python_dbusmock-%{version}-py*.egg-info
+%{python_sitelib}/dbusmock
+%{python_sitelib}/python_dbusmock-%{version}*-info
%changelog