On Tuesday 22 August 2006 17:55, BandiPat wrote:
On Tuesday 22 August 2006 16:39, Russbucket wrote: [...]
Lee is there any document that would describe the setup for 10.0. I changes the references to reflect 10.0 where you had 10.1. I know I need to use y2pmbuild-10.0 But I'm not sure about the references to the directories. I assume it will use the default rpm build stuff in /usr/src/packages
Thanks for providing the spec file. This is the first time I'm trying to build an RPM. -- Russ
==========
There should be very little change from 10.0 to 10.1 Russ. Just make the changes you want, if anything is wrong, the compile will let you know. Drop your spec file in /usr/src/packages/SPECS/ and your source file, tar file into /usr/src/packages/SOURCES/.
Run, from a shell as root, the command: rpmbuild -ba --target i686 /usr/src/packages/SPECS/<name of spec file>
That will build both your src.rpm and optimized i686 rpm. You'll see at end of your compile where the files are put, so you can install them and/or save them.
If all is well with your system, you should get a couple of files to use.
regards, Lee Thanks for all the help. I will try and build it tomorrow. -- Russ