add requirements in py3* packages [release 4.6.1-2mamba;Sat Apr 11 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 16:56:37 +01:00
parent 05d22d269c
commit 1d87daf53d

View File

@ -1,6 +1,6 @@
Name: python-zope-component
Version: 4.6.1
Release: 1mamba
Release: 2mamba
Summary: Zope Component Architecture
Group: System/Libraries
Vendor: openmamba
@ -25,8 +25,31 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if 0%{?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-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
%prep
@ -50,6 +73,9 @@ CFLAGS="%{optflags}" %{__python} setup.py build
%defattr(-,root,root)
%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
- automatic version update by autodist