diff --git a/python-ifaddr.spec b/python-ifaddr.spec index cf4c12a..c306f11 100644 --- a/python-ifaddr.spec +++ b/python-ifaddr.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-ifaddr Version: 0.2.0 -Release: 1mamba +Release: 2mamba Summary: A small Python library that allows you to find all the IP addresses of the computer Group: System/Libraries Vendor: openmamba @@ -12,8 +13,6 @@ License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version %description %{summary}. @@ -37,18 +36,17 @@ 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 - -## note: add extra documentation (if any) -# %doc README.rst +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %changelog +* Tue Dec 20 2022 Silvan Calarco 0.2.0-2mamba +- rebuilt with dist-deps + * Thu Jun 16 2022 Automatic Build System 0.2.0-1mamba - automatic version update by autodist