Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-rest-knox for
openSUSE:Factory checked in at 2025-06-03 17:53:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-rest-knox (Old)
and /work/SRC/openSUSE:Factory/.python-django-rest-knox.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-rest-knox"
Tue Jun 3 17:53:18 2025 rev:11 rq:1282137 version:5.0.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-rest-knox/python-django-rest-knox.changes
2024-10-23 21:11:00.904535273 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-rest-knox.new.16005/python-django-rest-knox.changes
2025-06-03 17:54:09.867160628 +0200
@@ -1,0 +2,6 @@
+Tue Jun 3 07:02:04 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-rest-knox.spec ++++++
--- /var/tmp/diff_new_pack.CcpGBJ/_old 2025-06-03 17:54:10.347180536 +0200
+++ /var/tmp/diff_new_pack.CcpGBJ/_new 2025-06-03 17:54:10.347180536 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-rest-knox
#
-# Copyright (c) 2024 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,8 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-django-rest-knox
Version: 5.0.2
@@ -26,6 +24,7 @@
License: MIT
URL: https://github.com/James1345/django-rest-knox
Source:
https://github.com/James1345/django-rest-knox/archive/%{version}.tar.gz#/django-rest-knox-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -55,10 +54,10 @@
sed -i "s/'pyOpenSSL'/'cryptography'/" setup.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -68,5 +67,6 @@
%files %{python_files}
%doc CHANGELOG.md README.md
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/knox
+%{python_sitelib}/django_rest_knox-%{version}.dist-info