Projects
home:Eustace:branches:Eulaceura:Factory
lua
_service:obs_scm:lua.attr
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:lua.attr of Package lua
%__lua_requires() %{lua: -- Match buildroot paths of the form -- /PATH/OF/BUILDROOT/usr/lib(64)/lua/MAJOR.MINOR/ and -- /PATH/OF/BUILDROOT/usr/share/pythonMAJOR.MINOR/ -- generating a line of the form: -- lua(abi) = MAJOR.MINOR local path = rpm.expand('%1') local datadir = rpm.expand('%_datadir') local libdir = rpm.expand('%_libdir') for i, dir in ipairs({datadir, libdir}) do if path:match(dir .. '/lua/%d+%.%d+/.*') then local requires = path:gsub('.*' .. dir .. '/lua/(%d+%.%d+)/.*', 'lua(abi) = %1') print(requires) break end end } %__lua_path ^(%{_datadir}|%{_libdir})/lua/[[:digit:]]+\\.[[:digit:]]+/.+
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2