diff --git a/system-config-printer-shbang.patch b/system-config-printer-shbang.patch new file mode 100644 index 0000000..c4df504 --- /dev/null +++ b/system-config-printer-shbang.patch @@ -0,0 +1,9 @@ +diff -up system-config-printer-1.5.7/udev/udev-add-printer.shbang system-config-printer-1.5.7/udev/udev-add-printer +--- system-config-printer-1.5.7/udev/udev-add-printer.shbang 2015-04-23 16:05:58.000000000 +0100 ++++ system-config-printer-1.5.7/udev/udev-add-printer 2015-05-26 09:15:43.761220755 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python3 -s -B ++#!/usr/bin/python3 -sB + + ## udev-add-printer + diff --git a/system-config-printer.spec b/system-config-printer.spec index 3f76a17..a144627 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -7,11 +7,12 @@ Summary: A printer administration tool Name: system-config-printer Version: 1.5.7 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: http://cyberelk.net/tim/software/system-config-printer/ Group: System Environment/Base Source0: http://cyberelk.net/tim/data/system-config-printer/1.5/%{name}-%{version}.tar.xz +Patch1: system-config-printer-shbang.patch BuildRequires: cups-devel >= 1.2 BuildRequires: desktop-file-utils >= 0.2.92 @@ -81,6 +82,9 @@ printers. %prep %setup -q +# Fixed shbang line in udev-add-printer (trac #244). +%patch1 -p1 -b .shbang + %build %configure --with-udev-rules make %{?_smp_mflags} @@ -183,6 +187,9 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris exit 0 %changelog +* Tue May 26 2015 Tim Waugh - 1.5.7-2 +- Fixed shbang line in udev-add-printer (trac #244). + * Wed Apr 29 2015 Tim Waugh - 1.5.7-1 - 1.5.7: - Increase bus settle time for usb_modeswitch devices (bug #1206808).