Amanda-Users

Re: zmanda SRPM error

2008-08-14 16:43:35
Subject: Re: zmanda SRPM error
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: FM <dist-list AT lexum.umontreal DOT ca>
Date: Thu, 14 Aug 2008 16:18:50 -0400
On Thu, Aug 14, 2008 at 11:56 AM, FM <dist-list AT lexum.umontreal DOT ca> 
wrote:
> Redhat enterprise 5.2 32 bits version

(replying for dan, who's on a plane)

The ".2" confuses the integer expression on line 77.  Since the
release, we haved changed to using expressions like this:

    %if %(awk '$1 == "Red" && $7 ~ /5.*/ { exit 1; }'
/etc/redhat-release; echo $?)

You can edit the .spec file similarly.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com

<Prev in Thread] Current Thread [Next in Thread>