forked from pool/lua-penlight
- Add lua54 as new build target
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-penlight?expand=0&rev=8
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<multibuild>
|
||||
<package>lua51</package>
|
||||
<package>lua53</package>
|
||||
<package>lua54</package>
|
||||
</multibuild>
|
||||
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 6 19:07:38 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Add lua54 as new build target
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 30 23:12:04 CET 2018 - mcepl@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lua-penlight
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2012 Togan Muftuoglu toganm@opensuse.org
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -30,9 +30,9 @@ Group: Development/Languages/Other
|
||||
URL: http://stevedonovan.github.com/Penlight
|
||||
Source: https://github.com/stevedonovan/Penlight/archive/%{version}.tar.gz#/Penlight-%{version}.tar.gz
|
||||
BuildRequires: %{flavor}-devel
|
||||
BuildRequires: %{flavor}-ldoc
|
||||
BuildRequires: %{flavor}-luafilesystem
|
||||
BuildRequires: %{flavor}-markdown
|
||||
BuildRequires: %{flavor}-ldoc
|
||||
Requires: %{flavor}
|
||||
Requires: %{flavor}-luafilesystem
|
||||
BuildArch: noarch
|
||||
@@ -54,6 +54,7 @@ the functionality is inspired by the Python standard libraries.
|
||||
%if 0%{?with_docs}
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description doc
|
||||
@@ -75,7 +76,6 @@ chmod -x %{buildroot}%{lua_noarchdir}/pl/dir.lua
|
||||
# build and install README etc.
|
||||
lua%{lua_version} %{lua_noarchdir}/markdown.lua *.md
|
||||
|
||||
|
||||
%check
|
||||
LUA_PATH="%{buildroot}%{lua_noarchdir}/?/init.lua;%{buildroot}%{lua_noarchdir}/?.lua;;" \
|
||||
lua%{lua_version} run.lua tests
|
||||
|
Reference in New Issue
Block a user