1 Star 0 Fork 41

卢光阳 / nginx

forked from src-openEuler / nginx 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nginxmods.attr 517 Bytes
一键复制 编辑 原始数据 按行查看 历史
sherlock2010 提交于 2022-11-24 08:06 . add package mod-devel
%__nginxmods_requires() %{lua:
-- Match buildroot paths of the form
-- /PATH/OF/BUILDROOT/usr/lib/nginx/modules/ and
-- /PATH/OF/BUILDROOT/usr/lib64/nginx/modules/
-- generating a line of the form:
-- nginx(abi) = VERSION
local path = rpm.expand("%1")
if path:match("/usr/lib%d*/nginx/modules/.*") then
local requires = "nginx(abi) = " .. rpm.expand("%{_nginx_abiversion}")
print(requires)
end
}
%__nginxmods_path ^%{_prefix}/lib(64)?/nginx/modules/.*\\.so$
1
https://gitee.com/lgylouis/nginx.git
git@gitee.com:lgylouis/nginx.git
lgylouis
nginx
nginx
master

搜索帮助