py310: resolve bindir conflicts [release 3.1-2mamba;Sun Apr 09 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 10:41:25 +01:00
parent 480966beb8
commit 4bb64a5889

View File

@ -1,6 +1,6 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _) %define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-QDarkStyle Name: python-QDarkStyle
Version: 3.0.3 Version: 3.1
Release: 2mamba Release: 2mamba
Summary: QDarkStyle is a dark stylesheet for Python and Qt applications Summary: QDarkStyle is a dark stylesheet for Python and Qt applications
Group: System/Libraries Group: System/Libraries
@ -40,12 +40,31 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist 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 %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/qdarkstyle*
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
%changelog %changelog
* Sun Apr 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-2mamba
- py310: resolve bindir conflicts
* Sat Apr 08 2023 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
- automatic version update by autodist
* Fri Apr 07 2023 Sdk Build System <sdk@mambasoft.it> 3.0.3-3mamba
- rebuilt with python 3.10
* Sun Feb 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-2mamba * Sun Feb 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-2mamba
- rebuilt with distdeps - rebuilt with distdeps