how can i override the macros file list with rpm or rpmbuild?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  the first simple question which will probably lead to a followup -- 
what's the recommended way to override the macros files list to both rpm 
and, more importantly in my case, rpmbuild?

  to see the current settings, i've run:

  $ rpmbuild --showrc

  which lists, as part of its output:

RPMRC VALUES:
macrofiles            : 
/usr/lib/rpm/macros:/usr/lib/rpm/i386-linux/macros:/usr/lib/rpm/redhat/m
acros:/etc/rpm/macros.specspo:/etc/rpm/macros.cdb:/etc/rpm/macros.prelink:/etc/rpm/macros.solve:
/etc/rpm/macros.up2date:/etc/rpm/macros:/etc/rpm/i386-linux/macros:~/.rpmmacros

  now, according to the output of "rpmbuild --help", i should be able to 
override that list of macros files with the option "--macros=<file list>", 
no?  so, i try:

  $ rpmbuild --macros=bogusfile --showrc

and yet, the output doesn't change.  shouldn't i see new macro files 
output in the output?  isn't that the whole point of "--showrc"? to show 
me the effective settings when i run the command?

rday


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux