0

In my project I use --rcfile option for rpmbuild settings ... however with new rpm version (5.1.6) this option is not available ... how can I replace the rpmrc file with the new version .. Any doc for help ?

BenMorel
  • 34,448
  • 50
  • 182
  • 322
tuban
  • 4,775
  • 3
  • 16
  • 14

2 Answers2

0

There was this post from the mailing list that explains some options for getting around the removal of the --rcfile command.

Forrest
  • 1,370
  • 9
  • 20
0

Set %optflags in a file and use --macros to point to the file is the replacement for --rcfile. You can use a macro like %{target_cpu} in the path if you wish to have multiple arches supported by a single --macros invocation.

Jeff Johnson
  • 2,310
  • 13
  • 23