added -py36 package [release 2.39-2mamba;Wed Jul 10 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 11:03:48 +01:00
parent 405e7822b0
commit b65f085ce8

View File

@ -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 <silvan.calarco@mambasoft.it> 2.39-2mamba
- added -py36 package
* Mon Feb 08 2016 Automatic Build System <autodist@mambasoft.it> 2.39-1mamba
- automatic update by autodist