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"