an rpm in the making (quick)

Lets see....

We have /usr/src/packages/
In there we got:
BUILD -- (where the build process happens)
RPMS -- (where we will find the resulting rpm ... in x86_64 or other)
SOURCES -- (where the files mentioned as sources in the .spec file live)
SRPMS -- (we dont care about you) and
SPECS -- (where the .spec files live)


we create the .spec file (dont ask how)

and we put the sources where they need to go

change to the /usr/src/pacakges/SPECS/ directory and run

rpmbuild --bb package-name.spec

and if your spec file is correct we should get an rpm ready in the /usr/src/packages/RPMS/x64_64/ directory

Have fun :)

Popular Posts