provide python3*dist(six) [release 1.15.0-2mamba;Mon Dec 21 2020]
This commit is contained in:
parent
c9c0bca969
commit
9e5a2a290c
@ -1,6 +1,6 @@
|
||||
Name: python-six
|
||||
Version: 1.15.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Python 2 and 3 compatibility utilities
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -21,8 +21,29 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Six is a Python 2 and 3 compatibility library.
|
||||
It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions.
|
||||
|
||||
%if "%{?with_pyver}"
|
||||
%pyver_package
|
||||
%if "%?with_pyver"
|
||||
%define pyver %{with_pyver}
|
||||
%define pyappend py%{with_pyver}
|
||||
%define __python %(rpm --eval %{__python%{with_pyver}})
|
||||
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
||||
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
||||
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
||||
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
||||
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
||||
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
||||
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
||||
|
||||
%package py%{pyver}
|
||||
Group: System/Libraries/Python
|
||||
Summary: %{summary}.
|
||||
Requires: python-apipkg-%{?pyappend}
|
||||
Provides: python%{python_version}dist(six)
|
||||
Provides: python3dist(six)
|
||||
Requires: udev
|
||||
%py_requires
|
||||
|
||||
%description py%{pyver}
|
||||
%{summary}.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
@ -44,9 +65,13 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%doc LICENSE documentation/index.rst
|
||||
|
||||
%changelog
|
||||
* Mon Dec 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.15.0-2mamba
|
||||
- provide python3*dist(six)
|
||||
|
||||
* Mon May 25 2020 Automatic Build System <autodist@mambasoft.it> 1.15.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user