Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-django-contrib-comments for openSUSE:Factory checked in at 2024-03-13 22:21:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-contrib-comments (Old) and /work/SRC/openSUSE:Factory/.python-django-contrib-comments.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-contrib-comments" Wed Mar 13 22:21:02 2024 rev:7 rq:1157623 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-contrib-comments/python-django-contrib-comments.changes 2023-01-04 17:54:00.662679657 +0100 +++ /work/SRC/openSUSE:Factory/.python-django-contrib-comments.new.1770/python-django-contrib-comments.changes 2024-03-13 22:22:21.708643109 +0100 @@ -1,0 +2,10 @@ +Wed Mar 13 13:53:02 UTC 2024 - Matej Cepl <mc...@cepl.eu> + +- Clean up the SPEC file + +------------------------------------------------------------------- +Tue Mar 12 11:12:33 UTC 2024 - Max Lin <m...@suse.com> + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-contrib-comments.spec ++++++ --- /var/tmp/diff_new_pack.4GmPv1/_old 2024-03-13 22:22:22.368667470 +0100 +++ /var/tmp/diff_new_pack.4GmPv1/_new 2024-03-13 22:22:22.372667617 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-django-contrib-comments # -# 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,9 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 %define skip_python36 1 +%{?sle15_python_module_pythons} Name: python-django-contrib-comments Version: 2.2.0 Release: 0 @@ -26,7 +25,9 @@ License: BSD-3-Clause URL: https://github.com/django/django-contrib-comments Source: https://files.pythonhosted.org/packages/source/d/django-contrib-comments/django-contrib-comments-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Django >= 2.2 @@ -43,13 +44,13 @@ This is the same framework that was removed from Django 1.6. %prep -%setup -q -n django-contrib-comments-%{version} +%autosetup -p1 -n django-contrib-comments-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -58,5 +59,6 @@ %files %{python_files} %doc README.rst HISTORY.rst %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/django_comments +%{python_sitelib}/django_contrib_comments-%{version}*-info