* Thu Dec 05 2024 Jean-Philippe Pialasse <jpp@koozali.org> 0.1-2.sme

- SME 11 import
This commit is contained in:
Jean-Philippe Pialasse 2024-12-05 22:03:39 -05:00
parent b082805e73
commit 8a18db7e2d

View File

@ -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 <jpp@koozali.org> 0.1-2.sme
- SME 11 import
* Thu Dec 05 2019 josef radinger <cheese@nosuchhost.net> - 0.1-1
- initial version