Re: spec file, with multiple architectures

Tim Mooney <[email protected]> Mon, 17 Mar 2008 16:41:30 -0500 (CDT)
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
In regard to: Re: spec file, with multiple architectures, Richard Shade...:

>> However, packaging the perllocal.pod is (I think) a bad idea.  You're
>> better off just skipping that file
>
> Is this what you mean by skipping it?
> %exclude %{_libdir}/perl5/5.8.8/%{_arch}-linux-thread-multi/perllocal.pod

I've never used %exclude, but I assume that would work.  We typically
just do this in the %install section:

 	find $RPM_BUILD_ROOT -name perllocal.pod -type f -exec rm -f {} \;

and then just don't even mention that file in the %files section.

Tim
-- 
Tim Mooney                              [email protected]
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164