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 2024-07-29 21:53:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-specfile (Old)
and /work/SRC/openSUSE:Factory/.python-specfile.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-specfile"
Mon Jul 29 21:53:58 2024 rev:24 rq:1190302 version:0.32.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-specfile/python-specfile.changes
2024-07-25 12:08:35.069276488 +0200
+++
/work/SRC/openSUSE:Factory/.python-specfile.new.1882/python-specfile.changes
2024-07-29 21:55:08.267401216 +0200
@@ -1,0 +2,6 @@
+Mon Jul 29 16:25:38 UTC 2024 - Joshua Smith <[email protected]>
+
+- Update to 0.32.1:
+ * Fixed two issues related to condition parsing.
+
+-------------------------------------------------------------------
Old:
----
specfile-0.32.0.tar.gz
New:
----
specfile-0.32.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-specfile.spec ++++++
--- /var/tmp/diff_new_pack.Ok1Coy/_old 2024-07-29 21:55:08.827423895 +0200
+++ /var/tmp/diff_new_pack.Ok1Coy/_new 2024-07-29 21:55:08.827423895 +0200
@@ -17,7 +17,7 @@
Name: python-specfile
-Version: 0.32.0
+Version: 0.32.1
Release: 0
Summary: A library for parsing and manipulating RPM spec files
License: MIT
++++++ specfile-0.32.0.tar.gz -> specfile-0.32.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/specfile-0.32.0/.packit.yaml
new/specfile-0.32.1/.packit.yaml
--- old/specfile-0.32.0/.packit.yaml 2024-07-22 08:56:49.000000000 +0200
+++ new/specfile-0.32.1/.packit.yaml 2024-07-29 17:20:52.000000000 +0200
@@ -187,17 +187,24 @@
packages: [specfile]
packit_instances: ["stg"]
allowed_pr_authors: ["packit-stg", "packit"]
+ sidetag_group: packit-specfile-ogr-releases
+ dependents:
+ - packit
dist_git_branches:
- fedora-all
- epel-9
+ - job: koji_build
+ trigger: commit
+ packages: [specfile-epel8]
+ packit_instances: ["stg"]
+ allowed_pr_authors: ["packit-stg", "packit"]
+ dist_git_branches:
- epel-8
- job: bodhi_update
trigger: commit
- packages: [specfile]
+ packages: [specfile-epel8]
packit_instances: ["stg"]
allowed_builders: ["packit-stg", "packit"]
dist_git_branches:
- - fedora-branched # rawhide updates are created automatically
- - epel-9
- epel-8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/specfile-0.32.0/CHANGELOG.md
new/specfile-0.32.1/CHANGELOG.md
--- old/specfile-0.32.0/CHANGELOG.md 2024-07-22 08:56:49.000000000 +0200
+++ new/specfile-0.32.1/CHANGELOG.md 2024-07-29 17:20:52.000000000 +0200
@@ -1,3 +1,7 @@
+# 0.32.1
+
+- Fixed two issues related to condition parsing. (#405)
+
# 0.32.0
- It is now possible to bump a release in a manner similar to
`rpmdev-bumpspec` using `Specfile.bump_release()` method. (#399)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/specfile-0.32.0/PKG-INFO new/specfile-0.32.1/PKG-INFO
--- old/specfile-0.32.0/PKG-INFO 2024-07-22 08:56:55.903923500 +0200
+++ new/specfile-0.32.1/PKG-INFO 2024-07-29 17:21:03.178768200 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: specfile
-Version: 0.32.0
+Version: 0.32.1
Summary: A library for parsing and manipulating RPM spec files.
Home-page: https://github.com/packit/specfile
Author: Red Hat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/specfile-0.32.0/epel8/python-specfile.spec
new/specfile-0.32.1/epel8/python-specfile.spec
--- old/specfile-0.32.0/epel8/python-specfile.spec 2024-07-22
08:56:49.000000000 +0200
+++ new/specfile-0.32.1/epel8/python-specfile.spec 2024-07-29
17:20:52.000000000 +0200
@@ -4,7 +4,7 @@
in a minimal diff.}
-%global base_version 0.32.0
+%global base_version 0.32.1
#global prerelease rc1
%global package_version %{base_version}%{?prerelease:~%{prerelease}}
@@ -68,6 +68,9 @@
%changelog
+* Mon Jul 29 2024 Packit Team <[email protected]> - 0.32.1-1
+- New upstream release 0.32.1
+
* Mon Jul 22 2024 Packit Team <[email protected]> - 0.32.0-1
- New upstream release 0.32.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/specfile-0.32.0/fedora/python-specfile.spec
new/specfile-0.32.1/fedora/python-specfile.spec
--- old/specfile-0.32.0/fedora/python-specfile.spec 2024-07-22
08:56:49.000000000 +0200
+++ new/specfile-0.32.1/fedora/python-specfile.spec 2024-07-29
17:20:52.000000000 +0200
@@ -7,7 +7,7 @@
in a minimal diff.}
-%global base_version 0.32.0
+%global base_version 0.32.1
#global prerelease rc1
%global package_version %{base_version}%{?prerelease:~%{prerelease}}
@@ -77,6 +77,9 @@
%changelog
+* Mon Jul 29 2024 Packit Team <[email protected]> - 0.32.1-1
+- New upstream release 0.32.1
+
* Mon Jul 22 2024 Packit Team <[email protected]> - 0.32.0-1
- New upstream release 0.32.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/specfile-0.32.0/specfile/conditions.py
new/specfile-0.32.1/specfile/conditions.py
--- old/specfile-0.32.0/specfile/conditions.py 2024-07-22 08:56:49.000000000
+0200
+++ new/specfile-0.32.1/specfile/conditions.py 2024-07-29 17:20:52.000000000
+0200
@@ -134,21 +134,23 @@
branches.pop()
elif keyword.startswith("%el"):
result.append((line, branches[-2]))
- branches[-1] = not branches[-1]
+ if branches[-2]:
+ branches[-1] = not branches[-1]
else:
result.append((line, branches[-1]))
- expression = m.group("expr")
- if expression:
- if m.group("end") == "\\":
- expression += "\\"
- while expression.endswith("\\") and indexed_lines:
- _, line = indexed_lines.pop(0)
- result.append((line, branches[-1]))
- expression = expression[:-1] + line
+ if keyword.startswith("%if") or keyword.startswith("%elif"):
+ expression = m.group("expr")
+ if expression:
+ if m.group("end") == "\\":
+ expression += "\\"
+ while expression.endswith("\\") and indexed_lines:
+ _, line = indexed_lines.pop(0)
+ result.append((line, branches[-1]))
+ expression = expression[:-1] + line
branch = (
False
if not branches[-1]
- else resolve_expression(keyword, expression, context)
+ else resolve_expression(keyword, expression or "0", context)
)
if keyword.startswith("%el"):
branches[-1] = branch
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/specfile-0.32.0/specfile.egg-info/PKG-INFO
new/specfile-0.32.1/specfile.egg-info/PKG-INFO
--- old/specfile-0.32.0/specfile.egg-info/PKG-INFO 2024-07-22
08:56:55.000000000 +0200
+++ new/specfile-0.32.1/specfile.egg-info/PKG-INFO 2024-07-29
17:21:03.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: specfile
-Version: 0.32.0
+Version: 0.32.1
Summary: A library for parsing and manipulating RPM spec files.
Home-page: https://github.com/packit/specfile
Author: Red Hat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/specfile-0.32.0/tests/unit/test_conditions.py
new/specfile-0.32.1/tests/unit/test_conditions.py
--- old/specfile-0.32.0/tests/unit/test_conditions.py 2024-07-22
08:56:49.000000000 +0200
+++ new/specfile-0.32.1/tests/unit/test_conditions.py 2024-07-29
17:20:52.000000000 +0200
@@ -53,6 +53,8 @@
"BuildRequires: libX11-devel",
"%if 0%{?fedora}",
"Requires: desktop-file-utils",
+ "%else",
+ "Requires: gnome-desktop",
"%endif",
"BuildRequires: libXext-devel",
"%else",
@@ -69,6 +71,8 @@
False,
False,
False,
+ False,
+ False,
True,
True,
False,
@@ -82,6 +86,27 @@
else "1" if expr == "%{expr:0%{?fedora}}" else expr
),
),
+ (
+ [
+ "%if %{bcond_default_lto}",
+ "%bcond_without lto",
+ "%else",
+ "%bcond_with lto",
+ "%endif",
+ ],
+ [
+ True,
+ False,
+ True,
+ True,
+ True,
+ ],
+ lambda expr: (
+ ""
+ if expr == "%{bcond_default_lto}"
+ else "0" if expr == "%{expr:0}" else expr
+ ),
+ ),
],
)
def test_process_conditions(lines, validity, expand_func):