From 569e18f0694d19bd24f4e98f816ee09ced19a421e43d377c98bd62bf8cd7c99b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 9 Jul 2024 13:28:14 +0000 Subject: [PATCH] Accepting request 1185798 from home:smolsheep:upgrades Depends on SR#1185797 to build properly https://build.opensuse.org/request/show/1185797 - Add typing_extensions to BuildRequires - Remove typing_extensions from Requires -- gh#packit/specfile#179 - Update to 0.31.0: * Value of a Tag no longer includes trailing whitespace (if any) * specfile now tries to expand macros before processing conditions to be able to resolve conditional expressions defined by macros, for example OpenSUSE Tumbleweed defines %ifpython3 macro as %if "%{python_flavor}" == "python3" - Updates from 0.30.0: * Fixed an exception that occured when accessing the Specfile.has_autochangelog property while having unparseable lines (e.g. lines ending with unescaped %) in %changelog OBS-URL: https://build.opensuse.org/request/show/1185798 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=44 --- python-specfile.changes | 16 ++++++++++++++++ python-specfile.spec | 4 ++-- specfile-0.29.0.tar.gz | 3 --- specfile-0.31.0.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 5 deletions(-) delete mode 100644 specfile-0.29.0.tar.gz create mode 100644 specfile-0.31.0.tar.gz diff --git a/python-specfile.changes b/python-specfile.changes index d4c9341..379f8e5 100644 --- a/python-specfile.changes +++ b/python-specfile.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Jul 5 13:06:52 UTC 2024 - Joshua Smith + +- Add typing_extensions to BuildRequires +- Remove typing_extensions from Requires -- gh#packit/specfile#179 +- Update to 0.31.0: + * Value of a Tag no longer includes trailing whitespace (if any) + * specfile now tries to expand macros before processing + conditions to be able to resolve conditional expressions + defined by macros, for example OpenSUSE Tumbleweed defines + %ifpython3 macro as %if "%{python_flavor}" == "python3" +- Updates from 0.30.0: + * Fixed an exception that occured when accessing the + Specfile.has_autochangelog property while having unparseable + lines (e.g. lines ending with unescaped %) in %changelog + ------------------------------------------------------------------- Mon Jun 10 08:54:27 UTC 2024 - Dirk Müller diff --git a/python-specfile.spec b/python-specfile.spec index 16ce848..e6078c2 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -17,7 +17,7 @@ Name: python-specfile -Version: 0.29.0 +Version: 0.31.0 Release: 0 Summary: A library for parsing and manipulating RPM spec files License: MIT @@ -30,12 +30,12 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-rpm -Requires: python-typing_extensions BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module flexmock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module rpm} +BuildRequires: %{python_module typing_extensions} BuildRequires: git-core # /SECTION %python_subpackages diff --git a/specfile-0.29.0.tar.gz b/specfile-0.29.0.tar.gz deleted file mode 100644 index e4dec92..0000000 --- a/specfile-0.29.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f3cb4f40759bc860911c81769ba694738633de6099e6fde8391ae607a122c148 -size 104414 diff --git a/specfile-0.31.0.tar.gz b/specfile-0.31.0.tar.gz new file mode 100644 index 0000000..f1bb75a --- /dev/null +++ b/specfile-0.31.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:405cab9e9caafac4364f9a4c03b5beaf47b73edcd3749b66760d89eb03c2efc1 +size 105187