diff --git a/python-QtPy.spec b/python-QtPy.spec index c6a7c42..4f8df45 100644 --- a/python-QtPy.spec +++ b/python-QtPy.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-QtPy Version: 2.0.1 -Release: 1mamba +Release: 2mamba Summary: Abstraction layer for PyQt5/PyQt4/PySide2/PySide Group: System/Libraries Vendor: openmamba @@ -11,9 +12,8 @@ Source: https://pypi.debian.net/QtPy/QtPy-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel +BuildRequires: python3.7dist(packaging) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version %description %{summary}. @@ -37,18 +37,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.md +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %changelog +* Sun Feb 13 2022 Silvan Calarco 2.0.1-2mamba +- rebuilt with distdeps + * Fri Feb 04 2022 Automatic Build System 2.0.1-1mamba - automatic version update by autodist