diff --git a/python-zope-component.spec b/python-zope-component.spec index 5b30aa0..f7ac3de 100644 --- a/python-zope-component.spec +++ b/python-zope-component.spec @@ -1,6 +1,6 @@ Name: python-zope-component Version: 5.0.0 -Release: 1mamba +Release: 2mamba Summary: Zope Component Architecture Group: System/Libraries Vendor: openmamba @@ -10,44 +10,18 @@ URL: https://docs.zope.org/zopetoolkit/ Source: https://pypi.debian.net/zope.component/zope.component-%{version}.tar.gz License: Zope Public License ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(setuptools) +BuildRequires: python3.7dist(zope.event) +BuildRequires: python3.7dist(zope.hookable) +BuildRequires: python3.7dist(zope.interface) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version -Requires: python-zope-deferredimport -Requires: python-zope-deprecation -Requires: python-zope-interface -Requires: python-zope-event -Requires: python-zope-hookable -Requires: python-zope-proxy %description %{summary}. -%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}. +%if 0%{?with_pyver} +%pyver_package %endif %prep @@ -65,12 +39,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/zope.component-%{version}-py*.egg-info +%{python_sitearch}/zope.component-%{version}-py*.egg-info/* %changelog +* Fri Apr 09 2021 Silvan Calarco 5.0.0-2mamba +- rebuilt with distdeps + * Sat Mar 20 2021 Automatic Build System 5.0.0-1mamba - automatic version update by autodist