summaryrefslogtreecommitdiffstats
path: root/macros.pear
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-09-04 07:37:27 +0200
committerRemi Collet <fedora@famillecollet.com>2014-09-04 07:37:27 +0200
commitc88d400d32ebc4ae69220b0f67f33db02de20d0e (patch)
tree3635cd41f595092045e46a83a8fc0df47ed0c050 /macros.pear
parent90067b516a6aae5b159ab802e54c5a8e437ac1d8 (diff)
php-pear: update Archive_Tar to 1.13.2 + SCL stuff
Diffstat (limited to 'macros.pear')
-rw-r--r--macros.pear10
1 files changed, 5 insertions, 5 deletions
diff --git a/macros.pear b/macros.pear
index 471c28d..71aacc6 100644
--- a/macros.pear
+++ b/macros.pear
@@ -1,8 +1,8 @@
#
# Define full path to pear/pecl commands to be used in scriptlets:
#
-%__pear @BINDIR@/pear
-%__pecl @BINDIR@/pecl
+%@SCL@__pear @BINDIR@/pear
+%@SCL@__pecl @BINDIR@/pecl
#
# Define PEAR directories used in php-pear-* spec files
@@ -13,7 +13,7 @@
%pear_datadir %(%{__pear} config-get data_dir 2> /dev/null || echo undefined)
%pear_cfgdir %(%{__pear} config-get cfg_dir 2> /dev/null || echo undefined)
%pear_wwwdir %(%{__pear} config-get www_dir 2> /dev/null || echo undefined)
-%pear_metadir %(%{__pear} config-get metadata_dir 2> /dev/null || echo undefined)
+%@SCL@pear_metadir %(%{__pear} config-get metadata_dir 2> /dev/null || echo undefined)
#
# Define PECL directories used in php-pecl-* spec files:
@@ -26,8 +26,8 @@
#
# Define XML directories to store package registration information:
#
-%pear_xmldir @LIBDIR@/pear/pkgxml
-%pecl_xmldir @LIBDIR@/pear/pkgxml
+%@SCL@pear_xmldir @VARDIR@/lib/pear/pkgxml
+%@SCL@pecl_xmldir @VARDIR@/lib/pear/pkgxml
#
# Define macros to be used in scriplets for php-pecl-* spec files: