fix shebangs for python36 [release 1.5.11-3mamba;Sun May 12 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 18:18:34 +01:00
parent 2887ebd175
commit c725d16323

View File

@ -2,7 +2,7 @@
Name: system-config-printer Name: system-config-printer
Version: 1.5.11 Version: 1.5.11
Release: 2mamba Release: 3mamba
Summary: Helper functions and classes for using CUPS Summary: Helper functions and classes for using CUPS
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
@ -38,6 +38,7 @@ Requires: python-requests-py36
Requires: pygobject-py36 Requires: pygobject-py36
Requires: python-dbus-py36 Requires: python-dbus-py36
Requires: pycairo-py36 Requires: pycairo-py36
Requires: python-reload-py36
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -49,6 +50,8 @@ The purpose of the tool is to configure a CUPS server (often the local machine)
#%patch0 -p1 #%patch0 -p1
#%patch1 -p1 #%patch1 -p1
#%patch2 -p1 #%patch2 -p1
sed -i "s|!/usr/bin/python3|!%{__python36}|" \
*.py */*.py
%build %build
%configure \ %configure \
@ -92,6 +95,9 @@ The purpose of the tool is to configure a CUPS server (often the local machine)
%{_mandir}/man1/system-config-printer-applet.1* %{_mandir}/man1/system-config-printer-applet.1*
%changelog %changelog
* Sun May 12 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.11-3mamba
- fix shebangs for python36
* Fri Mar 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.11-2mamba * Fri Mar 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.11-2mamba
- rebuilt with python 3.6 - rebuilt with python 3.6