About removing libtool file
On Mon, 21 Feb 2011 21:41:07 -0300, Sergio wrote:
> 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