diff --git a/python-apipkg.spec b/python-apipkg.spec index 710ce5a..871cf3a 100644 --- a/python-apipkg.spec +++ b/python-apipkg.spec @@ -1,13 +1,13 @@ Name: python-apipkg Version: 1.5 -Release: 1mamba +Release: 2mamba Summary: A namespace control and lazy-import mechanism for Python Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino URL: http://bitbucket.org/hpk42/apipkg -Source: https://pypi.python.org/packages/source/a/apipkg/apipkg-%{version}.tar.gz +Source: https://pypi.debian.net/apipkg/apipkg-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel @@ -20,6 +20,10 @@ BuildArch: noarch With apipkg you can control the exported namespace of a python package and greatly reduce the number of imports for your users. It is a small pure python module that works on virtually all Python versions. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n apipkg-%{version} @@ -41,11 +45,14 @@ sed -i "s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %doc CHANGELOG %changelog +* Mon Dec 21 2020 Silvan Calarco 1.5-2mamba +- rebuilt with -py3 subpackage + * Fri Sep 28 2018 Automatic Build System 1.5-1mamba - automatic version update by autodist