On Wed, 2008-07-30 at 10:41 +0000, Mike C wrote: > Mark Haney <mhaney <at> ercbroadband.org> writes: > > > Yes you can use the current F9 src rpm and build it for F7. I did the > > same thing for FC6. As for Les' contention about the upgrade cycle, > > Thanks Mark - having never done this kind of building before is there a > good easy to follow link to a guide explaining the basic steps? > > I have had a brief look at > http://docs.fedoraproject.org/drafts/rpm-guide-en/ > http://www.redhatmagazine.com/2007/12/04/hacking-rpms-with-rpmrebuild/ > http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/ > \n RHEL510/html/Para-Virtualized_Drivers/ > \nchap-Para-Virtualized_Drivers-Rebuilding_the_RPM_packages_from_source_code.html > > But I don't seem to be able to apply these to the case of taking an F9 > (s)rpm and rebuilding for fc7? > Hi Please see below my notes to myself when doing the same for F5 Hope they help John tarifa hints_info 1003# cat bind_build_maui_F5 Down loaded latest bind source from [updates-source] name=Fedora $releasever - Updates Source failovermethod=priority #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/SRPMS/ ############################################################### [root@maui ~]# yum install yum-utils rpmdevtools As ja not root (I think !!??) maui.jaa.org.uk ~ 1004# rpmdev-setuptree rpm -i bind-9.5.0-33.P1.fc9.src.rpm ############################################################### cd rpmbuild/SPECS maui.jaa.org.uk SPECS 1015# rpmbuild -bb bind.spec error: Failed build dependencies: postgresql-devel is needed by bind-9.5.0-33.P1.i386 unixODBC-devel is needed by bind-9.5.0-33.P1.i386 ############################################################### As root again yum install postgresql-devel Installed: postgresql-devel.i386 0:8.1.9-1.fc5 Dependency Installed: postgresql.i386 0:8.1.9-1.fc5 Dependency Updated: postgresql-libs.i386 0:8.1.9-1.fc5 yum install unixODBC-devel Installed: unixODBC-devel.i386 0:2.2.11-6.2.1 ############################################################### As ja cd rpmbuild/SPECS rpmbuild -bb bind.spec Wrote: /home/ja/rpmbuild/RPMS/i386/bind-9.5.0-33.P1.i386.rpm Wrote: /home/ja/rpmbuild/RPMS/i386/bind-sdb-9.5.0-33.P1.i386.rpm Wrote: /home/ja/rpmbuild/RPMS/i386/bind-libs-9.5.0-33.P1.i386.rpm Wrote: /home/ja/rpmbuild/RPMS/i386/bind-utils-9.5.0-33.P1.i386.rpm Wrote: /home/ja/rpmbuild/RPMS/i386/bind-devel-9.5.0-33.P1.i386.rpm Wrote: /home/ja/rpmbuild/RPMS/i386/bind-chroot-9.5.0-33.P1.i386.rpm Wrote: /home/ja/rpmbuild/RPMS/i386/bind-debuginfo-9.5.0-33.P1.i386.rpm ############################################################### maui.jaa.org.uk SPECS 1018# rpm -qa|grep -i bind ypbind-1.19-0.i386 bind-9.3.3-0.2.rc2.fc5.i386!!!!!!!!!!!!!!!!!!!!!!!!!! system-config-bind-4.0.0-38_FC5.noarch bind-utils-9.3.3-0.2.rc2.fc5.i386!!!!!!!!!!!!!!!!!!!! bind-libs-9.3.3-0.2.rc2.fc5.i386!!!!!!!!!!!!!!!!!!!!! bind-chroot-9.3.3-0.2.rc2.fc5.i386!!!!!!!!!!!!!!!!!!! kdebindings-3.5.2-0.1.fc5.i386 ############################################################### As root rpm -U bind-9.5.0-33.P1.i386.rpm bind-chroot-9.5.0-33.P1.i386.rpm bind-libs-9.5.0-33.P1.i386.rpm bind-utils-9.5.0-33.P1.i386.rpm -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list