[Rpm-maint] [rpm-software-management/rpm] Add a better way to run and control buildroot policy (brp) scripts (Issue #2207)

Florian Festi notifications at github.com
Thu Sep 29 08:11:42 UTC 2022


For now build root policy scripts are just shipped in the [scripts/](https://github.com/rpm-software-management/rpm/tree/master/scripts) and it is left to the distributions to run them in ` %__os_install_post` ([Fedora as an example](https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/macros#_240)).

This is no ideal for multiple reasons:

- There is no uniform way to do this across distributions
  - Disabling some scripts in a spec can be distribution dependent 
- There is a central place that needs adjustment
- brp scripts that come from other (rpm-config) packages are hard to integrate
- There is no upstream default that distributions can decide to follow or deviate from

So a better mechanism is wanted. May be something more akin to a `.d` directory to put stuff in that is run by default with a way to disable things per macro.

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

Message ID: <rpm-software-management/rpm/issues/2207 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220929/75543b50/attachment-0001.html>


More information about the Rpm-maint mailing list