[Rpm-maint] [rpm-software-management/rpm] Check for mandatory tags after parsing the Spec the first time (PR #3158)
Florian Festi
notifications at github.com
Tue Jun 11 11:51:49 UTC 2024
Generating mandatory tags dynamically has them missing in SRPMs if build with rpmbuid -bs or such. To prevent this from happening check the source header right after the initial parse rn of the spec file. This is more strict than before relaxing this for dynamic spec feature as now errors can come up even if no package is actually build.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/3158
-- Commit Summary --
* Add License tag to test SPEC files
* Adjust the tests to disallow dynamic tags in SRPMs
* Check Source header for mandarory tags
-- File Changes --
M build/parseSpec.c (12)
M tests/data/SPECS/autosetup-noroot.spec (1)
M tests/data/SPECS/autosetup-singleroot.spec (1)
M tests/data/SPECS/dynamic.spec (2)
M tests/rpmbuild.at (14)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/3158.patch
https://github.com/rpm-software-management/rpm/pull/3158.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3158
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3158 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240611/7e84b69e/attachment.html>
More information about the Rpm-maint
mailing list