Re: Building RPMs from tarballs
- From: bob kehs ksd org
- To: Zach Frey <zfrey bright net>
- cc: James Henstridge <james daa com au>, gnome-list gnome org, recipient list not shown: ;
- Subject: Re: Building RPMs from tarballs
- Date: Mon, 8 Feb 1999 07:27:04 -0800 (PST)
no. A tar file can generate a bunch of rpms.
most of the time it makes 3.
filename.i386.rpm
filename-devel.i386.rpm
filename.src.rpm
On Mon, 8 Feb 1999, Zach Frey wrote:
> James Henstridge wrote:
> >
> > When you do "rpm -ta tarfile.tar.gz", rpm extracts the first .spec file
> > from the archive and puts it in /usr/src/redhat/SPECS and puts the archive
> > in /usr/src/redhat/SOURCES. It then calls "rpm -ba" on this spec file.
> > If the version number is wrong in the spec file, it won't be able to find
> > the archive properly (because different versions of a package have
> > different names), so the build fails.
> >
> > You are better off doing this first bit yourself (maybe use mc to poke
> > around in the archive). Then check the spec file to make sure the version
> > is correct. Most GNOME packages use a macro to specify the version up the
> > top so this is pretty easy to do. Then call rpm -ba on it. If you get
> > any errors, see if you can find where the bug is, fix it and send a note
> > to the author through bugs.gnome.org.
>
> After the 'rpm -ba something.spec' command, what is the expected result?
> The man page says "Build binary and source packages". I *think* this
> means
> that I'm supposed to have two .rpm files after 'rpm -ba ...' has
> completed.
> Is my understanding correct?
>
> I do not seem to be getting either (a) a .rpm file or (b) an installed
> RPM
> per 'rpm -qa | grep <name>' after doing 'rpm -ba foo.spec'. Am I doing
> something wrong, or is this a bug I should report?
>
>
> Zach
>
>
> --
> FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> To unsubscribe: mail gnome-list-request@gnome.org with
> "unsubscribe" as the Subject.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]