forked from pool/python-python-rpm-spec
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
This commit is contained in:
committed by
Git OBS Bridge
parent
d973710871
commit
86cd3274f2
@@ -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
|
||||
|
Reference in New Issue
Block a user