From 547096a5613c6c8399b7a29b47eb3b0d2e3ced328f9057cdee6482197e954f97 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 23 Jan 2023 22:00:59 +0000 Subject: [PATCH] Accepting request 1060457 from home:david.anes:branches:devel:languages:python - Update to version 0.13.1: * Fixed a bug in section parsing that caused sections to be ignored when there were macro definitions spread across the spec file and not cumulated at the top. - Update to version 0.13.0: * Added Section.options attribute for convenient manipulation of section options. * specfile now supports single-line sections where section content is represented by a macro starting with a newline. * Added evr argument to Specfile.add_changelog_entry(). This allows adding a changelog entry with an EVR value that's different from the current specfile's value. This makes it easier to reconstruct a specfile's %changelog based on another source using the higher level interface. OBS-URL: https://build.opensuse.org/request/show/1060457 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=11 --- python-specfile.changes | 19 +++++++++++++++++++ python-specfile.spec | 2 +- specfile-0.12.0.tar.gz | 3 --- specfile-0.13.1.tar.gz | 3 +++ 4 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 specfile-0.12.0.tar.gz create mode 100644 specfile-0.13.1.tar.gz diff --git a/python-specfile.changes b/python-specfile.changes index b39d35a..40af481 100644 --- a/python-specfile.changes +++ b/python-specfile.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Jan 23 15:38:33 UTC 2023 - David Anes + +- Update to version 0.13.1: + * Fixed a bug in section parsing that caused sections to be + ignored when there were macro definitions spread across the spec + file and not cumulated at the top. + +- Update to version 0.13.0: + * Added Section.options attribute for convenient manipulation of + section options. + * specfile now supports single-line sections where section content + is represented by a macro starting with a newline. + * Added evr argument to Specfile.add_changelog_entry(). This + allows adding a changelog entry with an EVR value that's + different from the current specfile's value. This makes it + easier to reconstruct a specfile's %changelog based on another + source using the higher level interface. + ------------------------------------------------------------------- Thu Jan 12 10:27:28 UTC 2023 - David Anes diff --git a/python-specfile.spec b/python-specfile.spec index 930a20b..e58e62b 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -18,7 +18,7 @@ %define skip_python38 1 Name: python-specfile -Version: 0.12.0 +Version: 0.13.1 Release: 0 Summary: A library for parsing and manipulating RPM spec files License: MIT diff --git a/specfile-0.12.0.tar.gz b/specfile-0.12.0.tar.gz deleted file mode 100644 index 4c698d3..0000000 --- a/specfile-0.12.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ac63b3d5ec74f02895b83fbce1695fb1d7fac1b46b63998a6259d1da9d4fab8b -size 79355 diff --git a/specfile-0.13.1.tar.gz b/specfile-0.13.1.tar.gz new file mode 100644 index 0000000..46621f9 --- /dev/null +++ b/specfile-0.13.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ff9036534112444efe6b6df52eafb074248d5d5b857c8a4528695e75a77f888 +size 81357