[php-pecl-radius] fix php_zend_api usage, fix FTBFS #715846

Remi Collet remi at fedoraproject.org
Wed Jul 6 18:17:18 UTC 2011


commit eb98e0a11d75ae117f8f219b9d447bfe41ea33b9
Author: remi <fedora at famillecollet.com>
Date:   Wed Jul 6 20:16:52 2011 +0200

    fix php_zend_api usage, fix FTBFS #715846

 php-pecl-radius.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/php-pecl-radius.spec b/php-pecl-radius.spec
index 3604aec..97a8ce5 100644
--- a/php-pecl-radius.spec
+++ b/php-pecl-radius.spec
@@ -6,7 +6,7 @@
 
 Name:           php-pecl-radius
 Version:        1.2.5
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Radius client library
 
 License:        BSD
@@ -21,7 +21,7 @@ Requires(post): %{__pecl}
 Requires(postun): %{__pecl}
 Provides:       php-pecl(%{pecl_name}) = %{version}
 
-%if %{?php_zend_api}0
+%if 0%{?php_zend_api:1}
 Requires:       php(zend-abi) = %{php_zend_api}
 Requires:       php(api) = %{php_core_api}
 %else
@@ -111,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Jul  6 2011  Remi Collet <Fedora at FamilleCollet.com> - 1.2.5-11
+- fix php_zend_api usage, fix FTBFS #715846
+
 * Sat Oct 23 2010  Remi Collet <Fedora at FamilleCollet.com> - 1.2.5-10
 - add filter_provides to avoid private-shared-object-provides ncurses.so
 


More information about the scm-commits mailing list