simple way to build rpm?

Todd Zullinger tmz at pobox.com
Wed Sep 9 13:52:09 UTC 2009


Valent Turkovic wrote:
> I haven't made rpm package from source a looong time ;)
>
> The procedure used to be very simple:
>
> ./configure
> make
> checkinstall make install

Ewww, checkinstall is _not_ recommended¹ (and never was by anyone
worth listening to as far as I am concerned).

> What is the way to simple make a rpm packet?

There is a nice document on the Fedora wiki describing the process:

http://fedoraproject.org/wiki/How_to_create_an_RPM_package

¹ One of the problems with checkinstall (as of the last time I
remember looking at it) was that it wants to be run with root
privileges.  One of the most important rules in rpm packaging is:
NEVER BUILD PACKAGES AS ROOT.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TEAMWORK ... means never having to take all the blame yourself.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20090909/83d0e9f3/attachment-0001.bin 


More information about the users mailing list