14
0

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:
Karol Babioch
2018-06-05 06:01:45 +00:00
committed by Git OBS Bridge
parent c1cc35a54f
commit d973710871
2 changed files with 16 additions and 5 deletions

View File

@@ -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 Sat May 26 00:08:01 UTC 2018 - kbabioch@suse.com

View File

@@ -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. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
@@ -17,7 +17,6 @@
%define skip_python2 1 %define skip_python2 1
%global realname python-rpm-spec
%{?!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.7
@@ -26,11 +25,12 @@ 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#/%{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 pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Conflicts: python-pyrpm
BuildArch: noarch BuildArch: noarch
%python_subpackages %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. access to various bits of information that is contained in the spec file.
%prep %prep
%setup -q -n %{realname}-%{version} %setup -q -n python-rpm-spec-%{version}
%build %build
%python_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} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
pytest -vv tests %python_expand py.test-%{$python_bin_suffix} -vv tests
%files %{python_files} %files %{python_files}
%doc CHANGELOG* README* %doc CHANGELOG* README*