Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-before-after for 
openSUSE:Factory checked in at 2025-05-14 17:02:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-before-after (Old)
 and      /work/SRC/openSUSE:Factory/.python-before-after.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-before-after"

Wed May 14 17:02:04 2025 rev:4 rq:1277396 version:1.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-before-after/python-before-after.changes  
2023-07-06 18:30:25.827779486 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-before-after.new.30101/python-before-after.changes
       2025-05-14 17:02:40.254916424 +0200
@@ -1,0 +2,8 @@
+Tue May 13 16:20:54 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+- Drop download links from the Patch: section
+  * https://patch-diff.githubusercontent.com blocks too many too fast
+    downloads from the same directory 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-before-after.spec ++++++
--- /var/tmp/diff_new_pack.bUdzkN/_old  2025-05-14 17:02:40.782938598 +0200
+++ /var/tmp/diff_new_pack.bUdzkN/_new  2025-05-14 17:02:40.786938766 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-before-after
 #
-# 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
@@ -26,9 +26,12 @@
 Source:         
https://files.pythonhosted.org/packages/source/b/before_after/before_after-%{version}.tar.gz
 # https://github.com/c-oreills/before_after/issues/8
 Source1:        
https://raw.githubusercontent.com/c-oreills/before_after/master/LICENSE
-Patch0:         
https://patch-diff.githubusercontent.com/raw/c-oreills/before_after/pull/6.patch#/pr_6.patch
-Patch1:         
https://patch-diff.githubusercontent.com/raw/c-oreills/before_after/pull/10.patch#/pr_10.patch
+# the 2nd patch download attempt is blocked - we can't have links in here
+Patch0:         pr_6.patch
+Patch1:         pr_10.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -45,10 +48,10 @@
 cp %{SOURCE1} .
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %{python_expand rm -r %{buildroot}%{$python_sitelib}/before_after/tests/
 %fdupes %{buildroot}%{$python_sitelib}
 }
@@ -59,5 +62,6 @@
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/before[-_]after
+%{python_sitelib}/before[-_]after-%{version}*-info
 

Reply via email to