From c725d16323f20d508cb5cc68809171f4c9cc24ce Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:18:34 +0100 Subject: [PATCH] fix shebangs for python36 [release 1.5.11-3mamba;Sun May 12 2019] --- system-config-printer.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/system-config-printer.spec b/system-config-printer.spec index 9d8a41d..d2f3267 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -2,7 +2,7 @@ Name: system-config-printer Version: 1.5.11 -Release: 2mamba +Release: 3mamba Summary: Helper functions and classes for using CUPS Group: System/Libraries/Python Vendor: openmamba @@ -38,6 +38,7 @@ Requires: python-requests-py36 Requires: pygobject-py36 Requires: python-dbus-py36 Requires: pycairo-py36 +Requires: python-reload-py36 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -49,6 +50,8 @@ The purpose of the tool is to configure a CUPS server (often the local machine) #%patch0 -p1 #%patch1 -p1 #%patch2 -p1 +sed -i "s|!/usr/bin/python3|!%{__python36}|" \ + *.py */*.py %build %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* %changelog +* Sun May 12 2019 Silvan Calarco 1.5.11-3mamba +- fix shebangs for python36 + * Fri Mar 01 2019 Silvan Calarco 1.5.11-2mamba - rebuilt with python 3.6