Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-djet for openSUSE:Factory checked in at 2025-02-06 22:08:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-djet (Old) and /work/SRC/openSUSE:Factory/.python-djet.new.2316 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-djet" Thu Feb 6 22:08:47 2025 rev:7 rq:1243579 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-djet/python-djet.changes 2024-03-21 17:01:37.867051794 +0100 +++ /work/SRC/openSUSE:Factory/.python-djet.new.2316/python-djet.changes 2025-02-06 22:10:08.261767794 +0100 @@ -1,0 +2,7 @@ +Thu Feb 6 08:34:34 UTC 2025 - Steve Kowalik <[email protected]> + +- Switch to pyproject macros. +- No more greedy globs in %files. +- Drop unneeded Requires on six. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-djet.spec ++++++ --- /var/tmp/diff_new_pack.kaDSlI/_old 2025-02-06 22:10:10.949878557 +0100 +++ /var/tmp/diff_new_pack.kaDSlI/_new 2025-02-06 22:10:10.949878557 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-djet # -# Copyright (c) 2022 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-djet Version: 0.3.0 @@ -31,13 +29,13 @@ BuildRequires: %{python_module Django} BuildRequires: %{python_module Pillow} BuildRequires: %{python_module djangorestframework} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-django} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Django Requires: python-Pillow -Requires: python-six Suggests: python-djangorestframework BuildArch: noarch %python_subpackages @@ -49,10 +47,10 @@ %autosetup -p1 -n djet-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -66,5 +64,6 @@ %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/djet +%{python_sitelib}/djet-%{version}.dist-info
