diff --git a/python-configobj.spec b/python-configobj.spec index b0e70d8..5be2da0 100644 --- a/python-configobj.spec +++ b/python-configobj.spec @@ -1,13 +1,13 @@ Name: python-configobj Version: 5.0.6 -Release: 1mamba +Release: 2mamba Summary: Config file reading, writing, and validation. Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.voidspace.org.uk/python/configobj.html -Source: https://pypi.python.org/packages/source/c/configobj/configobj-%{version}.tar.gz +Source: https://pypi.debian.net/configobj/configobj-%{version}.tar.gz License: BSD Requires: python >= %python_version ## AUTOBUILDREQ-BEGIN @@ -31,6 +31,10 @@ o and allowing default values * No external dependencies * Full unicode support +%if "%{?with_pyver}" +%pyver_package +%endif + %prep %setup -q -n configobj-%{version} @@ -42,18 +46,24 @@ o and allowing default values %{__python} setup.py install \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python%{python_version} \ - --install-lib=%{python_sitearch} + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%{python_sitearch}/configobj-%{version}-py%{python_version}.egg-info -%{python_sitearch}/*.py -%{python_sitearch}/*.pyc +#%{python_sitearch}/configobj-%{version}-py%{python_version}.egg-info +#%{python_sitearch}/*.py +#%{python_sitearch}/*.pyc %changelog +* Sat Apr 11 2020 Silvan Calarco 5.0.6-2mamba +- rebuilt with py3* packages + * Sat Dec 06 2014 Automatic Build System 5.0.6-1mamba - automatic version update by autodist