Link to home
Start Free TrialLog in
Avatar of lolaferrari
lolaferrariFlag for United Kingdom of Great Britain and Northern Ireland

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
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

create a file ~/.rpmmacros with the content of
------
%_topdir %(echo $HOME)/rpmbuild
------

It tell rpmbuild command that the TOPDIR is set to ~/rpmbuild for that user.
Avatar of lolaferrari

ASKER

thanks so much - what do the % mean?
ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
very informative solution - thank you so much