SHA256
10
0
forked from pool/lua-luautf8

- Switch from xz compression to gzip

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luautf8?expand=0&rev=12
This commit is contained in:
Gordon Leung
2024-03-29 20:29:20 +00:00
committed by Git OBS Bridge
parent 547178d798
commit 36cbc7cb29
4 changed files with 15 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package lua-luautf8
#
# 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: A utf-8 support module for Lua and LuaJIT
License: MIT
Group: Development/Languages/Other
URL: https://github.com/starwing/luautf8
Source: %{mod_name}-%{version}.tar.xz
BuildRequires: lua-macros
Source: %{mod_name}-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: %{flavor}-luarocks
BuildRequires: lua-macros
Requires: %{flavor}
%lua_provides
%if "%{flavor}" == ""
@@ -64,6 +64,8 @@ test in lua test suite2.
%install
%luarocks_install "%{mod_name}-%{rock_version}.linux-%{luarock_arch}.rock"
%check
%files
%{lua_archdir}
%{luarocks_treedir}/%{mod_name}