diff --git a/prosody.spec b/prosody.spec index 382bf71..e529fb6 100644 --- a/prosody.spec +++ b/prosody.spec @@ -70,7 +70,7 @@ added functionality, or prototype new protocols. --with-lua-include=%{_includedir}/lua-%{luaver} \ --runwith=lua-%{luaver} \ %endif -%if 0%{?rhel} > 5 +%if 0%{?rhel} != 5 --cflags="$RPM_OPT_FLAGS -fPIC -D_GNU_SOURCE" \ %else --cflags="$RPM_OPT_FLAGS -fPIC" \