summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-09-12 16:59:05 +0200
committerRemi Collet <fedora@famillecollet.com>2012-09-12 16:59:05 +0200
commitf001cee228c56a5a17512c2c4ce8638edf1c316b (patch)
tree047ff3bf26d65e0d61731412b1dbc2cee59a5244
parentb9c392cfaf6ef07f68622dbe7e6238bf0ddcbfda (diff)
php-pecl-runkit: fix EL-5 build
-rw-r--r--php-pecl-runkit.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/php-pecl-runkit.spec b/php-pecl-runkit.spec
index 79714ea..def5f29 100644
--- a/php-pecl-runkit.spec
+++ b/php-pecl-runkit.spec
@@ -67,6 +67,11 @@ ogólnego użytku. Wykonywanie danego kodu w ograniczonym środowisku
%setup -q -c
mv zenovich-runkit-%{GIT} nts
+
+%if 0%{?rhel} == 5
+sed -e 's/-Werror//' -i nts/config.m4
+%endif
+
cp -r nts zts
# Create the configuration file