Creating an rpm from scratch
h.reindl at thelounge.net
Thu Mar 14 19:51:15 UTC 2013
Am 14.03.2013 20:43, schrieb Bill Davidsen:
> 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?
* the sources
* a SPEC file
* read the prepare steps
* taje a existig src.rpm
* unpack it
* try to understand it
* rpmbuild -bb specfile.spec
* wise: rpmbuild -bs specfile.spec to have your won ".src.rpm"
whiche can be installed with "rpm -ivh" on any hosts and any
users rpmbuild-tree to reuse it and contains any sources, patches
and the SPEC
DO NOT BUILD RPMS AS ROOT
i am dealing with this since years each day for override
fedora packages or build unpacked things because my personal
rule is "anything for which i can not build my own RPM
is strictly not allowed on any of my machines"
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 263 bytes
Desc: OpenPGP digital signature
More information about the users