Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iniparse for openSUSE:Factory 
checked in at 2024-03-03 20:18:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-iniparse (Old)
 and      /work/SRC/openSUSE:Factory/.python-iniparse.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-iniparse"

Sun Mar  3 20:18:37 2024 rev:29 rq:1153651 version:0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-iniparse/python-iniparse.changes  
2023-12-20 21:00:41.535052699 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-iniparse.new.1770/python-iniparse.changes    
    2024-03-03 20:18:45.656614086 +0100
@@ -1,0 +2,8 @@
+Thu Feb 29 23:36:16 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to autosetup and pyproject macros.
+- No more greedy globs in %files.
+- Refresh iniparse-insert-after-commented-option.patch to apply with -p1
+- Drop now unneeded Buildrequires on python3-devel
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-iniparse.spec ++++++
--- /var/tmp/diff_new_pack.dpE0uV/_old  2024-03-03 20:18:47.060664880 +0100
+++ /var/tmp/diff_new_pack.dpE0uV/_new  2024-03-03 20:18:47.060664880 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-iniparse
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 # Copyright (c) 2017 Neal Gompa <[email protected]>.
 #
 # All modifications and additions to the file contributed by third parties
@@ -22,7 +22,6 @@
 Release:        0
 Summary:        Python Module for Accessing and Modifying Configuration Data 
in INI files
 License:        MIT
-Group:          Development/Libraries/Python
 URL:            https://github.com/candlepin/python-iniparse
 Source:         
https://files.pythonhosted.org/packages/source/i/iniparse/iniparse-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM: [email protected] -- Backport of 
https://code.google.com/p/iniparse/issues/detail?id=31
@@ -35,13 +34,12 @@
 Patch3:         python311-compat.patch
 # PATCH-FIX-UPSTREAM: python3117.patch gh#candlepin/python-iniparse#29
 Patch4:         python3117.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module testsuite}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-# python2-devel contains test module, even for noarch package
-BuildRequires:  %{python_module devel}
-# tests require testsuite modules
-BuildRequires:  %{python_module testsuite}
 BuildArch:      noarch
 %python_subpackages
 
@@ -52,21 +50,16 @@
 are preserved when data is updated), and is more convenient to use.
 
 %prep
-%setup -q -n iniparse-%{version}
-%patch0
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%autosetup -p1 -n iniparse-%{version}
 
 chmod 644 html/index.html
 sed -i "/.*test_multiprocessing.*/d" tests/__init__.py # NOTE(saschpe): 
Doesn't work and I'm lazy
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 rm -rf %{buildroot}%{_datadir}/doc/iniparse-%{version} # Remove unwanted stuff
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -77,5 +70,5 @@
 %license LICENSE
 %doc Changelog LICENSE-PSF README.md html/*
 %{python_sitelib}/iniparse
-%{python_sitelib}/iniparse-*.egg-info
+%{python_sitelib}/iniparse-%{version}.dist-info
 

++++++ iniparse-insert-after-commented-option.patch ++++++
--- /var/tmp/diff_new_pack.dpE0uV/_old  2024-03-03 20:18:47.080665605 +0100
+++ /var/tmp/diff_new_pack.dpE0uV/_new  2024-03-03 20:18:47.084665749 +0100
@@ -1,7 +1,7 @@
 Index: iniparse/ini.py
 ===================================================================
---- iniparse/ini.py.orig
-+++ iniparse/ini.py
+--- a/iniparse/ini.py.orig
++++ b/iniparse/ini.py
 @@ -240,8 +240,11 @@ class LineContainer(object):
              if isinstance(d, list): self.extend(d)
              else: self.add(d)
@@ -77,8 +77,8 @@
  
 Index: tests/test_ini.py
 ===================================================================
---- tests/test_ini.py.orig
-+++ tests/test_ini.py
+--- a/tests/test_ini.py.orig
++++ b/tests/test_ini.py
 @@ -404,6 +404,40 @@ another = baz
          ip.section.another = 'baz'
          self.assertEqual(str(ip), self.s6)

Reply via email to