Hello community,
here is the log from the commit of package cups-drivers
checked in at Thu Jan 24 18:25:21 CET 2008.
--------
--- cups-drivers/cups-drivers.changes 2008-01-22 16:33:47.000000000 +0100
+++ /mounts/work_src_done/STABLE/cups-drivers/cups-drivers.changes 2008-01-24 12:06:58.617890000 +0100
@@ -1,0 +2,5 @@
+Thu Jan 24 12:06:29 CET 2008 - kssingvo@suse.de
+
+- fixed autobuild issue in %post when host runs old cups-1.x version
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cups-drivers.spec ++++++
--- /var/tmp/diff_new_pack.sG4150/_old 2008-01-24 18:24:20.000000000 +0100
+++ /var/tmp/diff_new_pack.sG4150/_new 2008-01-24 18:24:20.000000000 +0100
@@ -16,11 +16,11 @@
BuildRequires: ghostscript-x11 gimp-devel glib2-devel gtk2-devel
BuildRequires: libgimpprint-devel libpng-devel libtiff-devel libxml2-devel
BuildRequires: libxslt openssl-devel pango-devel
-License: GPL v2 or later
+License: GPL v2 only; GPL v2 or later
Group: Hardware/Printing
Summary: Drivers for the Common UNIX Printing System
Version: 1.3.5
-Release: 4
+Release: 6
Provides: cups_drv
Requires: ghostscript-library >= 7.05, foomatic-filters
PreReq: sysvinit, sh-utils, procps
@@ -102,15 +102,13 @@
Grant Taylor
%package -n gutenprint-gimpplugin
-Summary: Drivers for the Common UNIX Printing System
+Summary: GIMP plug-in for gutenprint
Group: Hardware/Printing
Version: %{gutenprintver}
Release: 1
%description -n gutenprint-gimpplugin
-This package contains free printer driver descriptions for CUPS. It
-contains a recent snapshot of the printer database from
-http://www.linuxprinting.org.
+This package contains the gutenprint GIMP plug-in.
@@ -464,19 +462,17 @@
%post
# send CUPS daemon signal to import new files
-test -x /etc/init.d/cups && \
- /etc/init.d/cups status >/dev/null && \
- /etc/init.d/cups reload >/dev/null
-# exit 0 needed here to ignore test return code
+if test -x /etc/init.d/cups && /etc/init.d/cups status >/dev/null ; then
+ /etc/init.d/cups reload >/dev/null || /bin/true
+fi
exit 0
%post -n gutenprint
%run_ldconfig
# send CUPS daemon signal to import new files
-test -x /etc/init.d/cups && \
- /etc/init.d/cups status >/dev/null && \
- /etc/init.d/cups reload >/dev/null
-# exit 0 needed here to ignore test return code
+if test -x /etc/init.d/cups && /etc/init.d/cups status >/dev/null ; then
+ /etc/init.d/cups reload >/dev/null || /bin/true
+fi
exit 0
%postun -n gutenprint
@@ -545,6 +541,8 @@
%{_libdir}/gimp/2.0/plug-ins/*
%changelog
+* Thu Jan 24 2008 kssingvo@suse.de
+- fixed autobuild issue in %%post when host runs old cups-1.x version
* Tue Jan 22 2008 kssingvo@suse.de
- added new subpackage gutenprint-gimpplugin (bugzilla#245683)
- added %%postun for gutenprint, required through library
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org