From 7fa95f6741394db581f79bf628e1e64af22326b912b2aea928357744dc42126c Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 12 Sep 2007 14:50:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hplip?expand=0&rev=21 --- hpijs-standalone.spec | 2 +- hplip.changes | 13 +++++++++++++ hplip.spec | 23 ++++++++++++++++++++--- 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/hpijs-standalone.spec b/hpijs-standalone.spec index 5f6a3df..2f88a48 100644 --- a/hpijs-standalone.spec +++ b/hpijs-standalone.spec @@ -17,7 +17,7 @@ Summary: HPIJS stand-alone # 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: 2.7.7 -Release: 3 +Release: 10 Group: Hardware/Printing License: BSD 3-Clause, In general all applications are covered by the GNU General Public License (GPL) and the backend is covered by a MIT license. The printer driver HPIJS uses a BSD license. See the COPYING file in the HPLIP tar ball for more details. URL: http://hpinkjet.sourceforge.net/ diff --git a/hplip.changes b/hplip.changes index db1929c..4a9d1ab 100644 --- a/hplip.changes +++ b/hplip.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Sep 12 16:17:46 CEST 2007 - jsmeix@suse.de + +- Ignore cupstestppd FAILs because of errors in UIConstraints + and/or NonUIConstraints which are detected since cupstestppd + in CUPS > 1.2.7 (i.e. since openSUSE 10.3). + See Novell/Suse Bugzilla bug #309822: When this bug is fixed, + cupstestppd would no longer result zero exit code. + In the long run the PPDs should be fixed but as far as we know + there have been no problems because of such UIConstraints errors + so that it should be o.k. let those PPDs pass even if they are + not strictly compliant. + ------------------------------------------------------------------- Tue Aug 7 11:51:36 CEST 2007 - jsmeix@suse.de diff --git a/hplip.spec b/hplip.spec index c91b46c..bc7b68a 100644 --- a/hplip.spec +++ b/hplip.spec @@ -17,7 +17,7 @@ Summary: HP's Printing, Scanning, and Faxing Software # 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: 2.7.7 -Release: 4 +Release: 27 Group: Hardware/Printing License: BSD 3-Clause, GPL v2 or later, In general all applications are covered by the GNU General Public License (GPL) and the backend is covered by a MIT license. The printer driver HPIJS uses a BSD license. See the COPYING file in the HPLIP tar ball for more details. URL: http://hpinkjet.sourceforge.net/ @@ -199,9 +199,16 @@ do for i in PageSize PageRegion ImageableArea PaperDimension done # Final test by cupstestppd: # Only keep files which don't FAIL for cupstestppd. -# To save disk space gzip the files (gzipped PPDs can also be used by CUPS): +# To save disk space gzip the files (gzipped PPDs can also be used by CUPS). +# Ignore FAILs because of errors in UIConstraints and/or NonUIConstraints +# which are detected since cupstestppd in CUPS > 1.2.7 (i.e. in openSUSE 10.3). +# See Novell/Suse Bugzilla bug #309822: When this bug is fixed, cupstestppd would +# no longer result zero exit code. +# In the long run the PPDs should be fixed but as far as we know there have been +# no problems because of such UIConstraints errors so that it should be o.k. +# let those PPDs pass even if they are not strictly compliant: for p in *.ppd -do cupstestppd $p || { rm -v $p ; continue ; } +do egrep -v '^\*UIConstraints:|^\*NonUIConstraints:' $p | cupstestppd - || { rm -v $p ; continue ; } gzip $p done popd @@ -343,6 +350,16 @@ exit 0 %{_libdir}/libhpmud.* %changelog +* Wed Sep 12 2007 - jsmeix@suse.de +- Ignore cupstestppd FAILs because of errors in UIConstraints + and/or NonUIConstraints which are detected since cupstestppd + in CUPS > 1.2.7 (i.e. since openSUSE 10.3). + See Novell/Suse Bugzilla bug #309822: When this bug is fixed, + cupstestppd would no longer result zero exit code. + In the long run the PPDs should be fixed but as far as we know + there have been no problems because of such UIConstraints errors + so that it should be o.k. let those PPDs pass even if they are + not strictly compliant. * Tue Aug 07 2007 - jsmeix@suse.de - Changed /etc/udev/rules.d/55-hpmud.rules (via a change in change-udev-rules.diff) from OWNER="root" GROUP="lp" MODE="0660"