sudo yum install rpmdevtools rpm-build redhat-rpm-configInitialize the directory hierarchy for your custom build RPM packages as a regular user:
rpmdev-setuptreeOptionally add additional attributes into
~/.rpmmacros
, e.g.:
echo '%packager Your Name <your.name@foo.bar>' >> ~/.rpmmacrosUse
rpmbuild
to build RPM from a source RPM or from a SPEC file:
rpmbuild --rebuild package.src.rpm rpmbuild -bb package.spec
No comments:
Post a Comment