From f7fb61abd3e186b6a4b7caf32019e269713a4eb6159b1647cbe152a948d7dfc0 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 11 Dec 2015 09:20:30 +0000 Subject: [PATCH] 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 --- ghostscript-fonts-grops.changes | 5 +++++ ghostscript-fonts-grops.spec | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ghostscript-fonts-grops.changes b/ghostscript-fonts-grops.changes index d2b6220..2fb767e 100644 --- a/ghostscript-fonts-grops.changes +++ b/ghostscript-fonts-grops.changes @@ -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 diff --git a/ghostscript-fonts-grops.spec b/ghostscript-fonts-grops.spec index f14ee12..ba0f76b 100644 --- a/ghostscript-fonts-grops.spec +++ b/ghostscript-fonts-grops.spec @@ -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"