X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=zabbix.spec;h=f99d40e7510af7fa4b668509172af65214c027fa;hb=21125cf70f982598daeff34148d369b3cde8ebac;hp=20c65325a5d364eacec531a6e65c09d2a38a10e1;hpb=a6654e5c43a09239f02741916d91e2f14629044a;p=monitor.git diff --git a/zabbix.spec b/zabbix.spec index 20c6532..f99d40e 100644 --- a/zabbix.spec +++ b/zabbix.spec @@ -78,7 +78,12 @@ mkdir server cp -r client/* server pushd client +# quick and dirty fix for f12; loader would fail b/c of the lack of /lib/libm.a +%if "%{distro}" == "Fedora" && %{distrorelease} >= 12 +./configure --enable-agent +%else ./configure --enable-static --enable-agent +%endif make popd