Dominique Leuenberger 2020-01-12 22:17:11 +00:00 committed by Git OBS Bridge
commit b5d344f791
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jan 9 09:34:19 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- don't recommend groff-full as that would pull in X etc by default.
Instead use packageand on groff and ghostscript-library to only install
groff-full when other deps are already there.
-------------------------------------------------------------------
Mon Dec 16 15:53:33 CET 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package groff
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -72,6 +72,9 @@ BuildRequires: pkgconfig(xaw7)
BuildRequires: pkgconfig(xmu)
BuildRequires: pkgconfig(xt)
Requires: ghostscript-library
# ghostscript-library pulls in X and stuff anyways, so let's
# piggyback on that one
Supplements: packageand(groff:ghostscript-library)
# requires the -base package
Requires: groff = %{version}
Requires: netpbm
@ -87,8 +90,6 @@ Obsoletes: groff-devx <= 1.21
BuildRequires: update-alternatives
Requires(post): update-alternatives
Requires(postun): update-alternatives
%else
Recommends: groff-full
%endif
%description