Hello community,

here is the log from the commit of package hplip for openSUSE:Factory checked 
in at 2014-04-23 20:36:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hplip (Old)
 and      /work/SRC/openSUSE:Factory/.hplip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hplip"

Changes:
--------
--- /work/SRC/openSUSE:Factory/hplip/hplip.changes      2014-04-10 
07:38:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.hplip.new/hplip.changes 2014-04-23 
20:36:26.000000000 +0200
@@ -1,0 +2,15 @@
+Wed Apr 23 10:26:50 CEST 2014 - [email protected]
+
+- Fix how the link /usr/lib/cups/filter/foomatic-rip-hplip
+  that points to foomatic-rip is installed depending on
+  which package provides foomatic-rip. In foomatic-filters
+  foomatic-rip is installed as /usr/bin/foomatic-rip
+  but in cups-filters-foomatic-rip it is installed
+  as /usr/lib/cups/filter/foomatic-rip.
+
+-------------------------------------------------------------------
+Sun Apr 20 09:48:39 UTC 2014 - [email protected]
+
+- Enable parallel build via "make %{?_smp_mflags}".
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hplip.spec ++++++
--- /var/tmp/diff_new_pack.weaM5u/_old  2014-04-23 20:36:27.000000000 +0200
+++ /var/tmp/diff_new_pack.weaM5u/_new  2014-04-23 20:36:27.000000000 +0200
@@ -15,15 +15,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 Name:           hplip
-# BuildRequires foomatic-filters to avoid /usr/lib/rpm/brp-symlink ERROR:
-# link target doesn't exist (neither in build root nor in installed system):
-# /usr/lib/cups/filter/foomatic-rip-hplip -> /usr/bin/foomatic-rip
 BuildRequires:  cups
 BuildRequires:  cups-devel
 BuildRequires:  dbus-1-devel
 BuildRequires:  fdupes
+# BuildRequires foomatic-filters (also provided by cups-filters-foomatic-rip)
+# to avoid /usr/lib/rpm/brp-symlink ERROR:
+# link target doesn't exist (neither in build root nor in installed system):
+# /usr/lib/cups/filter/foomatic-rip-hplip -> /usr/bin/foomatic-rip (for 
foomatic-filters) or
+# /usr/lib/cups/filter/foomatic-rip-hplip -> /usr/lib/cups/filter/foomatic-rip 
(for cups-filters-foomatic-rip)
 BuildRequires:  foomatic-filters
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  libdrm-devel
@@ -135,14 +136,15 @@
 # Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451)
 # plus a leftover in CVE-2004-0801 (bnc#59233)
 # foomatic-rip-hplip is no longer installed and foomatic-rip
-# from the foomatic-filters RPM is used instead.
+# from foomatic-filters or cups-filters-foomatic-rip is used instead.
 # The RPM requirement for foomatic-filters should actually be 
 # in the hplip-hpijs sub-package but this would bloat a minimalist system
 # (see the comment for the hplip-hpijs sub-package below).
 # Therefore the hplip main package which is intended
 # to get "all the HPLIP stuff" installed has the RPM requirement:
 Requires:       foomatic-filters
-# foomatic-filters does not require Ghostscript because depending on the PPD
+# foomatic-filters and cups-filters-foomatic-rip
+# do not require Ghostscript because depending on the PPD
 # (e.g. some PPDs for PostScript printers in OpenPrintingPPDs-postscript)
 # foomatic-rip can also be used without Ghostscript but for the drivers
 # HPIJS and HPCUPS Ghostscript is needed.
@@ -380,7 +382,8 @@
 # --enable-foomatic-rip-hplip-install enable foomatic-rip-hplip install 
(default=no), uses cupsfilterdir
 # Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451) plus a leftover in 
CVE-2004-0801 (bnc#59233)
 # which are fixed up to openSUSE 11.4 with patches, after openSUSE 11.4 (i.e. 
since openSUSE 12.1)
-# foomatic-rip-hplip is no longer installed and foomatic-rip from 
foomatic-filters is used instead so that 
+# foomatic-rip-hplip is no longer installed and foomatic-rip from
+# foomatic-filters or cups-filters-foomatic-rip is used instead so that
 # --disable-foomatic-rip-hplip-install is explicitly set and as a consequence 
the "cupsFilter" entries
 # in the static PPDs are changed in the install section to use foomatic-rip.
 # Since HPLIP 3.13.10 --with-htmldir is new but it does not inhertit its value 
from --with-docdir
@@ -411,7 +414,7 @@
             --with-mimedir=%{_sysconfdir}/cups \
             --with-docdir=%{_defaultdocdir}/%{name} \
             --with-htmldir==%{_defaultdocdir}/%{name}
-make
+make %{?_smp_mflags}
 
 %install
 make install DESTDIR=%{buildroot}
@@ -462,8 +465,8 @@
 do echo -en '\n' >>$p
 done
 # Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451) plus a leftover in 
CVE-2004-0801 (bnc#59233)
-# foomatic-rip-hplip is no longer installed and foomatic-rip from 
foomatic-filters is used instead so that 
-# the "cupsFilter" entries in the static PPDs must be changed accordingly:
+# foomatic-rip-hplip is no longer installed and foomatic-rip from 
foomatic-filters or cups-filters-foomatic-rip
+# is used instead so that the "cupsFilter" entries in the static PPDs must be 
changed accordingly:
 echo "Replacing insecure foomatic-rip-hplip with foomatic-rip everywhere in in 
the PPDs..."
 for p in *.ppd
 do sed -i -e 's/foomatic-rip-hplip/foomatic-rip/' $p
@@ -504,12 +507,19 @@
 # Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451)
 # plus a leftover in CVE-2004-0801 (bnc#59233)
 # foomatic-rip-hplip is no longer installed and foomatic-rip
-# from the foomatic-filters RPM must be used instead.
+# from foomatic-filters or cups-filters-foomatic-rip must be used instead.
 # To be backward compatible with PPDs in /etc/cups/ppd/
 # for existing print queues a compatibility link
 # /usr/lib/cups/filter/foomatic-rip-hplip
-# which points to foomatic-rip is installed:
-ln -s ../../../bin/foomatic-rip 
%{buildroot}/usr/lib/cups/filter/foomatic-rip-hplip
+# which points to foomatic-rip is installed.
+# In foomatic-filters foomatic-rip is installed as /usr/bin/foomatic-rip but
+# in cups-filters-foomatic-rip it is installed as 
/usr/lib/cups/filter/foomatic-rip:
+if test -e /usr/lib/cups/filter/foomatic-rip
+then ln -s foomatic-rip %{buildroot}/usr/lib/cups/filter/foomatic-rip-hplip
+else if test -e /usr/bin/foomatic-rip
+     then ln -s ../../../bin/foomatic-rip 
%{buildroot}/usr/lib/cups/filter/foomatic-rip-hplip
+     fi
+fi
 # Replace the invalid Desktop categories
 %suse_update_desktop_file -r 
%{buildroot}%{_datadir}/applications/hplip.desktop System HardwareSettings
 # Let suse_update_desktop_file add X-SuSE-translate key to 
/etc/xdg/autostart/hplip-systray.desktop




-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to