forked from pool/lua-busted
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
27a5000030
|
|||
|
9b39ec321d
|
|||
|
ea59bf73db
|
|||
|
ea01911f41
|
|||
| f374b81b30 | |||
| fc3e9c2971 |
@@ -1,5 +1,5 @@
|
||||
<multibuild>
|
||||
<package>lua51</package>
|
||||
<package>luajit</package>
|
||||
<package>lua53</package>
|
||||
<package>lua54</package>
|
||||
</multibuild>
|
||||
|
||||
@@ -1,7 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 24 14:47:05 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Switch off building lua51 build of the package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 12 19:43:06 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Remove file dependency on the interpreter.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 8 08:38:06 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Don’t depend on /usr/bin/lua%{lua_version}, it breaks LuaJIT.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 16 18:09:21 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Change upstream homepage to the current one at Lunar Modules.
|
||||
- Add missing /usr/share/zsh ownership (I don’t want to
|
||||
pull whole zsh as Requires and I am too lazy to create a
|
||||
subpackage).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 08:01:55 UTC 2022 - Michal Suchanek <msuchanek@suse.com>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package lua-busted
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2012 Togan Muftuoglu toganm@opensuse.org
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -18,8 +18,14 @@
|
||||
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
# Remove file dependency on the interpreter
|
||||
%global __requires_exclude ^/usr/bin/lua(5\\.[1-9]|jit)?$
|
||||
%define mod_name busted
|
||||
%if "%{flavor}" == "luajit"
|
||||
%define lua_value 52
|
||||
%else
|
||||
%define lua_value %(echo "%{flavor}" |sed -e 's:lua::')
|
||||
%endif
|
||||
%define upversion 2.0.0
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
@@ -60,7 +66,7 @@ Requires: curl
|
||||
Requires: openssl
|
||||
Requires: unzip
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%lua_provides
|
||||
%if "%{flavor}" == ""
|
||||
@@ -91,7 +97,7 @@ language packs.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
sed -i 's|^#!%{_bindir}/env lua|#!%{_bindir}/lua%{lua_version}|' bin/busted
|
||||
sed -i 's|^#!%{_bindir}/env lua|#!%{_bindir}/lua|' bin/busted
|
||||
|
||||
%build
|
||||
/bin/true
|
||||
@@ -146,6 +152,7 @@ bin/busted -v spec
|
||||
%{lua_noarchdir}/busted
|
||||
%{_datadir}/bash-completion/completions/busted
|
||||
%{_datadir}/bash-completion/completions/busted-%{lua_version}
|
||||
%dir %{_datadir}/zsh
|
||||
%dir %{_datadir}/zsh/vendor-completions
|
||||
%{_datadir}/zsh/vendor-completions/_busted
|
||||
%{_datadir}/zsh/vendor-completions/_busted-%{lua_version}
|
||||
|
||||
Reference in New Issue
Block a user