User Tools

Site Tools


tips:linux:compilesrcpkg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tips:linux:compilesrcpkg [2009/06/08 08:24] – created eriktips:linux:compilesrcpkg [2009/06/08 08:25] (current) erik
Line 1: Line 1:
 +====== How to compile a source package? ======
  
 +In ''/usr/src/redhat/SPECS'' execute:
 +
 +  rpmbuild -ba -v --target=i686 <package-name>.spec
 +
 +To remove/clean execute:
 +
 +  rpmbuild -clean -rmsource -rmspec <package-name>.spec