FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 02-21-2011, 11:41 PM
Sergio Belkin
 
Default About removing libtool file

Hi,
It's stated at http://fedoraproject.org/wiki/Packaging/ReviewGuidelines:
"MUST: Packages must NOT contain any .la libtool archives, these must
be removed in the spec if they are built"

Is the same to exclude .la libtool archives that *remove" them? In
other words is compliant a spec file if does that?

Thanks in advance!

--
--
Sergio Belkin *http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 02-22-2011, 08:22 AM
Michael Schwendt
 
Default About removing libtool file

On Mon, 21 Feb 2011 21:41:07 -0300, Sergio wrote:

> Hi,
> It's stated at http://fedoraproject.org/wiki/Packaging/ReviewGuidelines:
> "MUST: Packages must NOT contain any .la libtool archives, these must
> be removed in the spec if they are built"
>
> Is the same to exclude .la libtool archives that *remove" them? In
> other words is compliant a spec file if does that?

"rm" without "-f" and %exclude give the same result. Both fail the build,
if the file to be deleted is not present in the %buildroot. You are free
to choose either one.

You may also use "rm -f" (and derived commands) at end of %install to remove
files, but that would not fail the build for files which have not been built
anymore prior to their removal. It's the brute-force "delete if present, else
don't care" removal of files from %buildroot.
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 

Thread Tools




All times are GMT. The time now is 10:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org