Hello community, here is the log from the commit of package splix for openSUSE:Factory checked in at 2015-03-25 21:06:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/splix (Old) and /work/SRC/openSUSE:Factory/.splix.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "splix" Changes: -------- --- /work/SRC/openSUSE:Factory/splix/splix.changes 2014-09-03 21:11:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.splix.new/splix.changes 2015-03-25 21:33:28.000000000 +0100 @@ -1,0 +2,15 @@ +Fri Mar 20 10:56:54 CET 2015 - jsm...@suse.de + +- For SLE12 build it with traditional CUPS 1.5.4 to ensure + it works on SLE12 both with CUPS 1.7.5 and CUPS 1.5.4. + +------------------------------------------------------------------- +Mon Mar 16 12:12:41 CET 2015 - jsm...@suse.de + +- Make it build on SLE11 x86_64 by using %_libdir/cups/ in the + files section on SLE11 because there with CUPS 1.3.9 there is + still /usr/lib64/cups/ used on x86_64 and /usr/lib/cups/ on x86 + and it installs automatically into /usr/lib64/cups/ on x86_64 + and into /usr/lib/cups/ on x86. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ splix.spec ++++++ --- /var/tmp/diff_new_pack.LOBdTF/_old 2015-03-25 21:33:29.000000000 +0100 +++ /var/tmp/diff_new_pack.LOBdTF/_new 2015-03-25 21:33:29.000000000 +0100 @@ -32,7 +32,21 @@ Patch1: %name-libs.patch Patch2: %name-add-debuginfo.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +# SLE12 needs special BuildRequires. +# For suse_version values see https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto +%if 0%{?suse_version} == 1315 +# For SLE12 by default CUPS 1.7.5 is provided and alternatively CUPS 1.5.4 is provided in the "legacy" module. +# For SLE12 build it with traditional CUPS 1.5.4 to ensure it works on SLE12 both with CUPS 1.7.5 and CUPS 1.5.4 +# because libcups and libcupsimage in CUPS 1.7.5 are backward compatible with CUPS 1.5.4 so that applications +# that have been built with CUPS 1.5.4 also work under CUPS 1.7.5 but the libraries in CUPS 1.7.5 provide +# some additional functions so that applications that have been built with CUPS 1.7.5 and use those +# additional functions would not work under CUPS 1.7.5. +# Only in the Printing project for SLE12 use cups154-ddk (a sub package of the cups154-SLE12 source package): +BuildRequires: cups154-devel +%else +# Anything what is not SLE12 (i.e. SLE11 and all openSUSE versions) have "normal" BuildRequires: BuildRequires: cups-devel +%endif BuildRequires: fdupes BuildRequires: gcc-c++ # All printer driver packages should have "BuildRequires: python-cups" @@ -98,6 +112,9 @@ %clean rm -fr %buildroot +%if 0%{?suse_version} > 1110 +# Do not do this for SLE11 where ghostscript-library 8.62 is used. +# If Splix plus Ghostscript >= 9.02 is used on SLE11 the admin must do it manually as needed. %post # Use a real bash script with an explicit "exit 0" at the end to be by default fail safe # an explicit "exit 1" must be use to enforce package install/upgrade/erase failure where needed @@ -117,6 +134,7 @@ then ln -s /usr/lib/cups/filter/gstoraster /usr/lib/cups/filter/pstoraster fi exit 0 +%endif %files %defattr(-,root,root) @@ -126,12 +144,22 @@ %dir %_datadir/cups/model/dell %dir %_datadir/cups/model/samsung %dir %_datadir/cups/model/xerox +%if 0%{?suse_version} == 1110 +# On SLE11 with its CUPS 1.3.9 there is still /usr/lib64/cups/ used on x86_64. +# For suse_version values see https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto +# On SLE11 it installs automatically into /usr/lib64/cups/ on x86_64 and into /usr/lib/cups/ on x86: +%dir %_libdir/cups/ +%dir %_libdir/cups/filter/ +%_libdir/cups/filter/pstoqpdl +%_libdir/cups/filter/rastertoqpdl +%else # Use a plain simple fixed /usr/lib/cups/filter/ according -# to what is actually used by CUPS on all platforms: +# to what is actually used by CUPS >= 1.4 on all platforms: %dir /usr/lib/cups/ %dir /usr/lib/cups/filter/ /usr/lib/cups/filter/pstoqpdl /usr/lib/cups/filter/rastertoqpdl +%endif %_datadir/cups/model/dell/*.ppd.gz %_datadir/cups/model/samsung/*.ppd.gz %_datadir/cups/model/samsung/cms -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org