diff --git a/python-QDarkStyle.spec b/python-QDarkStyle.spec index 72f5611..757f47e 100644 --- a/python-QDarkStyle.spec +++ b/python-QDarkStyle.spec @@ -1,6 +1,6 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-QDarkStyle -Version: 3.0.3 +Version: 3.1 Release: 2mamba Summary: QDarkStyle is a dark stylesheet for Python and Qt applications Group: System/Libraries @@ -40,12 +40,31 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "%{?with_pyver}" != "3" +# Rename any conflicting file outside of python site packages tree +for f in %{_bindir}/qdarkstyle{,.example,.utils}; do + mv %{buildroot}${f}{,-%{?pyappend}} +done +%endif + +sed -i "\,%{_bindir},d" %{name}.filelist + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%{_bindir}/qdarkstyle* %dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %changelog +* Sun Apr 09 2023 Silvan Calarco 3.1-2mamba +- py310: resolve bindir conflicts + +* Sat Apr 08 2023 Automatic Build System 3.1-1mamba +- automatic version update by autodist + +* Fri Apr 07 2023 Sdk Build System 3.0.3-3mamba +- rebuilt with python 3.10 + * Sun Feb 13 2022 Silvan Calarco 3.0.3-2mamba - rebuilt with distdeps