Accepting request 348260 from home:Andreas_Schwab:Factory

- Use %requires_eq

OBS-URL: https://build.opensuse.org/request/show/348260
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/ghostscript-fonts-grops?expand=0&rev=10
This commit is contained in:
Takashi Iwai 2015-12-11 09:20:30 +00:00 committed by Git OBS Bridge
parent 1e5c2d5450
commit f7fb61abd3
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 10 16:25:12 UTC 2015 - schwab@suse.de
- Use %requires_eq
-------------------------------------------------------------------
Wed Oct 28 17:06:32 CET 2015 - tiwai@suse.de

View File

@ -31,6 +31,7 @@ BuildArch: noarch
BuildRequires: fontforge
BuildRequires: ghostscript
BuildRequires: groff-full
%requires_eq groff
%description
A version of PostScript® driver for Groff to support characters outside ISO Latin 1 character set.
@ -38,9 +39,6 @@ A version of PostScript® driver for Groff to support characters outside ISO Lat
%prep
%build
%define groff_version $(readlink %{_datadir}/groff/current)
%define _use_internal_dependency_generator 0
%define __find_requires sh -c "echo groff = %{groff_version}; exec /usr/lib/rpm/find-requires"a
%define gs_fonts %{_datadir}/ghostscript/fonts
%define import_font() ln -s -T "%{gs_fonts}/%1.afm" "%2.afm" && pfbtopfa "%{gs_fonts}/%1.pfb" "devps/%1.pfa"