generated from smedev/Template-for-SMEServer-Core-upstream
* Thu Dec 05 2024 Jean-Philippe Pialasse <jpp@koozali.org> 0.1-2.sme
- SME 11 import
This commit is contained in:
parent
b082805e73
commit
8a18db7e2d
@ -1,12 +1,15 @@
|
|||||||
Name: python-rpmUtils
|
Name: python2-rpmUtils
|
||||||
Version: 0.1
|
Version: 0.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: python rpmUtils
|
Summary: python rpmUtils
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: none
|
URL: none
|
||||||
Source0: rpmUtils-%{version}.tar.bz2
|
Source0: rpmUtils-%{version}.tar.bz2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%{?python_provide:%python_provide python2-rpmUtils}
|
||||||
|
BuildRequires: python2-devel
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
%description
|
%description
|
||||||
taken from yum with slightly adaptions in Makefile
|
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"))
|
>>> rpmUtils.miscutils.compareEVR(("foo", "3.7.4a", "1"), ("foo", "3.7.4", "1"))
|
||||||
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
|
%prep
|
||||||
%autosetup -n rpmUtils-%{version}
|
%autosetup -n rpmUtils-%{version}
|
||||||
|
|
||||||
@ -41,11 +33,14 @@ Python 2 version.
|
|||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
%files -n python2-rpmUtils
|
%files
|
||||||
%{python2_sitelib}/rpmUtils/*
|
%{python2_sitelib}/rpmUtils/*
|
||||||
%dir %{python2_sitelib}/rpmUtils/
|
%dir %{python2_sitelib}/rpmUtils/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Dec 05 2019 josef radinger <cheese@nosuchhost.net> - 0.1-1
|
||||||
- initial version
|
- initial version
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user