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 Name: python-distutils-extra
Version: 2.39 Version: 2.39
Release: 1mamba Release: 2mamba
Summary: Add support for i10n, documentation and icons to distutils Summary: Add support for i10n, documentation and icons to distutils
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
@ -13,34 +13,42 @@ License: GPL
BuildRequires: libpython-devel BuildRequires: libpython-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python-setuptools BuildRequires: python-setuptools
Requires: python27 >= %python27_version Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Add support for i10n, documentation and icons to distutils. Add support for i10n, documentation and icons to distutils.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep %prep
%setup -q %setup -q
%build %build
%{__python27} setup.py build %{__python} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python27} setup.py install \ %{__python} setup.py install \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python%{python27_version} \ --install-headers=%{python_inc} \
--install-lib=%{python27_sitearch} --install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{python27_sitearch}/DistUtilsExtra
%{python27_sitearch}/python_distutils_extra-%{version}-py*.egg-info
%changelog %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 * Mon Feb 08 2016 Automatic Build System <autodist@mambasoft.it> 2.39-1mamba
- automatic update by autodist - automatic update by autodist