From 54976cb16587d92b4e4e119dd176ec1f92b89c17 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 4 Aug 2009 10:03:53 +0000 Subject: [PATCH] - Fix hpcups fax PPDs (bug #515356) --- hplip.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hplip.spec b/hplip.spec index 5239368..a71dd59 100644 --- a/hplip.spec +++ b/hplip.spec @@ -1,7 +1,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 3.9.6b -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ and MIT Group: System Environment/Daemons Conflicts: system-config-printer < 0.6.132 @@ -141,6 +141,13 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version} # (laundpad bug #405400). %patch15 -p1 -b .resolution-405400 +# Fix hpcups fax PPDs (bug #515356) +pushd fax/ppd +gunzip *hpcups* +perl -pi -e 's/^(\*Product:.*\")(.*)\"/\1(\2)"/' *hpcups* +gzip -n *hpcups* +popd + %build %configure --disable-foomatic-xml-install --disable-cups-install \ --enable-scan-build --enable-gui-build --enable-fax-build \ @@ -348,6 +355,9 @@ fi exit 0 %changelog +* Tue Aug 4 2009 Tim Waugh 3.9.6b-5 +- Fix hpcups fax PPDs (bug #515356) + * Tue Jul 28 2009 Tim Waugh 3.9.6b-4 - Fixed ui-optional patch for qt4 code path (bug #500473). - Fixed HWResolution for 'Normal' output from the hpcups driver