Changes

Jump to: navigation, search

ReleaseEngineering/How To/Create a new RPM

196 bytes added, 18:48, 10 February 2011
Spec Files
{{Release Engineering How To|Create a new RPM}}
 
= Repositories =
Guess what? We have an [http://hg.mozilla.org/build/rpm-sources/ rpm-sources] repo. Keep the specs in there, and '''comment them heavily'''. That means updating the ChangeLog, and more importantly it means describing verbosely where various tarballs come from.
= Spec Files =
* Guess what? We have an [http://hg.mozilla.org/build/rpm-sources/ rpm-sources] repo
<p>This section will not go over all the ins and outs of RPM spec file creation, but will talk about which machines it should be done on and show a couple examples. In general, there's two different ways we package things in an RPM. Firstly, there's the more "normal" build & installation in a spec file. Whenever possible, it's best to use this method of deployment. It makes RPM rebuilding simpler and often allows the same spec file to be used across multiple platforms. A simple example of this is the zope.interface package. Its spec file is as follows:</p>
Canmove, confirm
1,394
edits

Navigation menu