lolaferrari
asked on
syntax of rpm build dir
could someone explain what the % mean here? and what this command is doing
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
ASKER
thanks so much - what do the % mean?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
very informative solution - thank you so much
------
%_topdir %(echo $HOME)/rpmbuild
------
It tell rpmbuild command that the TOPDIR is set to ~/rpmbuild for that user.