Cannot configure SRPMS for redhat 9 Httpd?
Any how to links for setting up virtualmin tried every search
Thanks in advance!
3 Replies
Sunny's Absurdly Short Guide to Mucking with RPMS:
1) Create a little directory structure:
cd ~
for i in rpm "rpm/RPMS" "rpm/SRPMS" "rpm/SOURCES" "rpm/BUILD" "rpm/SPECS" "rpm/tmp" ; do mkdir "$i" ; done
2) Setup your rpm configuration files:
echo "%_topdir /home/$USER/rpm" >> ~/.rpmmacros
echo "%_tmpdir /home/$USER/rpm/tmp" >> ~/.rpmmacros
3) "Install" your source RPM:
rpm -ivh httpd.src.rpm
4) Your rpm SPEC file will be in rpm/SPECS. The pristine binaries and external patches will be in rpm/SOURCES. You can change whatever you like.
5) When you are done doing your changes, you can rebuild your SRPM with the fillowing command:
rpmbuild -ba httpd.spec
6) Your new RPM(s) will be in rpm/RPMS/$arch/ and your new SRPM (containing all the chnages you made) will be in rpm/SRPMS
The End
Bill Clinton
(aka sunny)
Really appreciate it.