Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-leather for openSUSE:Factory 
checked in at 2023-06-04 00:12:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-leather (Old)
 and      /work/SRC/openSUSE:Factory/.python-leather.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-leather"

Sun Jun  4 00:12:52 2023 rev:6 rq:1090560 version:0.3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-leather/python-leather.changes    
2022-01-13 23:21:32.412051360 +0100
+++ /work/SRC/openSUSE:Factory/.python-leather.new.15902/python-leather.changes 
2023-06-04 00:13:04.825705426 +0200
@@ -1,0 +2,8 @@
+Fri Jun  2 10:08:23 UTC 2023 - pgaj...@suse.com
+
+- do not require six
+- added patches
+  fix 
https://github.com/wireservice/leather/commit/9238eb5f4603496b61fc1c1dabad805ca5380b71
+  + python-leather-no-python2.patch
+
+-------------------------------------------------------------------

New:
----
  python-leather-no-python2.patch

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

Other differences:
------------------
++++++ python-leather.spec ++++++
--- /var/tmp/diff_new_pack.ILBi9b/_old  2023-06-04 00:13:05.821711380 +0200
+++ /var/tmp/diff_new_pack.ILBi9b/_new  2023-06-04 00:13:05.825711404 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-leather
 #
-# 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,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-leather
 Version:        0.3.4
 Release:        0
@@ -25,13 +24,13 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/wireservice/leather
 Source:         
https://github.com/wireservice/leather/archive/%{version}.tar.gz#/leather-0.3.4-gh.tar.gz
+# 
https://github.com/wireservice/leather/commit/9238eb5f4603496b61fc1c1dabad805ca5380b71
+Patch0:         python-leather-no-python2.patch
 BuildRequires:  %{python_module lxml >= 3.6.0}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six >= 1.6.1}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-six >= 1.6.1
 BuildArch:      noarch
 %python_subpackages
 
@@ -40,12 +39,10 @@
 and don't care if they're perfect.
 
 %prep
-%setup -q -n leather-%{version}
-find leather -name '*.py' -exec sed -i -e '/^#!\//, 1d' {} \;
-# this testcase is in git but does not work
-rm test.py
+%autosetup -p1 -n leather-%{version}
 
 %build
+find leather -name '*.py' -exec sed -i -e '/^#!\//, 1d' {} \;
 %python_build
 
 %install
@@ -53,6 +50,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+# this testcase is in git but does not work
+rm test.py
 %pytest
 
 %files %{python_files}

++++++ python-leather-no-python2.patch ++++++
++++ 1069 lines (skipped)

Reply via email to