From 92a3302cf1beb9c062fb6ab5f98a950cd3dce7a8 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Aug 01 2012 16:17:53 +0000 Subject: 1.3.10. Also: Build requirement for libusb has changed to libusb1-devel. --- diff --git a/.gitignore b/.gitignore index c00d606..dcc4186 100644 --- a/.gitignore +++ b/.gitignore @@ -238,3 +238,4 @@ pycups-1.9.51.tar.bz2 /system-config-printer-1.3.7.tar.xz /system-config-printer-1.3.8.tar.xz /system-config-printer-1.3.9.tar.xz +/system-config-printer-1.3.10.tar.xz diff --git a/sources b/sources index 826b202..7913f7b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -df424f127eede63965608e5ec5e27519 system-config-printer-1.3.9.tar.xz +9de9df07c4c97afa2cea3be2f05d6c18 system-config-printer-1.3.10.tar.xz diff --git a/system-config-printer-1.3.10.tar.xz.sig b/system-config-printer-1.3.10.tar.xz.sig new file mode 100644 index 0000000..8aa902e Binary files /dev/null and b/system-config-printer-1.3.10.tar.xz.sig differ diff --git a/system-config-printer-1.3.9.tar.xz.sig b/system-config-printer-1.3.9.tar.xz.sig deleted file mode 100644 index c25031e..0000000 Binary files a/system-config-printer-1.3.9.tar.xz.sig and /dev/null differ diff --git a/system-config-printer-udev-sys-path.patch b/system-config-printer-udev-sys-path.patch deleted file mode 100644 index 7be5547..0000000 --- a/system-config-printer-udev-sys-path.patch +++ /dev/null @@ -1,45 +0,0 @@ -From cbacff0c9f7e3e6549c9b33a42e805a935db36e6 Mon Sep 17 00:00:00 2001 -From: Jiri Popelka -Date: Tue, 5 Jun 2012 14:28:36 +0200 -Subject: [PATCH] udev: replace udev_get_sys_path() with hard-coded "/sys" - (trac #223) - -udev_get_sys_path() is no longer provided by libudev ---- - udev/udev-configure-printer.c | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/udev/udev-configure-printer.c b/udev/udev-configure-printer.c -index 1d89f9a..8d349e4 100644 ---- a/udev/udev-configure-printer.c -+++ b/udev/udev-configure-printer.c -@@ -451,7 +451,6 @@ device_id_from_devpath (const char *devpath, - struct usb_uri_map_entry *entry; - struct udev *udev; - struct udev_device *dev, *parent_dev = NULL; -- const char *sys; - const char *idVendorStr, *idProductStr, *serial; - char *end; - unsigned long idVendor, idProduct; -@@ -500,8 +499,7 @@ device_id_from_devpath (const char *devpath, - *dest = '\0'; - } - -- sys = udev_get_sys_path (udev); -- syslen = strlen (sys); -+ syslen = strlen ("/sys"); - devpathlen = strlen (devpath); - syspath = malloc (syslen + devpathlen + 1); - if (syspath == NULL) -@@ -511,7 +509,7 @@ device_id_from_devpath (const char *devpath, - exit (1); - } - -- memcpy (syspath, sys, syslen); -+ memcpy (syspath, "/sys", syslen); - memcpy (syspath + syslen, devpath, devpathlen); - syspath[syslen + devpathlen] = '\0'; - --- -1.7.10.2 - diff --git a/system-config-printer.spec b/system-config-printer.spec index 6c64b7a..a735224 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -1,18 +1,17 @@ Summary: A printer administration tool Name: system-config-printer -Version: 1.3.9 -Release: 5%{?dist} +Version: 1.3.10 +Release: 1%{?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.3/%{name}-%{version}.tar.xz Patch1: system-config-printer-no-applet-in-gnome.patch -Patch2: system-config-printer-udev-sys-path.patch BuildRequires: cups-devel >= 1.2 BuildRequires: desktop-file-utils >= 0.2.92 BuildRequires: gettext-devel BuildRequires: intltool -BuildRequires: libusb-devel, glib2-devel +BuildRequires: libusb1-devel, glib2-devel BuildRequires: xmlto BuildRequires: systemd-units, systemd-devel @@ -63,8 +62,6 @@ printers. # Don't start the applet in GNOME. %patch1 -p1 -b .no-applet-in-gnome -# replace udev_get_sys_path() with hard-coded "/sys" -%patch2 -p1 -b .sys-path %build %configure --with-udev-rules @@ -185,6 +182,10 @@ if [ $1 -ge 1 ] ; then fi %changelog +* Wed Aug 1 2012 Tim Waugh 1.3.10-1 +- 1.3.10. +- Build requirement for libusb has changed to libusb1-devel. + * Tue Jul 31 2012 Tim Waugh 1.3.9-5 - Reverted previous change. New systemd-devel does provide libudev.pc after all.