When you mean 'nuke all other files' what do you want to mean? Delete all other files?
If I download the source package (e.g. bash-3.2-24.el5.src.rpm for Red Hat 5), install it, grab only the spec file and put it in /usr/src/redhat/SPECS/ directory, put all other files in /usr/src/redhat/SOURCES/ directory and try to do a rpmbuild -ba /usr/src/redhat/SPECS/bash.spec, could it work?
2010/9/23 Sam Varshavchik <mrsam@xxxxxxxxxxxxxxx>
Bruno Galindro da Costa writes:
Hi,I need to use rpmbuild or bash have a "make rpm" directive (like drbd -> <URL:http://www.drbd.org/users-guide/s-build-rpm.html>http://www.drbd.org/u sers-guide/s-build-rpm.html) ?
How can I buid a rpm packge from bash 3.2 source ?
I´ve downloaded bash source from <URL:http://ftp.gnu.org/gnu/bash/bash-3.2.tar.gz>http://ftp.gnu.org/gnu/bas h/bash-3.2.tar.gz
The quickest way is to grab a bash source rpm from some older version of Fedora, and modify the spec script to have the binary installed as /bin/bash3, and nuke all other filse (otherwise they'll conflict with the existing package).
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
--
Att.
Bruno Galindro da Costa
bruno.galindro@xxxxxxxxx
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines