generated from pool/new_package
Compare commits
3 Commits
654a24dd5f
...
839533c60f
Author | SHA256 | Date | |
---|---|---|---|
839533c60f
|
|||
cada2dcea7
|
|||
50ea013c5e
|
5
lua-interpreter.changes
Normal file
5
lua-interpreter.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 14 13:53:43 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Initial infrastructure for using alts with Lua interpreters.
|
||||
- We have to mention lua-interpreter.rpmlintrc at least as a Source99.
|
3
lua-interpreter.rpmlintrc
Normal file
3
lua-interpreter.rpmlintrc
Normal file
@@ -0,0 +1,3 @@
|
||||
# Yes, there is nothing to test here
|
||||
addFilter("W: no-%check-section")
|
||||
addFilter("E: empty-libalternatives-directory /usr/share/libalternatives/")
|
@@ -21,7 +21,10 @@ Release: 0
|
||||
Summary: Shared superstructure for Lua interpreters
|
||||
License: MIT
|
||||
URL: https://www.lua.org/
|
||||
Source99: lua-interpreter.rpmlintrc
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Shared package owning resources shared among Lua interpreters.
|
||||
@@ -33,16 +36,18 @@ true
|
||||
:
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
ln -s -f %{_bindir}/alts %{buildroot}%{_bindir}/lua
|
||||
ln -s -f %{_bindir}/alts %{buildroot}%{_bindir}/luac
|
||||
|
||||
# alternatives - create libalternatives configuration directory
|
||||
mkdir -p %{buildroot}%{_datadir}/libalternatives/lua
|
||||
mkdir -p %{buildroot}%{_datadir}/libalternatives/luac
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_bindir}/lua
|
||||
%dir %{_datadir}/libalternatives/lua
|
||||
%dir %{_datadir}/libalternatives/luac
|
||||
%{_bindir}/luac
|
||||
%{_datadir}/libalternatives/lua
|
||||
%{_datadir}/libalternatives/luac
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user