rpmvercmp znow ma inne poglady ?
Michal Moskal
malekith w pld-linux.org
Pią, 18 Cze 2004, 21:36:32 CEST
On Fri, Jun 18, 2004 at 04:08:50PM +0200, Paweł Sikora wrote:
> On Friday 18 of June 2004 15:48, Arkadiusz Miskiewicz wrote:
> > On Friday 18 of June 2004 15:36, Paweł Sikora wrote:
> > > # rpmvercmp 0.35-2.1 w 2.6.7_1 0.35-2 w 2.6.7_1
> > > 0.35-2.1 w 2.6.7_1 < 0.35-2 w 2.6.7_1
> >
> > 2 < 2 w 2
>
> zatem moze tak znakujmy: %{version}@%{_kernel_ver_str}-%{_rel} ?
>
> # rpmvercmp 0.35 w 2.6.7_1-2.1 0.35 w 2.6.7_1-2
> 0.35 w 2.6.7_1-2.1 > 0.35 w 2.6.7_1-2
$ rpmvercmp 0.35.1 w 2.6.7_1-2.1 0.35 w 2.6.7_1-2
0.35.1 w 2.6.7_1-2.1 < 0.35 w 2.6.7_1-2
--
: Michal Moskal :: http://www.kernel.pl/~malekith :: GCS !tv h e>+++ b++
: ::: Logic is a nice contrast to the Real World. :: UL++++$ C++ E--- a?
Więcej informacji o liście dyskusyjnej pld-devel-pl