Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pycodestyle for 
openSUSE:Factory checked in at 2023-01-16 17:59:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycodestyle (Old)
 and      /work/SRC/openSUSE:Factory/.python-pycodestyle.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pycodestyle"

Mon Jan 16 17:59:55 2023 rev:16 rq:1058713 version:2.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycodestyle/python-pycodestyle.changes    
2022-12-16 17:51:51.368085171 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pycodestyle.new.32243/python-pycodestyle.changes
 2023-01-16 18:02:33.892041782 +0100
@@ -1,0 +2,5 @@
+Fri Jan 13 13:46:58 UTC 2023 - Johannes Kastl <ka...@b1-systems.de>
+
+- cleanup spec, trim %files section and fix %python_clone command
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pycodestyle.spec ++++++
--- /var/tmp/diff_new_pack.SXcs7X/_old  2023-01-16 18:02:34.396044470 +0100
+++ /var/tmp/diff_new_pack.SXcs7X/_new  2023-01-16 18:02:34.404044513 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycodestyle
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 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,7 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
-%global skip_python2 1
+%define skip_python2 1
 Name:           python-pycodestyle
 Version:        2.10.0
 Release:        0
@@ -54,8 +53,7 @@
 
 %install
 %python_install
-%python_clone %{buildroot}%{_bindir}/pycodestyle
-ln -sf pycodestyle-%{python3_bin_suffix} %{buildroot}%{_bindir}/pycodestyle
+%python_clone -a %{buildroot}%{_bindir}/pycodestyle
 %python_expand %fdupes %{buildroot}/%{$python_sitelib}
 
 %post
@@ -71,9 +69,8 @@
 %license LICENSE
 %doc README.rst
 %python_alternative %{_bindir}/pycodestyle
-%{_bindir}/pycodestyle-%{python_bin_suffix}
 %{python_sitelib}/pycodestyle.py*
 %pycache_only %{python_sitelib}/__pycache__/pycodestyle.*.py*
-%{python_sitelib}/pycodestyle-%{version}-*.egg-info
+%{python_sitelib}/pycodestyle-%{version}*-info
 
 %changelog

Reply via email to