diff --git a/python-QDarkStyle.spec b/python-QDarkStyle.spec index a3e41d2..72f5611 100644 --- a/python-QDarkStyle.spec +++ b/python-QDarkStyle.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-QDarkStyle Version: 3.0.3 -Release: 1mamba +Release: 2mamba Summary: QDarkStyle is a dark stylesheet for Python and Qt applications Group: System/Libraries Vendor: openmamba @@ -10,9 +11,10 @@ URL: https://pypi.org/project/QDarkStyle/ Source: https://pypi.debian.net/QDarkStyle/QDarkStyle-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(qtpy) +BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version %description %{summary}. @@ -36,18 +38,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 +* Sun Feb 13 2022 Silvan Calarco 3.0.3-2mamba +- rebuilt with distdeps + * Mon Nov 29 2021 Automatic Build System 3.0.3-1mamba - automatic version update by autodist