[Fedora-packaging] Conditional comparision doesn't work

Bruno Wolff III bruno at wolff.to
Sat Apr 9 17:52:51 UTC 2011


On Sat, Apr 09, 2011 at 19:48:47 +0200,
  Michael Schwendt <mschwendt at gmail.com> wrote:
> 
> $ rpmdev-vercmp 4.8.10 4.8.3
> 0:4.8.10-None is newer

Would it be possible to run something like:
rpmdev-vercmp 4.8.10 4.8.3 > /dev/null;echo $?
in the spec file and compare the output to 0, 11 or 12?


More information about the packaging mailing list