-
Notifications
You must be signed in to change notification settings - Fork 115
RPMBuild
ghantoos edited this page Oct 8, 2014
·
1 revision
This part is applicable as of lshell version 0.9.7.
In order to build your RPM using the source tar.gz:
$ wget https://github.com/ghantoos/lshell/archive/X.Y.Z.tar.gz
$ sudo rpmbuild -tb lshell-X.Y.Z.tar.gz
The generated RPM would then be found here:
/usr/src/redhat/RPMS/noarch/lshell-X.Y.Z-1.noarch.rpm
Thank you Michael Mansour for this excellent tip!
This part is deprecated as of lshell version 0.9.7.
Here are the steps you need to follow in order to create your own lshell RPM:
- download lshell's source file (i.e lshell-X.Y.Z.tar.gz) and save it in
/usr/src/redhat/SOURCES/lshell-X.Y.Z.tar.gz
- Download and save the SPEC file (replace "X.Y.Z" with your version number):
https://raw.githubusercontent.com/ghantoos/lshell/master/rpm/lshell.spec
- Create your rpm using the following command (as root):
rpmbuild -bb lshell.spec
- You should find your new RPM in:
/usr/src/redhat/RPMS/noarch/lshell-X.Y.Z-1.noarch.rpm