Accepting request 1120584 from home:mbjoerkelund:branches:devel:languages:lua
This revision fix the luarocks-admin link, as it was previously pointing to luarocks instead of luarocks-admin, and thus not working properly. The luarocks-admin CLI has only a few commands such as "make-manifest", and these are not available in the default luarocks CLI. These commands may be required when building a new package and since "luarocks make-manifest" errors, it would not work. OBS-URL: https://build.opensuse.org/request/show/1120584 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=32
This commit is contained in:
parent
40d4f1e403
commit
853e3d1f10
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 26 12:56:30 UTC 2023 - Marcos Bjoerkelund <marcos.bjoerkelund@suse.com>
|
||||
|
||||
- Fix luarocks-admin link, previously pointing to luarocks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 23 10:33:53 UTC 2022 - Michal Suchanek <msuchanek@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lua-luarocks
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2012 Togan Muftuoglu toganm@opensuse.org
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -39,7 +39,7 @@ Requires: openssl
|
||||
Requires: unzip
|
||||
Requires: zip
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
%lua_provides
|
||||
%if "%{flavor}" == ""
|
||||
@ -85,7 +85,7 @@ mkdir -p %{buildroot}%{luarocks_treedir}
|
||||
|
||||
%post
|
||||
%{_sbindir}/update-alternatives --install %{_bindir}/luarocks luarocks %{_bindir}/luarocks-%{lua_version} %{lua_value} \
|
||||
--slave %{_bindir}/luarocks-admin luarocks-admin %{_bindir}/luarocks-%{lua_version}
|
||||
--slave %{_bindir}/luarocks-admin luarocks-admin %{_bindir}/luarocks-admin-%{lua_version}
|
||||
|
||||
%postun
|
||||
if [ "$1" = 0 ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user