[Rpm-maint] [rpm-software-management/rpm] RFE: Configurable macro file search path(s) (#363)
Neal Gompa (ニール・ゴンパ)
notifications at github.com
Mon Mar 5 15:41:37 UTC 2018
@voxik No, no no. You can put the macros wherever, just have a `%{load:..}` directive that points to it.
If I remember correctly, you can also do something like `%{load:/opt/<vendor>/<collection>/rpm/macros.d/macros.*}` to load it.
However, you have to be careful, since if the macros don't exist, the spec will just break. So what you can do is control it with an `%is_scl` macro that turns it on.
Something like this:
```
%{?is_scl:%{load:/opt/fedora/ruby99/rpm/macros.d/macros.*}}
```
--
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/363#issuecomment-370460367
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180305/518e6a7d/attachment.html>
More information about the Rpm-maint
mailing list