Re: About removing libtool file

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux