Menu

How to specify macros?

Help
2006-08-11
2013-03-22
  • Carlos A Pereira

    Hi,

    I saw on the docs page that if I'm not a root user, I have to specify the macro "$_topdir '/home/mypath/rpm' in "~/.rpmmacros". What is "~/.rpmmacros", where is it, and how do I do this?

    Is this related to this error?
    "error: File /usr/src/packages/SOURCES/postgresql-7.4.13.tar.gz: File not found"

    I'm using SuSE 10.1

    thank you...

     
    • Wolfgang Beutner

      Hi,

      well no problem. You have to specify the macro %_topdir NOT $topdir. The file .rpmmacros is located in your home directory, the directory you are when having logged in. The '~' is used as a shortcut for /home/<username>.

      Greetings,

      Wolfgang

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.