Hello community,

here is the log from the commit of package cups-filters for openSUSE:Factory 
checked in at 2014-04-11 13:24:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cups-filters (Old)
 and      /work/SRC/openSUSE:Factory/.cups-filters.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cups-filters"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cups-filters/cups-filters.changes        
2014-04-08 22:36:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cups-filters.new/cups-filters.changes   
2014-04-11 13:24:13.000000000 +0200
@@ -1,0 +2,13 @@
+Thu Apr 10 10:22:25 CEST 2014 - [email protected]
+
+- Have libcupsfilters.so.* in the cups-filters-foomatic-rip
+  sub-package because foomatic-rip is linked with libcupsfilters
+  so that it must be in the cups-filters-foomatic-rip sub-package
+  to ensure the cups-filters-foomatic-rip sub-package can be
+  installed on its own without a RPM requirement for the
+  cups-filters main package which would cause conflicts
+  with CUPS <= 1.5.4 in particular when building packages
+  with CUPS <= 1.5.4 that have foomatic-rip as build requirement
+  (e.g. hplip via "BuildRequires: foomatic-filters").
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ cups-filters.spec ++++++
--- /var/tmp/diff_new_pack.6p7Qe0/_old  2014-04-11 13:24:13.000000000 +0200
+++ /var/tmp/diff_new_pack.6p7Qe0/_new  2014-04-11 13:24:13.000000000 +0200
@@ -100,6 +100,20 @@
 # all are built simulaneously from the same cups-filters source package
 # and all required packages are provided on the same repository:
 Requires:       cups-filters-ghostscript = %{version}-%{release}
+# Because foomatic-rip is linked with libcupsfilters.so
+# that library is in the cups-filters-foomatic-rip sub-package
+# (see the cups-filters-foomatic-rip sub-package file section).
+# But many other filters in the cups-filters main package are also
+# linked with with libcupsfilters.so so that the cups-filters main package
+# requires the cups-filters-foomatic-rip sub-package. To be on the safe side 
explicitly
+# require the exact matching version-release of the cups-filters-foomatic-rip 
sub-package
+# because all cups-filters software is built from one same source tar ball
+# and there could be whatever subtle internal dependencies.
+# The exact matching version-release of the cups-filters-foomatic-rip 
sub-package is available
+# on the same package repository where the cups-filters main package is because
+# all are built simulaneously from the same cups-filters source package
+# and all required packages are provided on the same repository:
+Requires:       cups-filters-foomatic-rip = %{version}-%{release}
 # Conflict with CUPS < 1.6 because up to CUPS 1.5.4
 # the following files are provided by the cups binary RPM package
 # /usr/lib/cups/filter/commandtoescpx
@@ -362,7 +376,6 @@
 %{_datadir}/cups/mime/cupsfilters.convs
 %dir %{_datadir}/ppd
 %{_datadir}/ppd/cupsfilters
-%attr(0755,root,root) %{_libdir}/libcupsfilters.so.*
 %attr(0755,root,root) %{_libdir}/libfontembed.so.*
 %{_mandir}/man5/cups-browsed.conf.5.gz
 %{_mandir}/man8/cups-browsed.8.gz
@@ -384,11 +397,21 @@
 %attr(0755,root,root) /usr/lib/cups/filter/gstopxl
 
 %files foomatic-rip
+# "ldd /usr/lib/cups/filter/foomatic-rip | grep cups" shows that
+# foomatic-rip is linked with /usr/lib/libcupsfilters.so.*
+# so that /usr/lib/libcupsfilters.so.* must be
+# in the cups-filters-foomatic-rip sub-package to ensure
+# the cups-filters-foomatic-rip sub-package can be installed on its own
+# without a RPM requirement for the cups-filters main package
+# which would cause conflicts with CUPS <= 1.5.4 in particular
+# when building packages with CUPS <= 1.5.4 that have foomatic-rip
+# as build requirement (e.g. hplip via "BuildRequires: foomatic-filters").
 %{_mandir}/man1/foomatic-rip.1.gz
 %defattr(-,root,root)
 %dir /usr/lib/cups
 %dir /usr/lib/cups/filter
 %attr(0755,root,root) /usr/lib/cups/filter/foomatic-rip
+%attr(0755,root,root) %{_libdir}/libcupsfilters.so.*
 
 %files devel
 %defattr(-,root,root)

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

Reply via email to