Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-pglocks for
openSUSE:Factory checked in at 2024-06-25 23:07:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-pglocks (Old)
and /work/SRC/openSUSE:Factory/.python-django-pglocks.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-pglocks"
Tue Jun 25 23:07:53 2024 rev:4 rq:1183097 version:1.0.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-pglocks/python-django-pglocks.changes
2024-03-28 14:30:30.745155115 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-pglocks.new.18349/python-django-pglocks.changes
2024-06-25 23:09:13.650133305 +0200
@@ -1,0 +2,7 @@
+Tue Jun 25 06:19:54 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- Add missing Requires on python-six.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-pglocks.spec ++++++
--- /var/tmp/diff_new_pack.wLbaIv/_old 2024-06-25 23:09:15.090185799 +0200
+++ /var/tmp/diff_new_pack.wLbaIv/_new 2024-06-25 23:09:15.098186091 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-pglocks
#
-# Copyright (c) 2020 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,24 +16,24 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-django-pglocks
Version: 1.0.4
Release: 0
Summary: PostgreSQL Advisory Locks for Django
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/Xof/django-pglocks
Source:
https://files.pythonhosted.org/packages/source/d/django-pglocks/django-pglocks-%{version}.tar.gz
BuildRequires: %{python_module Django}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module psycopg2}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Django
Requires: python-psycopg2
+Requires: python-six
BuildArch: noarch
%python_subpackages
@@ -62,10 +62,10 @@
%setup -q -n django-pglocks-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Here could be unittests, but we don't want to spool up a PostgreSQL server
@@ -74,5 +74,6 @@
%files %{python_files}
%doc CHANGES.txt
%license LICENSE.txt
-%{python_sitelib}/*
+%{python_sitelib}/django_pglocks
+%{python_sitelib}/django_pglocks-%{version}.dist-info