Ken Schneider wrote:
On Mon, 2005-12-12 at 13:25 -0500, Greg Freemyer wrote:
It has been awhile since I have needed to compile a *.src.rpm package.
Can someone walk me thru it.
In particular I'm trying to get ruby-1.8.3 installed on SUSE 10.0 box.
I have downloaded the ruby-1.8.3-3.src.rpm file from the OSS factory.
I have done a simple "rpm -i ruby-1.8.3-3.src.rpm" and now have several files in /usr/src/packages/SOURCES and the spec file in SPECS.
I have untarred the ruby-1.8.3.tar.bz2. What are the next steps?
No need to untar anything. Use rpmbuild -bb
to create an rpm file which will be under /usr/src/packages/RPMS/ and then install with rpm or YaST.
Or he could use rpmbuild --rebuild package.src.rpm from the start, no need to install the src.rpm first. Cheers, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany