Avoid warning about unexpanded macro
%{php_zend_api} is available only when php-devel is installed, which is not necessary when creating the SRPM. rpm warns about an unexpanded macro.
This commit is contained in:
parent
619fbb253b
commit
4cf6bb136b
|
@ -205,8 +205,8 @@ Perl extension for graphviz.
|
|||
Group: Applications/Multimedia
|
||||
Summary: PHP extension for graphviz
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: php(zend-abi) = %{php_zend_api}
|
||||
Requires: php(api) = %{php_core_api}
|
||||
Requires: php(zend-abi) = %{?php_zend_api}%{?!php_zend_api:UNDEFINED}
|
||||
Requires: php(api) = %{?php_core_api}%{?!php_core_api:UNDEFINED}
|
||||
|
||||
%description php
|
||||
PHP extension for graphviz.
|
||||
|
|
Loading…
Reference in New Issue