From b65f085ce87c0d82633a203bebe6e23732016780 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:03:48 +0100 Subject: [PATCH] added -py36 package [release 2.39-2mamba;Wed Jul 10 2019] --- python-distutils-extra.spec | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/python-distutils-extra.spec b/python-distutils-extra.spec index d4ef9a3..053a170 100644 --- a/python-distutils-extra.spec +++ b/python-distutils-extra.spec @@ -1,6 +1,6 @@ Name: python-distutils-extra Version: 2.39 -Release: 1mamba +Release: 2mamba Summary: Add support for i10n, documentation and icons to distutils Group: System/Libraries/Python Vendor: openmamba @@ -13,34 +13,42 @@ License: GPL BuildRequires: libpython-devel ## AUTOBUILDREQ-END BuildRequires: python-setuptools -Requires: python27 >= %python27_version +Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Add support for i10n, documentation and icons to distutils. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q %build -%{__python27} setup.py build +%{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python27} setup.py install \ +%{__python} setup.py install \ --root="%{buildroot}" \ - --install-headers=%{_includedir}/python%{python27_version} \ - --install-lib=%{python27_sitearch} + --install-headers=%{python_inc} \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%{python27_sitearch}/DistUtilsExtra -%{python27_sitearch}/python_distutils_extra-%{version}-py*.egg-info %changelog +* Wed Jul 10 2019 Silvan Calarco 2.39-2mamba +- added -py36 package + * Mon Feb 08 2016 Automatic Build System 2.39-1mamba - automatic update by autodist