Suggests: tag is in rpm V5.6.0, (see rpm changelog), unfortunately it seems
disabled in redhat version. Thus, tests based on rpm version is not working.
I've updated the test and it should work now. It can build on ScientificLinux
6.0 / RHEL6.
Patch is attached and should be valid for all RHEL distros. (V4 V5 and V6)
--
Olivier LAHAYE
Responsable calcul scientifique
CEA DRT/LIST
+33 1 69 08 13 25
Index: yume.spec
===================================================================
--- yume.spec (révision 9418)
+++ yume.spec (copie de travail)
@@ -1,7 +1,7 @@
# $Id$
# Check if Suggests: tag can be sused.
-%define has_rpm_suggests %(echo "$(rpm --version |grep -E -o '[0-9]+(\.[0-9]+){0,1}'|head -1) >= 4.6"|bc)
+%define has_rpm_suggests %(rpm --help|grep suggests|wc -l)
Summary: Wrapper to yum for clusters
Name: yume
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel