forked from pool/lua-macros
Accepting request 1310405 from devel:languages:lua
- Make definition of variables dynamic based on pkgconf output. OBS-URL: https://build.opensuse.org/request/show/1310405 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-macros?expand=0&rev=11
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
mtime: 1754402745
|
||||
commit: efd19cb701415d2f476cfd403552a97597ea8c2fd08ecd1d651320e2eb45e956
|
||||
mtime: 1760049853
|
||||
commit: db9766d6bd3427a28de3d6839f6f471ed86e6ae894bd85374497c35a2cc5dcdf
|
||||
url: https://src.opensuse.org/lua/lua-macros.git
|
||||
revision: efd19cb701415d2f476cfd403552a97597ea8c2fd08ecd1d651320e2eb45e956
|
||||
revision: db9766d6bd3427a28de3d6839f6f471ed86e6ae894bd85374497c35a2cc5dcdf
|
||||
projectscmsync: https://src.opensuse.org/lua/_ObsPrj.git
|
||||
|
||||
BIN
build.specials.obscpio
(Stored with Git LFS)
BIN
build.specials.obscpio
(Stored with Git LFS)
Binary file not shown.
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 9 22:44:04 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Make definition of variables dynamic based on pkgconf output.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 5 14:05:41 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ Requires: lua-interpreter
|
||||
# on SLE 12 lua is lua5.2 unconditionally, avoid
|
||||
Requires: lua
|
||||
%endif
|
||||
Requires: pkgconfig
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
%lua_version_nodots %(lua -e 'print((string.gsub("%{lua_version}", "%.", "")))')
|
||||
|
||||
# compiled modules should go here
|
||||
%lua_archdir %{_libdir}/lua/%{lua_version}
|
||||
%lua_archdir %(pkgconf --variable=INSTALL_CMOD lua)
|
||||
|
||||
# pure Lua modules should go here
|
||||
%lua_noarchdir %{_datadir}/lua/%{lua_version}
|
||||
%lua_noarchdir %(pkgconf --variable=INSTALL_LMOD lua)
|
||||
|
||||
# lua includes folder
|
||||
%lua_incdir %{_includedir}/lua%{lua_version}
|
||||
%lua_incdir %(pkgconf --variable=includedir lua)
|
||||
|
||||
%lua_version_default %{lua:
|
||||
local result = 5.4
|
||||
|
||||
Reference in New Issue
Block a user