[Rpm-maint] [rpm-software-management/rpm] RFE: Disable subpackage check at SRPM build time (#674)

nim-nim notifications at github.com
Sun Apr 21 15:22:54 UTC 2019


@ignatenkobrain,

@eclipseo is trying to add a manual `%pre` to a spec to fix past packaging mistakes, applying one of the fedora fixup guidelines. It fails because the pre applies to a part of the spec that is not generated before `rpmbuild -bb` (not `rpmbuild -bs`) stage.

The `rpmbuild -bs` stage should not execute any assertion that applies to (sub)packages and `rpmbuild -bb`, because anything it needs has to be in the default build root, while `rpmbuild -bb` requirements can be kept build-specific via normal `BuildRequires`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/674#issuecomment-485260062
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190421/08d72f4f/attachment.html>


More information about the Rpm-maint mailing list