2009-05-08

rpm, rpmbuild and macros

When building rpms, avoid using root account. Fedora11 by default does this. For the rest, create ".rpmmacros" in your home directory, with the line below

%_topdir %{getenv:HOME}/rpmbuild


for added bonus, people using multi-lib capable architecture ( x86_64), should add the line below to rpmmacros

%_solve_name_fmt %{?_solve_pkgsdir}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}


reference:
how-to-patch-and-recompile-source-rpm

No comments:

Post a Comment

GitLab runner on Windows with bash shell on windows contianer on Docker

As part of your pipeline, you may need to perform browser testing across different platforms/environments. To minimize testing time, it'...