On Tue, Mar 11, 2003 at 07:44:00PM -0800, Carlos wrote: > > errr.. mike i'm not trying to build an rpm i'm trying to > rebuild a .src.rpm file... but i got errors :(
Oh... what do you mean? Rebuilding an src.rpm will eventually generate a binary or noarch rpm... > i tried "rpm --rebuild xxxx.src.rpm" but it had some errors, > my question is, is there a way to rebuild .src.rpm's that > ignore errors? The only way I know is you install that src.rpm via "rpm -ivh" and it should extract it's spec file in the SPECS directory, and source tarballs, patches, etc. in the SOURCES directory. These rpm build directories should be in /usr/src/redhat if you're on Red Hat, and /usr/src/RPM I think on Mandrake. You may also redefine the location via %_topdir. Anyways, all you need to do is take a look at the extracted spec, particularly the %files section. Once you're done "tweaking", proceed on building the rpm with "rpmbuild -ba xxxx.spec". BTW, posting the actual error logs here would surely help... -- mike at maravillo dot org _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
