[Rpm-maint] [rpm-software-management/rpm] Implement prepend and append modes for all our normal build scriptlets (PR #2728)

Panu Matilainen notifications at github.com
Fri Oct 20 09:00:33 UTC 2023


Allows %build, %install, %check, %clean and %generate_depends to be augmented arbitrary number of times by appending or prepending to them. The main use-case is to support automatic population of these sections (declarative builds) while still allowing packagers to easily tweak them, but could also be useful for complicated conditional specs and such.

%prep is missing from the list because it's way too special at the moment, it'll gain this capability when #2205 is fixed.

Related: #1087
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2728

-- Commit Summary --

  * Implement prepend and append modes for all our normal build scriptlets

-- File Changes --

    M build/parseSimpleScript.c (59)
    M docs/manual/spec.md (7)
    A tests/data/SPECS/append.spec (33)
    M tests/rpmbuild.at (18)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2728.patch
https://github.com/rpm-software-management/rpm/pull/2728.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2728
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2728 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231020/a7c49abb/attachment-0001.html>


More information about the Rpm-maint mailing list