- 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.

OBS-URL: https://build.opensuse.org/package/show/Printing/epson-inkjet-printer-escpr?expand=0&rev=17
This commit is contained in:
Johannes Meixner 2015-03-20 10:02:13 +00:00 committed by Git OBS Bridge
parent 6d46126947
commit 6f3a55e6dd
2 changed files with 25 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 20 11:01:33 CET 2015 - jsmeix@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 Dec 15 08:11:19 UTC 2014 - nico.kruber@gmail.com Mon Dec 15 08:11:19 UTC 2014 - nico.kruber@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package epson-inkjet-printer-escpr # spec file for package epson-inkjet-printer-escpr
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,8 +17,23 @@
Name: epson-inkjet-printer-escpr Name: epson-inkjet-printer-escpr
# 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
BuildRequires: cups154-devel
%else
# Anything what is not SLE12 (i.e. SLE11 and all openSUSE versions) have "normal" BuildRequires:
BuildRequires: cups BuildRequires: cups
BuildRequires: cups-devel BuildRequires: cups-devel
%endif
# All printer driver packages should have "BuildRequires: python-cups" # All printer driver packages should have "BuildRequires: python-cups"
# because python-cups installs special rpm macros that adds Provides tags # because python-cups installs special rpm macros that adds Provides tags
# for the printer drivers supported by the package, # for the printer drivers supported by the package,