Sam, 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 <[email protected]> > Bruno Galindro da Costa writes: > > Hi, >> >> How can I buid a rpm packge from bash 3.2 source ? >> 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) ? >> >> I´ve downloaded bash source from <URL: >> http://ftp.gnu.org/gnu/bash/bash-3.2.tar.gz>http://ftp.gnu.org/gnu/bash/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 > [email protected] > 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 [email protected]
-- users mailing list [email protected] To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
