Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Configurable macro file search path(s) (#363)

2017-11-28 Thread Jan Staněk
@n3npq @Conan-Kudo Thanks a lot for pointing that out – I kind-of feel like I 
should RTFM more .

> Have you thought about using the %{load: in the spec to load extra macros?

@Conan-Kudo: This might again be just search issue, but could you point me to 
the documentation of the `%{load:...}` directive? I cannot seem to find it on 
the rpm.org page…

-- 
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-347482688___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] RFE: Configurable macro file search path(s) (#363)

2017-11-24 Thread Jan Staněk
Currently, RPM looks for macro definitions in only one directory, which is 
hard-coded and cannot be changed.

This pose significant complication for packaging of RPM Software Collections 
which need to provide their own version of macro files – basically, the SCL 
installs all its files into `/opt//` prefix **except** the 
macro files, which it has to install system-wide. The process also usually 
requires heavy modification of said macro files in order for them to not 
conflict with the "native package" macro files. (As a side note, this 
modification could benefit from [some kind of name 
spacing](https://github.com/rpm-software-management/rpm/issues/246).)

Would it be possible to consider adding a configurable/extandable macro search 
paths?

-- 
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___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint