- No longer require Ghostscript but only "Recommends: ghostscript"
because the Ghostscript device "cups" is needed by several CUPS filters (in particular the "rasterto..." filters) but those filters are not used on all systems (e.g. on a print server with only "raw" queues) so that a weak Recommends fits better. Furthermore this avoids a build dependency cycle between the main-packages cups and ghostscript. - No longer require /usr/bin/pdftops but only a "Recommends" because the CUPS filter /usr/lib/cups/filter/pdftops (which calls /usr/bin/pdftops) is not used on all systems (e.g. on a print server with only "raw" queues) so that a weak Recommends fits better. OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=239
This commit is contained in:
24
cups.spec
24
cups.spec
@@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: cups
|
||||
BuildRequires: avahi-compat-mDNSResponder-devel
|
||||
BuildRequires: dbus-1-devel
|
||||
@@ -72,17 +71,22 @@ Source0: cups-%{version}-source.tar.bz2
|
||||
# and all required packages are provided on the same repository:
|
||||
Requires: cups-libs = %{version}-%{release}
|
||||
Requires: cups-client = %{version}
|
||||
# The Ghostscript device "cups" is needed by several CUPS filters
|
||||
# (in particular the "rasterto..." filters) which justifies a RPM Requires.
|
||||
# The requirement for ghostscript does not cause a build dependency cycle because
|
||||
# cups Requires ghostscript which BuildRequires cups-devel which Requires cups-libs
|
||||
# but cups-libs does not require cups:
|
||||
Requires: ghostscript
|
||||
# Inherited RPM Requires from the past but I (jsmeix@suse.de) do not know an exact reason for it:
|
||||
# Inherited RPM Requires from the past but I (jsmeix@suse.de) do not know the reason for it:
|
||||
Requires: util-linux
|
||||
# The Ghostscript device "cups" is needed by several CUPS filters
|
||||
# (in particular the "rasterto..." filters) which might justify a RPM Requires.
|
||||
# But a RPM requirement for ghostscript would cause a build dependency cycle because
|
||||
# cups Requires ghostscript which BuildRequires cups-devel which Requires cups-libs
|
||||
# and cups-libs is a sub-package of cups so that there is an implicit build dependency
|
||||
# cycle between the main-packages cups and ghostscript.
|
||||
# Furthermore Ghostscript is not needed on a system where those CUPS filters are not used
|
||||
# (e.g. on a print server with only "raw" queues) so that a weak Recommends fits better:
|
||||
Recommends: ghostscript
|
||||
# The CUPS filter /usr/lib/cups/filter/pdftops is a wrapper which calls /usr/bin/pdftops
|
||||
# (see the configure setting '--with-pdftops=/usr/bin/pdftops') so that this is required:
|
||||
Requires: /usr/bin/pdftops
|
||||
# (see the configure setting '--with-pdftops=/usr/bin/pdftops') so that this
|
||||
# might justify a RPM Requires but this CUPS filter is not used on all systems
|
||||
# (e.g. on a print server with only "raw" queues) so that a weak Recommends is sufficient:
|
||||
Recommends: /usr/bin/pdftops
|
||||
# Our Source105 PSLEVEL1.PPD.bz2 and Source106 PSLEVEL2.PPD.bz2 need foomatic-rip
|
||||
# but this does not justify a RPM Requires so that a weak Recommends is sufficient:
|
||||
Recommends: foomatic-filters
|
||||
|
Reference in New Issue
Block a user