Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-dirtyjson for
openSUSE:Factory checked in at 2025-05-26 18:40:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dirtyjson (Old)
and /work/SRC/openSUSE:Factory/.python-dirtyjson.new.2732 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dirtyjson"
Mon May 26 18:40:40 2025 rev:5 rq:1280154 version:1.0.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dirtyjson/python-dirtyjson.changes
2023-02-10 14:36:12.970241709 +0100
+++
/work/SRC/openSUSE:Factory/.python-dirtyjson.new.2732/python-dirtyjson.changes
2025-05-26 18:41:51.467351409 +0200
@@ -1,0 +2,5 @@
+Mon May 26 11:58:00 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-dirtyjson.spec ++++++
--- /var/tmp/diff_new_pack.S1NWAX/_old 2025-05-26 18:41:51.987373251 +0200
+++ /var/tmp/diff_new_pack.S1NWAX/_new 2025-05-26 18:41:51.991373420 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-dirtyjson
#
-# Copyright (c) 2023 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,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-dirtyjson
Version: 1.0.8
Release: 0
@@ -25,8 +24,10 @@
Group: Development/Languages/Python
URL: https://github.com/codecobblers/dirtyjson
Source:
https://files.pythonhosted.org/packages/source/d/dirtyjson/dirtyjson-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -39,10 +40,10 @@
%autosetup -p1 -n dirtyjson-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand rm -r %{buildroot}%{$python_sitelib}/dirtyjson/tests
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -52,5 +53,6 @@
%files %{python_files}
%doc CHANGES.txt README.rst
%license LICENSE.txt
-%{python_sitelib}/*
+%{python_sitelib}/dirtyjson
+%{python_sitelib}/dirtyjson-%{version}*-info