From 8c721a3a82111368d35160ea00c72a7a58ccfc66 Mon Sep 17 00:00:00 2001 From: lewie Date: Thu, 18 Jul 2002 13:12:45 +0000 Subject: [PATCH] [project @ 2002-07-18 13:12:45 by lewie] %files for the profiling rpm was missing .p_hi files that were nested deeply. Fixed by calculating %files for prof rpm similar to how it is calculated for the main rpm. --- ghc/ghc.spec.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghc/ghc.spec.in b/ghc/ghc.spec.in index 974712d..df2692e 100644 --- a/ghc/ghc.spec.in +++ b/ghc/ghc.spec.in @@ -169,6 +169,8 @@ cd $RPM_BUILD_ROOT libdir=`echo %{prefix}/lib | sed 's|^/||'` find $libdir ! -type d ! -name '*.p_hi' ! -name '*_p.a' -print | sed 's|^|/|'\ >$dir/rpm-noprof-lib-files +find $libdir ! -type d \( -name '*.p_hi' -or -name '*_p.a' \) -print | sed 's|^|/|'\ + >$dir/rpm-prof-lib-files cd $dir %clean @@ -178,9 +180,7 @@ rm -rf $RPM_BUILD_ROOT %doc ghc/ANNOUNCE ghc/README %{prefix}/bin/* -%files prof -%{prefix}/lib/ghc-%{version}/imports/*/*.p_hi -%{prefix}/lib/ghc-%{version}/libHS*_p.a +%files prof -f rpm-prof-lib-files %files doc %doc docs/ -- 1.7.10.4