forked from pool/python-python-rpm-spec
Accepting request 614042 from home:TheBlackCat:branches:devel:languages:python
- Fix tests on Leap 42.3 - spec file cleanups - spec file cleanups OBS-URL: https://build.opensuse.org/request/show/614042 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-rpm-spec?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
c1cc35a54f
commit
d973710871
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 27 15:17:54 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
- Fix tests on Leap 42.3
|
||||
- spec file cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 27 15:06:15 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
- spec file cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 26 00:08:01 UTC 2018 - kbabioch@suse.com
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python-rpm-spec
|
||||
# spec file for package python-python-rpm-spec
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%global realname python-rpm-spec
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-python-rpm-spec
|
||||
Version: 0.7
|
||||
@@ -26,11 +25,12 @@ 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#/%{realname}-%{version}.tar.gz
|
||||
Source0: https://github.com/bkircher/python-rpm-spec/archive/%{version}.tar.gz#/python-rpm-spec-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Conflicts: python-pyrpm
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -41,7 +41,7 @@ RPM is built. This module allows you to parse spec files and gives you simple
|
||||
access to various bits of information that is contained in the spec file.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{realname}-%{version}
|
||||
%setup -q -n python-rpm-spec-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -51,7 +51,7 @@ access to various bits of information that is contained in the spec file.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
pytest -vv tests
|
||||
%python_expand py.test-%{$python_bin_suffix} -vv tests
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG* README*
|
||||
|
Reference in New Issue
Block a user