generated from pool/new_package
Compare commits
6 Commits
654a24dd5f
...
main
Author | SHA256 | Date | |
---|---|---|---|
c314ddc686
|
|||
749fb6d930
|
|||
a2363008ec
|
|||
839533c60f
|
|||
cada2dcea7
|
|||
50ea013c5e
|
16
lua-interpreter.changes
Normal file
16
lua-interpreter.changes
Normal file
@@ -0,0 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 14 07:33:57 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Simplify Suggests:, rely on the project configured %{lua_pref},
|
||||
if there’s any.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 5 10:19:45 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Require lua symbol to close the loop.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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,12 @@ Release: 0
|
||||
Summary: Shared superstructure for Lua interpreters
|
||||
License: MIT
|
||||
URL: https://www.lua.org/
|
||||
Source99: lua-interpreter.rpmlintrc
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
Requires: lua
|
||||
BuildArch: noarch
|
||||
%{?lua_pref:Suggests: %{lua_pref}}
|
||||
|
||||
%description
|
||||
Shared package owning resources shared among Lua interpreters.
|
||||
@@ -33,16 +38,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