[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Different "Release" numbers in binary and source RPMs?



On Fri, 29 Sep 2000, Mike A. Harris wrote:

> The name-version-release is the identifying part of the package
> name.  Whatever the source package name-version-release is the
> resulting arch files will become as well.
>
Well, that's not the case for subpackages - it's possible to have
different version and release strings for subpackages, why not for main
package?

> If you want to build
> for different RedHat versions, create a script to modify the spec
> before the build.  This is often done using a package.spec.in
> file and having awk or sed modify the release number accordingly.
> 
I want to be able to run 
rpm --rebuild ....n.src.rpm
and get ....n.rhx.y.arch.rpm out of it.

> What you're trying to do is not possible I don't believe, and if
> it were it would cause confusion as people with the
> package-1.0.0-1rh6.2.i386.rpm would look for a source RPM named
> package-1.0.0-1rh6.2.src.rpm, but yours wouldn't be called
> that.
>
Not really, rpm -qi tells the name of the source package and tools like
rpm2html know how to give links to correct source packages.

> That goes against what the release number is meant for.
> 
Not really - if I want to be able to build different binary packages from
a single source package, why not give these binary packages different
subrelease numbers?

Alexey
--------------------------------------------------------------
Home Page: http://nogin.org/
E-Mail: nogin@cs.cornell.edu (office), ayn2@cornell.edu (home)
Office: Upson 4139, tel: 1-607-255-4934





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []