fix php_zend_api check

This commit is contained in:
Iain Arnell 2011-05-14 10:02:11 +02:00
parent b869866467
commit 32e26a3e4e

View File

@ -3,7 +3,7 @@
Name: uuid
Version: 1.6.2
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Universally Unique Identifier library
License: MIT
Group: System Environment/Libraries
@ -68,7 +68,7 @@ Summary: PHP support for Universally Unique Identifier library
Group: Development/Libraries
BuildRequires: php-devel
Requires: %{name} = %{version}-%{release}
%if 0%{?php_zend_api}
%if 0%{?php_zend_api:1}
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
%else
@ -258,6 +258,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libossp-uuid_dce.so
%changelog
* Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 1.6.2-5
- fix php_zend_api check
* Thu Mar 03 2011 Karsten Hopp <karsten@redhat.com> 1.6.2-4
- fix build