I have spent around 3 hrs now. How to override a macro during rpm build ?
I want to override _sbindir (/usr/sbin) to /opt/sbin I have edited rpm macro files both system and local user files nothing seems to be working for me.
I'm using Fedora 12.
Don't try and override _foo macros. But if you really must, add this to the top of your specfile.
%define _sbindir /foo
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago