...
Quote:> > > > If you do a rpm -Uvh or rpm -ivh to the source rpm then you
> > > > should get the tar.gz'ed source in the /usr/src/redhat/SOURCE directory
> > > > and the spec in /usr/src/redhat/SPEC directory.
> > > this presupposes that you already have the old source rpm. if you do
> > > not, you have to 1) download the new source 2) download the old
> > > src-rpm. note that step 2) contains the old sources which are 1)
> > > superceded by the new source and hence superflous and 2) often large.
> > If the builder distributes patches, you only need to download the
> > original src.rpm, and apply patches.
> > Either way, if you do not have the source, you either download a binary,
> > or you download the source.
> > As seen below, this is precisely what the previous poster indicated.
> what if the builder doesn't offer a patch. you want to roll up a new
> rpm from the newer sources and wish to borrow from past rpm spec
> files. you have to download the source twice. it's annoying.
And if the maintainer does not distibute patches, and distributes in
tarball, you have to download the news source there to. Same with *any*
system if you don't have patches available, with the exception of CVS.
Quote:> > > > Just download the patch
> > > > and place it in the SOURCE directory and add the proper lines to the spec
> > > > files (Patch[n]: patch.tar.gz where n is some integer at the top of the
> > > > spec file and a corresponding %patch[n] -your_options_to_patch before the
> > > > %build). Then after a rpm -bb your.spec or rpm -ba your.spec the binary
> > > > rpm should appear in /usr/src/redhat/RPM hierarchy and the source rpm in
> > > > /usr/src/redhat/SRPMS.
> > > sometimes hacking the spec file is a lot of trouble. i spent a few
> > > hours hacking the egcs-1.1.2 rpm-spec file to make it do gcc-2.95.
> > > really, it'd be very nice to have no-source rpms with just the spec
> > > file and patches.
> > Complain to the maintainer of the app.
> > RPM is fully capable of these.
> it's not.
Yes, it is.
Quote:> when you build from a spec, rpm makes binarary rpms and source rpms.
> it does not make a package containing spec file and patches *without*
> the main source tarball.
Then perhaps you should tell that to my no-source rpms?
An rpm will distibute whatever you tell it to.
If you want, you can have an *empty* rpm, or an rpm of config files, or
....
Quote:> > It is up to whomever maintains the rpms (not always the same as whomever
> > maintains the app) to distribute these.
> i want a no-source rpm. i want the source-less rpms to be found on
> ftp sites. the application maintainer cannot change this situation
> one way or another. (unless you are talking about the maintainer of
> the rpm application only.)
Whomever is making the rpm for that particular application is who to
talk to about no-source rpms.
RPM *is* fully capable of doing this.
Quote:> i really like sources who are kind enough to include an
> rpm spec file within the tarball. this, an application maintainer,
> can do.
Yes, they can. And they can use rpm to do it. It is not always the case
that the person who makes the rpm is the maintainer of the software. In
either event, rpm is fully capable of what you are wanting, and there
are those that *do* do this, myself included. Again, if a particular app
does not, complain to the maintaner of the rpm.
--
Bill Anderson Linux/Unix Administrator, Security Analyst
My opinions are just that; _my_ opinions.