diff --git a/python-xmltodict.spec b/python-xmltodict.spec index 191263e..de85abb 100644 --- a/python-xmltodict.spec +++ b/python-xmltodict.spec @@ -1,24 +1,27 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-xmltodict -Version: 0.12.0 +Version: 0.13.0 Release: 1mamba Summary: Python module that makes working with XML feel like you are working with JSON Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Stefano Cotta Ramusino +Packager: Silvan Calarco URL: https://github.com/martinblech/xmltodict Source: https://pypi.debian.net/xmltodict/xmltodict-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch %description %{summary}. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n xmltodict-%{version} @@ -34,13 +37,18 @@ 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 -f %{name}.filelist %defattr(-,root,root) -%doc LICENSE README.md +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* +%doc LICENSE %changelog +* Fri Oct 07 2022 Automatic Build System 0.13.0-1mamba +- automatic version update by autodist + * Mon Apr 15 2019 Automatic Build System 0.12.0-1mamba - automatic version update by autodist