Re: spec file, with multiple architectures

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

 



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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux