diff options
Diffstat (limited to 'php-pecl-rar.spec')
-rw-r--r-- | php-pecl-rar.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/php-pecl-rar.spec b/php-pecl-rar.spec index da644ae..985e4a1 100644 --- a/php-pecl-rar.spec +++ b/php-pecl-rar.spec @@ -52,6 +52,10 @@ mv %{pecl_name}-%{version} NTS cd NTS +%if 0%{?rhel} == 5 +sed -e 's/-Wno-logical-op-parentheses//' -i config.m4 +%endif + # Sanity check, really often broken extver=$(sed -n '/#define PHP_RAR_VERSION/{s/.* "//;s/".*$//;p}' php_rar.h) if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then |