From f0ef89bcb848453c6128b27f2395362f2796f085 Mon Sep 17 00:00:00 2001 From: cturner Date: Tue, 12 Oct 2004 16:42:58 +0000 Subject: [PATCH] since we removed brp-compress, we still need gz endings on extenions --- perl.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perl.spec b/perl.spec index 9210170..724f3f0 100644 --- a/perl.spec +++ b/perl.spec @@ -369,6 +369,12 @@ find $RPM_BUILD_ROOT -type f -or -type l > MANIFEST.all find $RPM_BUILD_ROOT -type d -printf "%%%%dir %p\n" >> MANIFEST.all %{new_perl} -i -p -e "s|$RPM_BUILD_ROOT||g;" MANIFEST.all + +# add .gz to all the entries in the man directories. necessary since +# brp-compress takes place after the manifest is built but the %files +# section must match what it ends up renaming files into +%{new_perl} -i -p -e 's((^/usr/share/man/.*))($1.gz)g' MANIFEST.all + cp MANIFEST.all /tmp for i in %{SOURCE10}