diff --git a/python-python-rpm-spec.changes b/python-python-rpm-spec.changes index 19827ed..0a0b563 100644 --- a/python-python-rpm-spec.changes +++ b/python-python-rpm-spec.changes @@ -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 diff --git a/python-python-rpm-spec.spec b/python-python-rpm-spec.spec index 8add234..ba3299a 100644 --- a/python-python-rpm-spec.spec +++ b/python-python-rpm-spec.spec @@ -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*