diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-10-14 18:41:19 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-10-14 18:41:19 +0200 |
commit | cf4f843f29c9e91b4e66bbcbee2f1caecfe33b9d (patch) | |
tree | a1abe4fa44139d457756e059f302b3d22e6ac00f | |
parent | 13d39537fb9c7818969b795d07f90b6a6055286b (diff) |
php-pecl-rar: fix EL-5 build
-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 |