rebuilt without python 2.7 [release 6.0.0-2mamba;Thu Dec 31 2020]
This commit is contained in:
parent
1f1ab62e8a
commit
dc95edb8dc
@ -1,6 +1,6 @@
|
||||
Name: python-zope-schema
|
||||
Version: 6.0.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: zope.interface extension for defining data schemas
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
@ -10,7 +10,7 @@ URL: http://pypi.python.org/pypi/zope.schema
|
||||
Source: https://pypi.debian.net/zope.schema/zope.schema-%{version}.tar.gz
|
||||
License: Zope Public License
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: python >= %python_version
|
||||
Requires: python-zope-interface
|
||||
@ -22,6 +22,30 @@ BuildArch: noarch
|
||||
%description
|
||||
zope.interface extension for defining data schemas.
|
||||
|
||||
%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-interface-%{?pyappend}
|
||||
Requires: python-zope-event-%{?pyappend}
|
||||
Requires: python-six-%{?pyappend}
|
||||
%py_requires
|
||||
|
||||
%description py%{pyver}
|
||||
%{summary}.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n zope.schema-%{version}
|
||||
|
||||
@ -46,13 +70,14 @@ sed -i "\,/tests/,d" %{name}.filelist
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -f %{name}.filelist
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%doc COPYRIGHT.txt LICENSE.txt
|
||||
#%doc CHANGES.txt README.txt
|
||||
#%doc src/zope/schema/*.txt
|
||||
|
||||
%changelog
|
||||
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.0-2mamba
|
||||
- rebuilt without python 2.7
|
||||
|
||||
* Tue Mar 31 2020 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user