ReleaseEngineering/PuppetAgain/HowTo/Build RPMs: Difference between revisions

Jump to navigation Jump to search
Line 34: Line 34:
Spec files used to build packages used in the infrastructure should be identical to the ones in http://hg.mozilla.org/build/puppet under modules/packages/manifests/mozilla.  If not, figure out what the differences are, and which corresponds to the running version of the package.
Spec files used to build packages used in the infrastructure should be identical to the ones in http://hg.mozilla.org/build/puppet under modules/packages/manifests/mozilla.  If not, figure out what the differences are, and which corresponds to the running version of the package.


If you're starting a fresh package, make yourself a new .spec file and download any Source files to the current directory.
If you're starting a fresh package, make yourself a new .spec file and download any source files archive to the current directory. E.g., in order to build mercurial 3.1.2, mercurial-3.1.2.tar.gz needs to be in $PWD.


Edit the spec file to your heart's content.  To actually build the .src.rpm:
Edit the spec file to your heart's content.  To actually build the .src.rpm:
Confirmed users
107

edits

Navigation menu