From d7f4ed5f988f17c1e500bc3aa1f289afd8d44bfe14726152f8b4f26adb333fa1 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Wed, 10 Oct 2012 13:46:53 +0000 Subject: [PATCH] Accepting request 137740 from home:jsmeix:branches:Printing Bugfix version upgrade to 3.12.10a that fixes only bnc#784173 plus a fix for bnc#783810 OBS-URL: https://build.opensuse.org/request/show/137740 OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=57 --- hplip-3.12.10.tar.gz | 3 --- hplip-3.12.10a.tar.gz | 3 +++ hplip.changes | 15 +++++++++++++++ hplip.spec | 14 ++++++++++---- 4 files changed, 28 insertions(+), 7 deletions(-) delete mode 100644 hplip-3.12.10.tar.gz create mode 100644 hplip-3.12.10a.tar.gz diff --git a/hplip-3.12.10.tar.gz b/hplip-3.12.10.tar.gz deleted file mode 100644 index 9ba4d4c..0000000 --- a/hplip-3.12.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:66c159421c6941e20c88e9372ad2885248b0fc0546c1896cfbfce7ff840faa08 -size 21832868 diff --git a/hplip-3.12.10a.tar.gz b/hplip-3.12.10a.tar.gz new file mode 100644 index 0000000..8c57720 --- /dev/null +++ b/hplip-3.12.10a.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:616a30f260407f959874d35d351eaf73c74f7f8f016a7826286c88d923a4b1fc +size 21827613 diff --git a/hplip.changes b/hplip.changes index 13383ca..0ce529a 100644 --- a/hplip.changes +++ b/hplip.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Oct 10 14:23:14 CEST 2012 - jsmeix@suse.de + +- Bugfix version upgrade to 3.12.10a: + The 'a' does not mean 'alpha' but "first bugfix of 3.12.10". + Fixed crash in HP Device Manager and System Tray due to + ValueError exception in HPLIP upgrade functionality, see + https://bugs.launchpad.net/hplip/+bug/1064889 (bnc#784173). +- Added "chmod a+x ... usr/share/hplip/fax/pstotiff" because + "make install" installs it only with -rw-r--r-- permissions + so that when the CUPS filter usr/lib/cups/filter/pstotiff + which is a link to usr/share/hplip/fax/pstotiff is called, + it cannot execute usr/share/hplip/fax/pstotiff, see + https://bugs.launchpad.net/hplip/+bug/1064247 (bnc#783810). + ------------------------------------------------------------------- Fri Oct 5 11:51:35 CEST 2012 - jsmeix@suse.de diff --git a/hplip.spec b/hplip.spec index 7e67fb9..1b1f738 100644 --- a/hplip.spec +++ b/hplip.spec @@ -55,15 +55,15 @@ Group: Hardware/Printing # HPLIP has reached 1.0 status. With this release a date encoded revision number is used: # x.y.m : x = major release number, y = year (eg: 6 = 2006), m = month (eg: 6a = second release in June) # Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc -Version: 3.12.10 +Version: 3.12.10a Release: 0 Url: http://hplipopensource.com # Source0...Source9 is for sources from HP: -# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.12.10.tar.gz -# URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.12.10.tar.gz.asc +# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.12.10a.tar.gz +# URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.12.10a.tar.gz.asc # How to verify Source0 see: http://hplipopensource.com/node/327 # For example: /usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9 -# /usr/bin/gpg --verify hplip-3.12.10.tar.gz.asc hplip-3.12.10.tar.gz +# /usr/bin/gpg --verify hplip-3.12.10a.tar.gz.asc hplip-3.12.10a.tar.gz # must result: Good signature from "HPLIP (HP Linux Imaging and Printing) " Source0: hplip-%{version}.tar.gz # Patch0...Patch9 is for patches from HP: @@ -394,6 +394,12 @@ make %install make install DESTDIR=%{buildroot} +# HPLIP's "make install" installs -rw-r--r-- usr/share/hplip/fax/pstotiff +# and usr/lib/cups/filter/pstotiff -> usr/share/hplip/fax/pstotiff +# so that when the CUPS filter usr/lib/cups/filter/pstotiff is called, +# it cannot execute usr/share/hplip/fax/pstotiff which is fixed hereby +# (see https://bugs.launchpad.net/hplip/+bug/1064247 and bnc#783810): +chmod a+x %{buildroot}%{_datadir}/hplip/fax/pstotiff # The /var/lib/hp directory is created everywhere except on openSUSE 12.2 and later versions # (perhaps an autoconf issue) so that it is created here as simple and fail-safe workaround # see https://bugs.launchpad.net/bugs/1018303 and bnc#780413