diff --git a/python2-rpmUtils.spec b/python2-rpmUtils.spec index ba3d418..e45b0c0 100644 --- a/python2-rpmUtils.spec +++ b/python2-rpmUtils.spec @@ -1,12 +1,15 @@ -Name: python-rpmUtils +Name: python2-rpmUtils Version: 0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: python rpmUtils License: GPLv2+ URL: none Source0: rpmUtils-%{version}.tar.bz2 BuildArch: noarch +%{?python_provide:%python_provide python2-rpmUtils} +BuildRequires: python2-devel +BuildRequires: make %description taken from yum with slightly adaptions in Makefile @@ -21,17 +24,6 @@ import rpmUtils.miscutils >>> rpmUtils.miscutils.compareEVR(("foo", "3.7.4a", "1"), ("foo", "3.7.4", "1")) 1 -%package -n python2-rpmUtils -Summary: %{summary} -%{?python_provide:%python_provide python2-rpmUtils} -BuildRequires: python2-devel -BuildRequires: make - -%description -n python2-rpmUtils -%{description} - -Python 2 version. - %prep %autosetup -n rpmUtils-%{version} @@ -41,11 +33,14 @@ Python 2 version. %install make DESTDIR=$RPM_BUILD_ROOT install -%files -n python2-rpmUtils +%files %{python2_sitelib}/rpmUtils/* %dir %{python2_sitelib}/rpmUtils/ %changelog +* Thu Dec 05 2024 Jean-Philippe Pialasse 0.1-2.sme +- SME 11 import + * Thu Dec 05 2019 josef radinger - 0.1-1 - initial version