Creating an rpm from scratch

David G. Miller dave at
Thu Mar 14 22:27:17 UTC 2013

Bill Davidsen <davidsen <at>> writes:

> I am happy to say the last rpm I had to create was back during 2.5 development
> testing days. Now I would find it convenient to roll another, and I'm hoping 
> there's by now a better tools to help create an rpm from scratch, something 
> more intuitive than the man page in one window and vi in the other.
> Is there?
Maximum RPM is still the definitive work on how to build RPMs:

Be aware that rpm tends to evolve over time and rpmbuild is not necessarily
"backwards compatible."  You need to use the version of rpmbuild that matches
the oldest distribution you want to install on.  My last gig had a lot of people
on RHEL 5.X so I had to build on an RHEL 5.X platform.  The resulting rpm still
worked on RHEL 6 and Fedora.


More information about the users mailing list