Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
RPMNotes
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
You can set up RPM to let normal users compile source RPMS without having to su to root all the time. Simply copy this into ~/.rpmmacros %packager You <email> %distribution Personal custom flag %vendor You %_signature gpg %_gpg_path ~/.gnupg %_gpg_name your gpg name %_gpgbin /usr/bin/gpg %_topdir /home/user/redhat %_tmppath /var/tmp/rpm %_rpmtopdir %{_topdir} %_builddir %{_topdir}/BUILD %_rpmdir %{_rpmtopdir}/RPMS %_sourcedir %{_rpmtopdir}/SOURCES %_specdir %{_rpmtopdir}/SPECS %_srcrpmdir %{_rpmtopdir}/SRPMS If you don't want to sign the packages you can comment out/delete the lines from %_signature to %_gpgbin You can also change %_topdir to your liking. You will need to recreate the directory tree to compile into: mkdir BUILD RPMS SOURCES SPECS SRPMS cd RPMS; mkdir athlon i386 i486 i586 i686 noarch Now you can run: rpmbuild --rebuild <package name> as a normal user and install the package(s) that will be in redhat/RPMS/arch ---- UserSubmittedNotes
2 pages link to
RPMNotes
:
UserSubmittedNotes
AlsaNotes