http://bugzilla.opensuse.org/show_bug.cgi?id=918387
--- Comment #14 from Johannes Meixner ---
Via OBS submitrequest 288078 I tried to make HPLIP again build
correctly for released openSUSE versions and for SLE11.
The basic idea behind is to ensure also
in the Printing project what I wrote in
https://bugs.launchpad.net/hplip/+bug/1423220/comments/7
(excerpt)
--------------------------------------------------------------
ensures that the packages are built with the
CUPS version that is also provided in openSUSE.
--------------------------------------------------------------
The basic change in hplip.spec is
--------------------------------------------------------------------------
# HPLIP's Python module cupsext.so has a build-time
# dependancy on the CUPS version:
# It needs symbols (like ippFirstAttribute, ippNextAttribute,
# ippSetOperation etc)
# that are defined only in libcups.so version > 1.5.
# For backward compatibility
# cupsext.c has a macro (CUPS_VERSION_1_6) which defines
# those undefined function names
# if CUPS version is <= 1.5. To check the CUPS version
# the CUPS_VERSION_MAJOR, CUPS_VERSION_MINOR
# macros from cups/cups.h are used which means it depends
# on the CUPS version during build-time
# whether or not cupsext will work with CUPS <= 1.5 at run-time.
# See https://bugs.launchpad.net/hplip/+bug/1423220
# and https://bugzilla.opensuse.org/show_bug.cgi?id=918387
# Therefore it BuildRequires the CUPS version as provided
# in the openSUSE/SLE versions.
# Up to openSUSE 13.2 and SLE11 CUPS < 1.6 is provided
# (from CUPS 1.3.9 for SLE11 up to CUPS 1.5.4 for openSUSE 13.2).
# For SLE12 by default CUPS 1.7.5 is provided and alternatively
# CUPS 1.5.4 is provided in the "legacy" module.
# After openSUSE 13.2 (i.e. for current openSUSE Factory)
# CUPS 2.0 is provided.
# Up to openSUSE 13.2 and SLE12 it BuildRequires CUPS < 1.6
# to ensure it even works on SLE12 with CUPS 1.5.4.
# When it was built with CUPS > 1.5 it must also require
# CUPS > 1.5 during run-time.
# In contrast when it was built with CUPS < 1.6 there
# must not be a run-time requirement
# for a CUPS version to ensure it works on SLE12 both
# with CUPS 1.7.5 and CUPS 1.5.4.
# For suse_version values see
# https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
%if 0%{?suse_version} > 1320
BuildRequires: cups > 1.5
BuildRequires: cups-devel > 1.5
Requires: cups > 1.5
%else
BuildRequires: cups < 1.6
BuildRequires: cups-devel < 1.6
Requires: cups
%endif
--------------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.