Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-jsonfield for 
openSUSE:Factory checked in at 2024-03-13 22:21:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-jsonfield (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-jsonfield.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-jsonfield"

Wed Mar 13 22:21:04 2024 rev:5 rq:1157626 version:3.1.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-jsonfield/python-django-jsonfield.changes
  2022-01-07 12:48:05.851916964 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-jsonfield.new.1770/python-django-jsonfield.changes
        2024-03-13 22:22:23.452707480 +0100
@@ -1,0 +2,10 @@
+Wed Mar 13 14:05:57 UTC 2024 - Matej Cepl <[email protected]>
+
+- Clean up the SPEC file
+
+-------------------------------------------------------------------
+Tue Mar 12 11:14:21 UTC 2024 - Max Lin <[email protected]>
+
+- Add %{?sle15_python_module_pythons}
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-django-jsonfield.spec ++++++
--- /var/tmp/diff_new_pack.ptSqPp/_old  2024-03-13 22:22:23.900724015 +0100
+++ /var/tmp/diff_new_pack.ptSqPp/_new  2024-03-13 22:22:23.900724015 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-jsonfield
 #
-# Copyright (c) 2022 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
@@ -16,9 +16,8 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
 %define skip_python36 1
+%{?sle15_python_module_pythons}
 Name:           python-django-jsonfield
 Version:        3.1.0
 Release:        0
@@ -29,9 +28,11 @@
 Source:         
https://files.pythonhosted.org/packages/source/j/jsonfield/jsonfield-%{version}.tar.gz
 BuildRequires:  %{python_module Django >= 2.2}
 BuildRequires:  %{python_module base >= 3.6}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest-django}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Django >= 2.2
@@ -43,13 +44,13 @@
 store validated JSON in your model.
 
 %prep
-%setup -q -n jsonfield-%{version}
+%autosetup -p1 -n jsonfield-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -60,5 +61,6 @@
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/jsonfield
+%{python_sitelib}/jsonfield-%{version}*-info
 

Reply via email to