14
0

Accepting request 682031 from devel:languages:python

- 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/682031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-rpm-spec?expand=0&rev=3
This commit is contained in:
2019-03-12 08:52:22 +00:00
committed by Git OBS Bridge
4 changed files with 16 additions and 7 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Mar 5 12:52:41 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- 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 Sun May 27 15:17:54 UTC 2018 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-rpm-spec # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-rpm-spec Name: python-python-rpm-spec
Version: 0.7 Version: 0.8
Release: 0 Release: 0
Summary: Python module for parsing RPM spec files Summary: Python module for parsing RPM spec files
License: MIT License: MIT
Group: Development/Libraries/Python Group: Development/Libraries/Python
URL: https://github.com/bkircher/python-rpm-spec 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/p/python-rpm-spec/python-rpm-spec-%{version}.tar.gz
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21b249a9fd85d808fd0091c481758e009641594a246e6642bf708a77a9d3e40a
size 11894

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9eca9aa22a0301f3065d6028efb88503bbd343789bb1d3143cf569db1524f696
size 40634