[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: spec file, with multiple architectures



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                              mooney dogbert cc ndsu NoDak edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]