rpms/new/devel new.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael A. Peters mpeters at mac.com
Tue Dec 20 08:15:33 UTC 2005


On Tue, 2005-12-20 at 08:41 +0100, Ralf Corsepius wrote:

> > --- NEW FILE new.spec ---
> 
> > %install
> > rm -rf $RPM_BUILD_ROOT
> > %makeinstall
> > rm -f ${RPM_BUILD_ROOT}/usr/lib/libnewfmt_ptrn.a
> > rm -f ${RPM_BUILD_ROOT}/usr/lib/libnewfmt_ptrn.la
> > rm -f ${RPM_BUILD_ROOT}/usr/lib/libnewtemplate.a
> > rm -f ${RPM_BUILD_ROOT}/usr/lib/libnewtemplate.la
> Is this really correct?
> 
> I guess, you actually want 
> 
> rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.*a

Spec file should have --disable-static as a %configure switch (it
respects it).

Then only the *.la files would need to be removed after %makeinstall




More information about the fedora-extras-list mailing list