Mailinglist Archive: opensuse-packaging (60 mails)

< Previous Next >
Re: [opensuse-packaging] Distribution: tag
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Mon, 13 Mar 2006 12:23:38 +0100
  • Message-id: <20060313112338.GA14006@xxxxxxx>
On Mon, Mar 13, 2006 at 12:14:47PM +0100, Pascal Bleser wrote:
> It would be nice if RPM(build) did something like
> #include /etc/rpm.d/*
> when pulling macro definition files because that way, one could
> provide his macros as an RPM package and "BuildRequires" it in the
> spec file.

Actually it does for 10.1:

$ grep macros /usr/lib/rpm/rpmrc
macrofiles: /usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/usr/lib/rpm/suse_macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros

There's a 'wildcard' entry in it: /etc/rpm/macros.*

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}

< Previous Next >