%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-xmltodict Version: 0.14.2 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: Silvan Calarco URL: https://github.com/martinblech/xmltodict Source: https://pypi.debian.net/xmltodict/xmltodict-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel ## AUTOBUILDREQ-END BuildArch: noarch %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n xmltodict-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %doc LICENSE %changelog * Thu Oct 17 2024 Automatic Build System 0.14.2-1mamba - automatic version update by autodist * Fri Oct 11 2024 Automatic Build System 0.14.1-1mamba - automatic version update by autodist * Thu Oct 10 2024 Automatic Build System 0.14.0-1mamba - automatic version update by autodist * 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 * Wed Aug 09 2017 Automatic Build System 0.11.0-1mamba - automatic version update by autodist * Fri Oct 28 2016 Automatic Build System 0.10.2-1mamba - automatic version update by autodist * Wed Apr 20 2016 Automatic Build System 0.10.1-1mamba - automatic version update by autodist * Mon Nov 16 2015 Automatic Build System 0.9.2-1mamba - automatic version update by autodist * Wed May 28 2014 Stefano Cotta Ramusino 0.9.0-1mamba - package created using the webbuild interface