- Unfortunately ghostscript-library.spec and ghostscript-mini.spec
have unversioned "Provides: ghostscript" and for RPM this means that both ghostscript-library and ghostscript-mini provide any version of ghostscript. Therefore any non-matching version of ghostscript-library and ghostscript-mini fulfill any RPM requirement for ghostscript in the ghostscript-x11 and ghostscript-devel sub-packages which is wrong. Therefore explicit conflicts with ghostscript-library and ghostscript-mini are specified in the ghostscript-x11 and ghostscript-devel sub-packages to avoid the mess. OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=6
This commit is contained in:
parent
b686f38730
commit
a1b0006c5f
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 16 10:27:01 CET 2012 - jsmeix@suse.de
|
||||
|
||||
- Unfortunately ghostscript-library.spec and ghostscript-mini.spec
|
||||
have unversioned "Provides: ghostscript" and for RPM this means
|
||||
that both ghostscript-library and ghostscript-mini
|
||||
provide any version of ghostscript. Therefore any non-matching
|
||||
version of ghostscript-library and ghostscript-mini fulfill
|
||||
any RPM requirement for ghostscript in the ghostscript-x11
|
||||
and ghostscript-devel sub-packages which is wrong.
|
||||
Therefore explicit conflicts with ghostscript-library and
|
||||
ghostscript-mini are specified in the ghostscript-x11
|
||||
and ghostscript-devel sub-packages to avoid the mess.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 15 16:43:26 CET 2012 - jsmeix@suse.de
|
||||
|
||||
|
@ -207,6 +207,20 @@ under the X Window System.
|
||||
License: GPL-3.0
|
||||
Summary: Development files for Ghostscript
|
||||
Requires: ghostscript = %{version}
|
||||
# Unfortunately ghostscript-library.spec and ghostscript-mini.spec have
|
||||
# an unversioned "Provides: ghostscript" and for RPM this means that both
|
||||
# ghostscript-library and ghostscript-mini provide any version of "ghostscript"
|
||||
# so that any version of ghostscript-library and ghostscript-mini fulfills
|
||||
# the above versioned requirement which is wrong and therefore an explicit conflicts
|
||||
# is used here to avoid the mess.
|
||||
# Above the ghostscript main package "Provides: ghostscript-library = version" so that
|
||||
# versioned conflicts are needed to avoid a conflict with the ghostscript main package.
|
||||
# The RPM documentation http://www.rpm.org/max-rpm/s1-rpm-depend-manual-dependencies.html
|
||||
# and /usr/share/doc/packages/rpm/manual/dependencies (in rpm-4.8.0 in openSUSE 11.4)
|
||||
# does not show a comparison operator for "not equal" so that two conflicts are used:
|
||||
Conflicts: ghostscript-library < %{version}
|
||||
Conflicts: ghostscript-library > %{version}
|
||||
Conflicts: ghostscript-mini
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description devel
|
||||
|
Loading…
Reference in New Issue
Block a user