diff --git a/python-dbus-deviation.spec b/python-dbus-deviation.spec index e6aab92..141b7c7 100644 --- a/python-dbus-deviation.spec +++ b/python-dbus-deviation.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-dbus-deviation Version: 0.6.1 -Release: 1mamba +Release: 3mamba Summary: A project for parsing D-Bus introspection XML and processing it in various ways Group: System/Libraries Vendor: openmamba @@ -10,12 +11,10 @@ URL: https://pypi.org/project/dbus-deviation/ Source: https://pypi.debian.net/dbus-deviation/dbus-deviation-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 python-dbus-deviation' to get the list of build requirements. +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(lxml) +BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -BuildRequires: python-wheel-py3 -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. @@ -39,18 +38,21 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -## note: this list is just an example; modify as required -# %{python_sitearch}/%{name}.py* -# %{python_sitearch}/%{name}.so +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %doc AUTHORS COPYING -## note: add extra documentation (if any) -# %doc NEWS README %changelog +* Mon Jul 31 2023 Silvan Calarco 0.6.1-3mamba +- rebuilt with python 3.10 + +* Mon Feb 14 2022 Silvan Calarco 0.6.1-2mamba +- rebuilt with distdeps + * Sat Jan 30 2021 Automatic Build System 0.6.1-1mamba - automatic version update by autodist