]> git.pld-linux.org Git - packages/rpm-pld-macros.git/blobdiff - rpm.macros
v1.666: __php macro would be version that php headers are installed for (php*-devel)
[packages/rpm-pld-macros.git] / rpm.macros
index e435d6d3e222fb33813a579d8d8685a74b2a2ace..f76e1335b94dc05dc94a1f04ea932b9d2f8bacb0 100644 (file)
@@ -948,6 +948,9 @@ fi; \
 # NOTE: error output must be empty. otherwise can't build pecl packages if no php*-devel is installed
 %php_suffix             %(c=$(php-config --sysconfdir 2>/dev/null) || echo '' && echo ${c#/etc/php})
 
+# php cli. version that php headers are installed for
+%__php                                 /usr/bin/%{php_name}
+
 # helper macro
 %__php_api_requires(v:) Requires: %{php_name}(%{expand:%1}) = %{expand:%{%{!?2:%{1}}%{?2}}}
 
This page took 0.046372 seconds and 4 git commands to generate.