add requirements in py3* packages [release 4.6.1-2mamba;Sat Apr 11 2020]
This commit is contained in:
parent
05d22d269c
commit
1d87daf53d
@ -1,6 +1,6 @@
|
|||||||
Name: python-zope-component
|
Name: python-zope-component
|
||||||
Version: 4.6.1
|
Version: 4.6.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Zope Component Architecture
|
Summary: Zope Component Architecture
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -25,8 +25,31 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%if 0%{?with_pyver}
|
%if "%?with_pyver"
|
||||||
%pyver_package
|
%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-zope-deferredimport-%{?pyappend}
|
||||||
|
Requires: python-zope-deprecation-%{?pyappend}
|
||||||
|
Requires: python-zope-interface-%{?pyappend}
|
||||||
|
Requires: python-zope-event-%{?pyappend}
|
||||||
|
Requires: python-zope-hookable-%{?pyappend}
|
||||||
|
Requires: python-zope-proxy-%{?pyappend}
|
||||||
|
%py_requires
|
||||||
|
|
||||||
|
%description py%{pyver}
|
||||||
|
%{summary}.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -50,6 +73,9 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.1-2mamba
|
||||||
|
- add requirements in py3* packages
|
||||||
|
|
||||||
* Mon Mar 23 2020 Automatic Build System <autodist@mambasoft.it> 4.6.1-1mamba
|
* Mon Mar 23 2020 Automatic Build System <autodist@mambasoft.it> 4.6.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user