X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa.spec;h=b5d9c42cadc8f7325646841cd76957656a639f63;hb=7a05f8a41063cd583097511bb4f36629915e06c1;hp=311e4a53f952602e979391ec913dada6f3b2bc96;hpb=b94bb59dbb4b448992f6b1b7a84dfbbc7ce365ed;p=sfa.git diff --git a/sfa.spec b/sfa.spec index 311e4a53..b5d9c42c 100644 --- a/sfa.spec +++ b/sfa.spec @@ -40,8 +40,11 @@ Requires: python-lxml # it'll be installed by "devel.pkgs". we have the epel repository so # python-uuid will be provided. but we can test for the python # version. -%define has_py24 %( python -c "import sys;sys.exit(sys.version_info[0:2] == (2,4))" 2> /dev/null; echo $? ) -%if %has_py24 +# %define has_py24 %( python -c "import sys;sys.exit(sys.version_info[0:2] == (2,4))" 2> /dev/null; echo $? ) +# %if %has_py24 +# +# this also didn't work very well. I'll just check for distroname - baris +%if %{distroname} == "centos5" Requires: python-uuid %endif