Hello community,
here is the log from the commit of package printer-driver-brlaser for
openSUSE:Factory checked in at 2016-02-11 12:37:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/printer-driver-brlaser (Old)
and /work/SRC/openSUSE:Factory/.printer-driver-brlaser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "printer-driver-brlaser"
Changes:
--------
---
/work/SRC/openSUSE:Factory/printer-driver-brlaser/printer-driver-brlaser.changes
2016-02-01 19:56:27.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.printer-driver-brlaser.new/printer-driver-brlaser.changes
2016-02-11 12:37:43.000000000 +0100
@@ -1,0 +2,28 @@
+Thu Jan 28 15:24:15 CET 2016 - [email protected]
+
+- Make it build for SLE12 with traditional CUPS 1.5.4 to ensure
+ it works on SLE12 both with CUPS 1.7.5 and CUPS 1.5.4 because
+ for SLE12 by default CUPS 1.7.5 is provided and alternatively
+ CUPS 1.5.4 is provided in the "legacy" module, cf.
+ https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12/
+- Prepare building it for SLE11 via "BuildRequires cupsddk"
+ because on SLE11 with its CUPS 1.3.9 there is the separated
+ package cupsddk (otherwise use cups-ddk a sub-package of cups).
+- For SLE11 redefine _libexecdir to be "/usr/lib" in any case
+ because on SLE11 x86_64 it evaluates to "/usr/lib64" which
+ is wrong in particular for CUPS filters and backends, cf.
+ https://bugzilla.opensuse.org/show_bug.cgi?id=575544#c2
+- Prepare building it for SLE10 (cf. "SLE10" spec file comments).
+- Have Source0 as .tar.gz (instead .tar.xz) because .tar.gz
+ "just works" on SLE11 and SLE10 and the .tar.gz is only 2K
+ bigger than the .tar.xz (25K versus 23K as of this writing).
+- Regardless that it is prepared for building on SLE11 and SLE10
+ (see gutenprint.spec and hplip.spec how to do that)
+ currently it cannot build for SLE11 and SLE10
+ because "autoreconf -fi" fails with
+ "error: Autoconf version 2.68 or higher is required".
+ On SLE11 there is autoconf-2.63 and on SLE10 there is
+ autoconf-2.59 so that currently building for SLE11 and SLE10
+ is still disabled.
+
+-------------------------------------------------------------------
Old:
----
brlaser-3+git20141125.4f1a00d.tar.xz
New:
----
brlaser-3+git20141125.4f1a00d.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ printer-driver-brlaser.spec ++++++
--- /var/tmp/diff_new_pack.DJL1iw/_old 2016-02-11 12:37:44.000000000 +0100
+++ /var/tmp/diff_new_pack.DJL1iw/_new 2016-02-11 12:37:44.000000000 +0100
@@ -23,16 +23,40 @@
License: GPL-2.0+
Group: Hardware/Printing
Url: https://github.com/pdewacht/brlaser
-Source: brlaser-%{version}.tar.xz
+Source: brlaser-%{version}.tar.gz
# PATCH-FIX-UPSTREAM -- https://github.com/pdewacht/brlaser/pull/5
Patch0: brlaser-br7055w.diff
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: cups
+# SLE10 and SLE11 and SLE12 need special BuildRequires.
+# For suse_version values see
https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
+%if 0%{?suse_version} != 1010 && 0%{?suse_version} != 1110 &&
0%{?suse_version} != 1315
+# Anything what is not SLE10 or SLE11 or SLE12 (i.e. all openSUSE versions)
have "normal" BuildRequires.
BuildRequires: cups-ddk
BuildRequires: cups-devel
+%endif
+%if 0%{?suse_version} == 1110 || 0%{?suse_version} == 1010
+# On SLE11 and SLE10 there is the separated package cupsddk.
+BuildRequires: cups-devel
+BuildRequires: cupsddk
+%endif
+%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.
+# Only in the Printing project for SLE12 use cups154-ddk (a sub package of the
cups154-SLE12 source package):
+BuildRequires: cups154-ddk
+BuildRequires: cups154-devel
+%endif
BuildRequires: gcc-c++
+%if 0%{?suse_version} != 1010
+# On SLE10 there is no python-cups. Simply omit it because that BuildRequires
is only there to
+# add python-cups BuildRequires to have postscriptdriver() Provides for the
drivers in gutenprint.
BuildRequires: python-cups
+%endif
+%if 0%{?suse_version} == 1110
+# For SLE11 redefine _libexecdir because on SLE11 _libexecdir is "/usr/lib64":
+%global _libexecdir /usr/lib
+%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -64,14 +88,18 @@
rm %{buildroot}%{_datadir}/doc/brlaser/README.md
# we use compiled ppds instead
rm %{buildroot}%{_datadir}/cups/drv/brlaser.drv
-#
+# install compiled ppds
mkdir -p %{buildroot}%{_datadir}/cups/model
cp -a ppd %{buildroot}%{_datadir}/cups/model/brlaser
%files
%defattr(-,root,root)
%doc README.md COPYING
+%dir %{_libexecdir}/cups
+%dir %{_libexecdir}/cups/filter
%{_libexecdir}/cups/filter/rastertobrlaser
+%dir %{_datadir}/cups
+%dir %{_datadir}/cups/model
%{_datadir}/cups/model/brlaser
%changelog
++++++ _service ++++++
--- /var/tmp/diff_new_pack.DJL1iw/_old 2016-02-11 12:37:44.000000000 +0100
+++ /var/tmp/diff_new_pack.DJL1iw/_new 2016-02-11 12:37:44.000000000 +0100
@@ -6,7 +6,7 @@
<param name="revision">master</param>
</service>
<service name="recompress" mode="disabled">
- <param name="compression">xz</param>
+ <param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>