Re: Wiki How_to_create_an_RPM_package#.25check_section

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

 



On Thu, Sep 5, 2013 at 3:02 PM, Michael Schwendt <mschwendt@xxxxxxxxx> wrote:
> IMO, %check should be placed after the %install section, because rpmbuild
> executes it after %install.

Some old rpm versions also don't support the %check section at all,
but it can still be used, it'll just become part of the section it
follows. As %check is meant to be run after %install, for those
rpmbuild versions it also needs to be placed after %install to
accomplish that ordering, and be written as "%check || :" so that line
won't break builds when passed to the shell as is. But OTOH those rpm
versions are probably relevant to very few if anyone these days.
--
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