From: Thierry Parmentelat Date: Tue, 29 Sep 2009 04:13:54 +0000 (+0000) Subject: add a Requires: towards python-uuid for python-2.4 / centos5 X-Git-Tag: sfa-0.9-3~20 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=89f6300c92a9955804818194410bad6284826065;p=sfa.git add a Requires: towards python-uuid for python-2.4 / centos5 build-dependency is already taken care of in devel.pkgs svn:keywords --- diff --git a/sfa.spec b/sfa.spec index 4772e68b..6d028549 100644 --- a/sfa.spec +++ b/sfa.spec @@ -1,4 +1,9 @@ -%define url $URL: svn+ssh://svn.planet-lab.org/svn/geniwrapper/trunk/geniwrapper.spec $ + +# +# $Id$ +# + +%define url $URL$ %define name sfa %define version 0.9 @@ -20,6 +25,8 @@ Vendor: PlanetLab Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} URL: %(echo %{url} | cut -d ' ' -f 2) +Summary: the SFA python libraries +Group: Applications/System BuildRequires: make Requires: python @@ -27,8 +34,11 @@ Requires: pyOpenSSL >= 0.7 Requires: m2crypto Requires: libxslt-python -Summary: the SFA python libraries -Group: Applications/System +# python 2.5 has uuid module added, for python 2.4 we still need it +%define uuid_missing %(`python -c "import uuid" 2> /dev/null ; echo $?`) +%if uuid_missing +Requires: python-uuid +%endif %package plc Summary: the SFA wrapper arounf MyPLC