Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-picklefield for
openSUSE:Factory checked in at 2024-04-10 17:49:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-picklefield (Old)
and /work/SRC/openSUSE:Factory/.python-django-picklefield.new.29460 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-picklefield"
Wed Apr 10 17:49:41 2024 rev:22 rq:1166575 version:3.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-picklefield/python-django-picklefield.changes
2023-06-26 18:17:01.154717030 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-picklefield.new.29460/python-django-picklefield.changes
2024-04-10 17:50:27.140610401 +0200
@@ -1,0 +2,7 @@
+Wed Apr 3 02:57:40 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- Sprinkle in fdupes.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-picklefield.spec ++++++
--- /var/tmp/diff_new_pack.lQD0PB/_old 2024-04-10 17:50:27.916638960 +0200
+++ /var/tmp/diff_new_pack.lQD0PB/_new 2024-04-10 17:50:27.920639107 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-picklefield
#
-# 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
@@ -17,6 +17,7 @@
%{?sle15_python_module_pythons}
+%define upstream_version 3.1
Name: python-django-picklefield
Version: 3.1.0
Release: 0
@@ -25,7 +26,10 @@
URL: https://github.com/gintas/django-picklefield
Source:
https://github.com/gintas/django-picklefield/archive/v%{version}.tar.gz
BuildRequires: %{python_module Django >= 1.11}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Django >= 1.11
BuildArch: noarch
@@ -45,15 +49,17 @@
echo 'DEFAULT_AUTO_FIELD="django.db.models.AutoField"' >> tests/settings.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m django test -v2 --settings=tests.settings
%files %{python_files}
%doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/picklefield
+%{python_sitelib}/django_picklefield-%{upstream_version}.dist-info