Fixed build failure due to php_zend_api macro type.

This commit is contained in:
Tim Waugh 2011-02-25 13:22:46 +00:00
parent 262a1cd4b3
commit 97ac79159a

View File

@ -8,7 +8,7 @@
Summary: Common Unix Printing System Summary: Common Unix Printing System
Name: cups Name: cups
Version: 1.4.6 Version: 1.4.6
Release: 5%{?dist} Release: 6%{?dist}
License: GPLv2 License: GPLv2
Group: System Environment/Daemons Group: System Environment/Daemons
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
@ -162,12 +162,8 @@ Requires: xinetd
Summary: Common Unix Printing System - php module Summary: Common Unix Printing System - php module
Group: Development/Languages Group: Development/Languages
Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name} = %{epoch}:%{version}-%{release}
%if 0%{?php_zend_api}
Requires: php(zend-abi) = %{php_zend_api} Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api} Requires: php(api) = %{php_core_api}
%else
Requires: php-api = %{php_apiver}
%endif
%description %description
@ -576,6 +572,9 @@ rm -rf $RPM_BUILD_ROOT
%{php_extdir}/phpcups.so %{php_extdir}/phpcups.so
%changelog %changelog
* Fri Feb 25 2011 Tim Waugh <twaugh@redhat.com> 1:1.4.6-6
- Fixed build failure due to php_zend_api macro type.
* Fri Feb 25 2011 Tim Waugh <twaugh@redhat.com> 1:1.4.6-5 * Fri Feb 25 2011 Tim Waugh <twaugh@redhat.com> 1:1.4.6-5
- Fixed dbus notifier support for job-state-changed. - Fixed dbus notifier support for job-state-changed.