Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-specfile for openSUSE:Factory
checked in at 2023-01-12 22:45:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-specfile (Old)
and /work/SRC/openSUSE:Factory/.python-specfile.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-specfile"
Thu Jan 12 22:45:12 2023 rev:5 rq:1057972 version:0.12.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-specfile/python-specfile.changes
2022-12-15 19:26:15.996418642 +0100
+++
/work/SRC/openSUSE:Factory/.python-specfile.new.32243/python-specfile.changes
2023-01-12 22:45:21.365222917 +0100
@@ -1,0 +2,15 @@
+Thu Jan 12 10:27:28 UTC 2023 - David Anes <[email protected]>
+
+- Remove patch (already upstream):
+ * python-specfile-improve-setup-cfg.patch
+
+- Update to version 0.12.0:
+ * All classes including `Specfile` itself can now be copied using
+ the standard `copy()` and `deepcopy()` functions from `copy`
+ module.
+ * `Section.name` attribute has been renamed to a more fitting
+ `Section.id`.
+ * `setup.cfg` now uses `license_files` instead of deprecated
+ `license_file`.
+
+-------------------------------------------------------------------
@@ -10 +25 @@
- * Fixed context managers being shared between Specfile instances. 1q
+ * Fixed context managers being shared between Specfile instances.
Old:
----
python-specfile-improve-setup-cfg.patch
specfile-0.11.1.tar.gz
New:
----
specfile-0.12.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-specfile.spec ++++++
--- /var/tmp/diff_new_pack.XqPhj6/_old 2023-01-12 22:45:24.237239039 +0100
+++ /var/tmp/diff_new_pack.XqPhj6/_new 2023-01-12 22:45:24.257239151 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-specfile
#
-# 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
@@ -18,15 +18,17 @@
%define skip_python38 1
Name: python-specfile
-Version: 0.11.1
+Version: 0.12.0
Release: 0
Summary: A library for parsing and manipulating RPM spec files
License: MIT
URL: https://github.com/packit/specfile
Source:
https://files.pythonhosted.org/packages/source/s/specfile/specfile-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm_git_archive}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module rpm}
@@ -38,10 +40,6 @@
Requires: python-rpm
Requires: python-typing-extensions
-# PATCH-SUSE: some improvements that are still pending upstream
-# https://github.com/packit/specfile/pull/162
-Patch0: python-specfile-improve-setup-cfg.patch
-
BuildArch: noarch
%python_subpackages
@@ -55,7 +53,7 @@
sed -i '/rpm-py-installer/d' setup.cfg
%build
-%python_build
+%pyproject_wheel
%check
# Following tests fail:
@@ -64,7 +62,7 @@
%pytest -k "not (test_update_tag or test_macros_reinit)"
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
++++++ specfile-0.11.1.tar.gz -> specfile-0.12.0.tar.gz ++++++
++++ 2417 lines of diff (skipped)