Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-grappelli for
openSUSE:Factory checked in at 2024-03-13 22:21:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-grappelli (Old)
and /work/SRC/openSUSE:Factory/.python-django-grappelli.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-grappelli"
Wed Mar 13 22:21:03 2024 rev:27 rq:1157625 version:3.0.8
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-grappelli/python-django-grappelli.changes
2023-11-13 22:20:35.042869126 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-grappelli.new.1770/python-django-grappelli.changes
2024-03-13 22:22:22.516672933 +0100
@@ -1,0 +2,10 @@
+Wed Mar 13 14:02:05 UTC 2024 - Matej Cepl <[email protected]>
+
+- Clean up the SPEC file
+
+-------------------------------------------------------------------
+Tue Mar 12 11:13:03 UTC 2024 - Max Lin <[email protected]>
+
+- Add %{?sle15_python_module_pythons}
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-grappelli.spec ++++++
--- /var/tmp/diff_new_pack.U86Qwt/_old 2024-03-13 22:22:23.148696258 +0100
+++ /var/tmp/diff_new_pack.U86Qwt/_new 2024-03-13 22:22:23.152696407 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-django-grappelli
#
-# 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
@@ -16,8 +16,7 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
Name: python-django-grappelli
Version: 3.0.8
Release: 0
@@ -26,10 +25,12 @@
URL: https://github.com/sehmaschine/django-grappelli
Source:
https://github.com/sehmaschine/django-grappelli/archive/%{version}.tar.gz#/django-grappelli-%{version}.tar.gz
BuildRequires: %{python_module Django >= 2.2}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module py >= 1.8}
BuildRequires: %{python_module pytest >= 5.0}
BuildRequires: %{python_module pytest-django >= 3.6}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Django >= 2.2
@@ -40,15 +41,16 @@
A jazzy skin for the Django Admin-Interface.
%prep
-%setup -q -n django-grappelli-%{version}
+%autosetup -p1 -n django-grappelli-%{version}
+
find grappelli/templates/ -type f | xargs chmod -R a-x
find grappelli/static/grappelli/stylesheets/ -type f | xargs chmod -R a-x
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%{python_expand rm -r %{buildroot}%{$python_sitelib}/grappelli/tests/
%fdupes %{buildroot}%{$python_sitelib}
}
@@ -62,5 +64,6 @@
%files %{python_files}
%license LICENSE
%doc AUTHORS README.rst
-%{python_sitelib}/*grappelli*/
+%{python_sitelib}/grappelli
+%{python_sitelib}/django_grappelli-%{version}*-info