From 86cd3274f28528d4083dd3c2e2fe8c1ef12751c3ab120871a1da5a943b4e188d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 5 Mar 2019 22:00:13 +0000 Subject: [PATCH 1/2] Accepting request 681855 from home:jayvdb:rpm - Switch to using pythonhosted.org for sdist - Update to v0.8 * Enable parsing versions in `BuildRequires:` and `Requires:` * Add support for conditional macros, e.g. `%{?test_macro:expression}` * Use flit for packaging OBS-URL: https://build.opensuse.org/request/show/681855 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-rpm-spec?expand=0&rev=5 --- python-python-rpm-spec.changes | 9 +++++++++ python-python-rpm-spec.spec | 8 ++++---- python-rpm-spec-0.7.tar.gz | 3 --- python-rpm-spec-0.8.tar.gz | 3 +++ 4 files changed, 16 insertions(+), 7 deletions(-) delete mode 100644 python-rpm-spec-0.7.tar.gz create mode 100644 python-rpm-spec-0.8.tar.gz diff --git a/python-python-rpm-spec.changes b/python-python-rpm-spec.changes index 0a0b563..3c08f41 100644 --- a/python-python-rpm-spec.changes +++ b/python-python-rpm-spec.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 5 12:52:41 UTC 2019 - John Vandenberg + +- Switch to using pythonhosted.org for sdist +- Update to v0.8 + * Enable parsing versions in `BuildRequires:` and `Requires:` + * Add support for conditional macros, e.g. `%{?test_macro:expression}` + * Use flit for packaging + ------------------------------------------------------------------- Sun May 27 15:17:54 UTC 2018 - toddrme2178@gmail.com diff --git a/python-python-rpm-spec.spec b/python-python-rpm-spec.spec index ba3299a..ea70e05 100644 --- a/python-python-rpm-spec.spec +++ b/python-python-rpm-spec.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-rpm-spec # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,20 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-rpm-spec -Version: 0.7 +Version: 0.8 Release: 0 Summary: Python module for parsing RPM spec files License: MIT Group: Development/Libraries/Python URL: https://github.com/bkircher/python-rpm-spec -Source0: https://github.com/bkircher/python-rpm-spec/archive/%{version}.tar.gz#/python-rpm-spec-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/r/python-rpm-spec/python-rpm-spec-%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes diff --git a/python-rpm-spec-0.7.tar.gz b/python-rpm-spec-0.7.tar.gz deleted file mode 100644 index a580e28..0000000 --- a/python-rpm-spec-0.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:21b249a9fd85d808fd0091c481758e009641594a246e6642bf708a77a9d3e40a -size 11894 diff --git a/python-rpm-spec-0.8.tar.gz b/python-rpm-spec-0.8.tar.gz new file mode 100644 index 0000000..6ab248b --- /dev/null +++ b/python-rpm-spec-0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9eca9aa22a0301f3065d6028efb88503bbd343789bb1d3143cf569db1524f696 +size 40634 From 0e7dcd543bfe8739561c0c5472db921572044d166e45d57c8690e20693afe4c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 6 Mar 2019 08:32:33 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-rpm-spec?expand=0&rev=6 --- python-python-rpm-spec.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-python-rpm-spec.spec b/python-python-rpm-spec.spec index ea70e05..d80337c 100644 --- a/python-python-rpm-spec.spec +++ b/python-python-rpm-spec.spec @@ -25,7 +25,7 @@ Summary: Python module for parsing RPM spec files License: MIT Group: Development/Libraries/Python URL: https://github.com/bkircher/python-rpm-spec -Source0: https://files.pythonhosted.org/packages/source/r/python-rpm-spec/python-rpm-spec-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/python-rpm-spec/python-rpm-spec-%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes