Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Packaging (http://www.linux-archive.org/fedora-packaging/)
-   -   About removing libtool file (http://www.linux-archive.org/fedora-packaging/492510-about-removing-libtool-file.html)

Sergio Belkin 02-21-2011 11:41 PM

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

Michael Schwendt 02-22-2011 08:22 AM

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


All times are GMT. The time now is 06:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.