« Return to Thread: [Cooker] Does /usr/lib/rpm/platform/i686-linux/macros get used?

Re: [Cooker] Does /usr/lib/rpm/platform/i686-linux/macros get used?

by Colin Guthrie-8 :: Rate this Message:

Reply to Author | View in Thread

'Twas brillig, and vatbier at 02/07/09 23:21 did gyre and gimble:

> And what are all the *.macros files for in /etc/rpm/macros.d and how do
> you choose to compile for one of those *.macros files?

I'm not an expert in the other fields, but whenever you see a folder
ending in .d, it generally means *all* the files in that folder are
parsed as part of the overall config. e.g. compare it to /etc/php.d and
/etc/modprobe.d and /etc/httpd/conf/vhost.d.

This is basically a configuration extension to make packaging easier. If
each of the apps in question only parsed one config file, any package
that extends that app (e.g. a php module) would have to edit the main
config file. This is unworkable in a modular system.

So just htink of .d folders as extensions to the a single config file.

Col


--

Colin Guthrie
cguthrie(at)mandriva.org
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]

 « Return to Thread: [Cooker] Does /usr/lib/rpm/platform/i686-linux/macros get used?