Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-peewee for openSUSE:Factory checked in at 2024-01-10 21:52:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-peewee (Old) and /work/SRC/openSUSE:Factory/.python-peewee.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-peewee" Wed Jan 10 21:52:26 2024 rev:25 rq:1137846 version:3.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes 2023-11-07 21:29:29.354430813 +0100 +++ /work/SRC/openSUSE:Factory/.python-peewee.new.21961/python-peewee.changes 2024-01-10 21:52:44.889168373 +0100 @@ -1,0 +2,7 @@ +Tue Jan 9 15:18:54 UTC 2024 - Antonio Larrosa <[email protected]> + +- Remove unneeded BuildRequires PyMySQL and psycopg2. I checked + that the number of tests that are run are the same. +- Fix shebangs and other rpmlint errors/warnings + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-peewee.spec ++++++ --- /var/tmp/diff_new_pack.zGvIvB/_old 2024-01-10 21:52:45.297183190 +0100 +++ /var/tmp/diff_new_pack.zGvIvB/_new 2024-01-10 21:52:45.297183190 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-peewee # -# 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 @@ -26,13 +26,11 @@ Source: https://github.com/coleifer/peewee/archive/refs/tags/%{version}.tar.gz#/peewee-%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module Flask} -BuildRequires: %{python_module PyMySQL} %if 0%{?suse_version} > 1500 BuildRequires: %{python_module apsw} %endif BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} -BuildRequires: %{python_module psycopg2} BuildRequires: %{python_module pytest} BuildRequires: %{python_module wheel} BuildRequires: %{pythons} @@ -57,7 +55,11 @@ %install %pyproject_install %python_clone -a %{buildroot}%{_bindir}/pwiz.py -%python_expand %fdupes %{buildroot}%{$python_sitearch} +%{python_expand %fdupes %{buildroot}%{$python_sitearch} + +# Remove shebang from non-executable files +sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.py +} %check %pytest_arch tests @@ -71,7 +73,11 @@ %files %{python_files} %license LICENSE %doc CHANGELOG.md README.rst TODO.rst -%{_bindir}/pwiz.py-%{python_bin_suffix} %python_alternative %{_bindir}/pwiz.py -%{python_sitearch}/* +%{python_sitearch}/peewee-%{version}*-info +%{python_sitearch}/peewee.py +%{python_sitearch}/pwiz.py +%{python_sitearch}/playhouse +%pycache_only %{python_sitearch}/__pycache__/peewee.*.pyc +%pycache_only %{python_sitearch}/__pycache__/pwiz.*.pyc
