Dinesh Shah wrote:
Hi,
I have written a small howto for packagement. You can view it at
http://www.ShahMicro.com/guides/PackageManagement-HOWTO.txt
Your inputs and feedback is highly appreciated.
Here's the HTML version of the HOWTO:
http://www.codemartial.org/PackageManagement-HOWTO.html
It's a copy-paste from the plain-text thing with a little more formatting added but I suggest that you write it in LaTeX or something for the final version :) Oh, and copy it to your site ASAP coz I'll remove it in a day or two!
Two suggestions:
1) The section heirarchy in 5 has become too deep. Consider removing "5. Various Package Management Systems" and elevating all subsections one level up.
2) You may also mention that RPMs can be created from source tarballs that contain the spec.in file.
$ tar -tf tarball.tar.gz | grep spec.in spec.in $ rpmbuild -tb tarball.tar.gz
If the build is successful, you get an RPM in /usr/src/redhat/RPMS/<arch>/, where arch is your architecture like i386 or i686. You may also mention that the architecture can be forced using the --target option. The only reason why I touch SRPMs or tarballs is so that I can specify --target=i686 :D