From 33ea7cbd96432cbad5988da6ae87556d69faa798 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 10 Feb 2010 11:12:54 +0200 Subject: [PATCH] Permit requires extraction too from fontconfig and desktop files - presently unused but... --- build/rpmfc.c | 4 +--- macros.in | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/rpmfc.c b/build/rpmfc.c index 68ad7e5..4e3d2e7 100644 --- a/build/rpmfc.c +++ b/build/rpmfc.c @@ -759,9 +759,7 @@ static int rpmfcMISC(rpmfc fc) goto exit; } - (void) rpmfcHelper(fc, 'P', what); - rc = 0; - + rc = rpmfcGenDeps(fc, what, (DEP_REQ|DEP_PROV)); exit: return rc; } diff --git a/macros.in b/macros.in index 3956063..063b1d9 100644 --- a/macros.in +++ b/macros.in @@ -510,7 +510,9 @@ print (t)\ %__ocaml_requires %{_rpmconfigdir}/ocaml-find-requires.sh %__fontconfig_provides %{_rpmconfigdir}/fontconfig.prov +%__fontconfig_requires %{nil} %__desktop_provides %{_rpmconfigdir}/desktop-file.prov +%__desktop_requires %{nil} #============================================================================== # ---- Database configuration macros. -- 2.7.4