10
0
forked from pool/lua-linenoise

- Switch from xz compression to gzip

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-linenoise?expand=0&rev=8
This commit is contained in:
Gordon Leung
2024-03-29 20:26:19 +00:00
committed by Git OBS Bridge
parent 3bdf935ced
commit 7dd3520f1a
4 changed files with 16 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package lua-linenoise
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -34,10 +34,10 @@ Summary: Lua binding for the linenoise command line library
License: MIT
Group: Development/Languages/Other
URL: https://github.com/hoelzro/lua-linenoise
Source: lua-linenoise-%{version}.tar.xz
BuildRequires: lua-macros
BuildRequires: %{flavor}-luarocks
Source: lua-linenoise-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: %{flavor}-luarocks
BuildRequires: lua-macros
Requires: %{flavor}
%lua_provides
%if "%{flavor}" == ""
@@ -64,6 +64,8 @@ things like UTF-8 support and ANSI terminal escape sequence detection.
%install
%luarocks_install "%{mod_name}-%{rock_version}.linux-%{luarock_arch}.rock"
%check
%files
%{lua_archdir}
%{luarocks_treedir}/%{mod_name}