Explicitly use /usr/bin/python3 in udev-add-printer (bug #1126149).
Resolves: rhbz#1126149
This commit is contained in:
parent
6ac8a8dc7a
commit
a2dc13a806
9
system-config-printer-python3.patch
Normal file
9
system-config-printer-python3.patch
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
diff -up system-config-printer-1.5.0/udev/udev-add-printer.python3 system-config-printer-1.5.0/udev/udev-add-printer
|
||||||
|
--- system-config-printer-1.5.0/udev/udev-add-printer.python3 2014-02-18 14:43:34.000000000 +0000
|
||||||
|
+++ system-config-printer-1.5.0/udev/udev-add-printer 2014-08-03 15:02:02.407041071 +0100
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/python -s
|
||||||
|
+#!/usr/bin/python3 -s
|
||||||
|
|
||||||
|
## udev-add-printer
|
||||||
|
|
@ -4,12 +4,13 @@
|
|||||||
Summary: A printer administration tool
|
Summary: A printer administration tool
|
||||||
Name: system-config-printer
|
Name: system-config-printer
|
||||||
Version: 1.5.0
|
Version: 1.5.0
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://cyberelk.net/tim/software/system-config-printer/
|
URL: http://cyberelk.net/tim/software/system-config-printer/
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source0: http://cyberelk.net/tim/data/system-config-printer/1.4/%{name}-%{version}.tar.xz
|
Source0: http://cyberelk.net/tim/data/system-config-printer/1.4/%{name}-%{version}.tar.xz
|
||||||
Patch1: system-config-printer-no-applet-in-gnome.patch
|
Patch1: system-config-printer-no-applet-in-gnome.patch
|
||||||
|
Patch2: system-config-printer-python3.patch
|
||||||
|
|
||||||
BuildRequires: cups-devel >= 1.2
|
BuildRequires: cups-devel >= 1.2
|
||||||
BuildRequires: desktop-file-utils >= 0.2.92
|
BuildRequires: desktop-file-utils >= 0.2.92
|
||||||
@ -81,6 +82,9 @@ printers.
|
|||||||
# Don't start the applet in GNOME.
|
# Don't start the applet in GNOME.
|
||||||
%patch1 -p1 -b .no-applet-in-gnome
|
%patch1 -p1 -b .no-applet-in-gnome
|
||||||
|
|
||||||
|
# Explicitly use /usr/bin/python3 in udev-add-printer (bug #1126149).
|
||||||
|
%patch2 -p1 -b .python3
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-udev-rules
|
%configure --with-udev-rules
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -180,6 +184,9 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Aug 3 2014 Tim Waugh <twaugh@redhat.com> 1.5.0-6
|
||||||
|
- Explicitly use /usr/bin/python3 in udev-add-printer (bug #1126149).
|
||||||
|
|
||||||
* Fri Jul 25 2014 Tim Waugh <twaugh@redhat.com> 1.5.0-5
|
* Fri Jul 25 2014 Tim Waugh <twaugh@redhat.com> 1.5.0-5
|
||||||
- More python3 dependency changes:
|
- More python3 dependency changes:
|
||||||
- pygobject3-base -> python3-gobject
|
- pygobject3-base -> python3-gobject
|
||||||
|
Loading…
Reference in New Issue
Block a user