Building Packages¶
RPM¶
commissaire’s spec file is located in the Fedora package repo.
Generate the Source Distribution¶
(virtualenv)$ ./setup.py sdist
...
Move Source Distribution To RPM Source¶
Note
Your rpmbuild root may be different! Check with your distribution.
(virtualenv)$ mv dist/*.tar.gz ~/rpmbuild/SOURCES/`./setup.py --version`.tar.gz
Build The Package¶
(virtualenv)$ rpmbuild -ba contrib/package/rpm/commissaire.spec
...
Your package should now be output in your rpmbuild root’s RPMS/noarch/
and
SRPMS
directories.