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
b6b470bfa1
commit
9a9c45a767
@ -191,8 +191,8 @@ Perl extension for graphviz.
|
||||
%package php
|
||||
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
Block a user