Fixed shbang line in udev-add-printer (trac #244).

This commit is contained in:
Tim Waugh 2015-05-26 09:18:36 +01:00
parent 43f334d576
commit 902952def3
2 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -7,11 +7,12 @@
Summary: A printer administration tool Summary: A printer administration tool
Name: system-config-printer Name: system-config-printer
Version: 1.5.7 Version: 1.5.7
Release: 1%{?dist} Release: 2%{?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.5/%{name}-%{version}.tar.xz 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: cups-devel >= 1.2
BuildRequires: desktop-file-utils >= 0.2.92 BuildRequires: desktop-file-utils >= 0.2.92
@ -81,6 +82,9 @@ printers.
%prep %prep
%setup -q %setup -q
# Fixed shbang line in udev-add-printer (trac #244).
%patch1 -p1 -b .shbang
%build %build
%configure --with-udev-rules %configure --with-udev-rules
make %{?_smp_mflags} make %{?_smp_mflags}
@ -183,6 +187,9 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
exit 0 exit 0
%changelog %changelog
* Tue May 26 2015 Tim Waugh <twaugh@redhat.com> - 1.5.7-2
- Fixed shbang line in udev-add-printer (trac #244).
* Wed Apr 29 2015 Tim Waugh <twaugh@redhat.com> - 1.5.7-1 * Wed Apr 29 2015 Tim Waugh <twaugh@redhat.com> - 1.5.7-1
- 1.5.7: - 1.5.7:
- Increase bus settle time for usb_modeswitch devices (bug #1206808). - Increase bus settle time for usb_modeswitch devices (bug #1206808).