[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Different "Release" numbers in binary and source RPMs?
- From: Alexey Nogin <ayn2 cornell edu>
- To: rpm-list redhat com
- Subject: Re: Different "Release" numbers in binary and source RPMs?
- Date: Thu, 28 Sep 2000 20:56:34 -0400 (EDT)
On Thu, 28 Sep 2000, Mike A. Harris wrote:
> >Is it possible to have different Release numbers in binary and source
> >RPMs? I want to be able to have Release: n.rhx.y in binary RPMs built on
> >RedHat x.y, but the source RPM to simply be Release:n.
>
> %define release 1rh%([ -f /etc/redhat-release ] && cat /etc/redhat-release |awk '{print $5}' )
>
Yes, sure, I have
%define rh_release %(rpm -q --queryformat '%{VERSION}' redhat-release)
but that's not the problem...
> So you'd end up with:
>
> package-1.0.0-1rh6.2.src.rpm - on a 6.2 system.
>
Yes, and that's the problem - my question is how do I end up with
1.rh6.2.i386.rpm _and_ 1.src.rpm? I do not want to have the RH release
number in the name of the source RPM since it gives people a misconception
that it wouldn't build on other versions of RH.
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]
[]