14 Star 0 Fork 2

ocs-bot/php-pear

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
macros.pear 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
nilusyi 提交于 2023-03-09 15:17 . OCS package init
#
# Define full path to pear/pecl commands to be used in scriptlets:
#
%__pear @BINDIR@/pear
%__pecl @BINDIR@/pecl
#
# Define PEAR directories used in php-pear-* spec files
#
%pear_phpdir %(%{__pear} config-get php_dir 2> /dev/null || echo undefined)
%pear_docdir %(%{__pear} config-get doc_dir 2> /dev/null || echo undefined)
%pear_testdir %(%{__pear} config-get test_dir 2> /dev/null || echo undefined)
%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)
#
# Define PECL directories used in php-pecl-* spec files:
#
%pecl_phpdir %(%{__pecl} config-get php_dir 2> /dev/null || echo undefined)
%pecl_docdir %(%{__pecl} config-get doc_dir 2> /dev/null || echo undefined)
%pecl_testdir %(%{__pecl} config-get test_dir 2> /dev/null || echo undefined)
%pecl_datadir %(%{__pecl} config-get data_dir 2> /dev/null || echo undefined)
#
# Define XML directories to store PEAR package registration information:
# pecl_xmldir is now defined in macros.php (from php-devel)
#
%pear_xmldir @LIBDIR@/pear/pkgxml
#
# Define noop macros for old scriplets used in php-pecl-* spec files:
#
%pecl_install :
%pecl_uninstall :
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ocs-bot/php-pear.git
git@gitee.com:ocs-bot/php-pear.git
ocs-bot
php-pear
php-pear
master

搜索帮助