From ad384d8928dc7a94ed7b5610a60b16596bcd6c901c1be2eca3f4652dcbdf797f Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Thu, 24 Nov 2022 19:19:30 +0000 Subject: [PATCH] - Lua inspect 3.1.3 OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/lua-inspect?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + _multibuild | 5 +++ lua-inspect-3.1.3.tar.gz | 3 ++ lua-inspect.changes | 4 +++ lua-inspect.spec | 66 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 102 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _multibuild create mode 100644 lua-inspect-3.1.3.tar.gz create mode 100644 lua-inspect.changes create mode 100644 lua-inspect.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..72d2b45 --- /dev/null +++ b/_multibuild @@ -0,0 +1,5 @@ + +lua51 +lua53 +lua54 + diff --git a/lua-inspect-3.1.3.tar.gz b/lua-inspect-3.1.3.tar.gz new file mode 100644 index 0000000..a55f6b7 --- /dev/null +++ b/lua-inspect-3.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43386a613f9916186af4919f36392d8b8dad8c4428a5f8c85ebac80acba71eeb +size 13615 diff --git a/lua-inspect.changes b/lua-inspect.changes new file mode 100644 index 0000000..5171b65 --- /dev/null +++ b/lua-inspect.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Nov 24 19:18:34 UTC 2022 - Michal Suchanek + +- Lua inspect 3.1.3 diff --git a/lua-inspect.spec b/lua-inspect.spec new file mode 100644 index 0000000..1334585 --- /dev/null +++ b/lua-inspect.spec @@ -0,0 +1,66 @@ +# +# spec file for package lua-shell-games +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define flavor @BUILD_FLAVOR@ +%define mod_name inspect +Version: 3.1.3 +Release: 0 +Summary: Library for printing Lua values +License: MIT +Group: Development/Libraries/Other +URL: https://github.com/kikito/inspect.lua +Source: https://github.com/kikito/inspect.lua/archive/v%{version}.tar.gz#/lua-%{mod_name}-%{version}.tar.gz +BuildRequires: %{flavor}-busted +BuildRequires: %{flavor}-devel +BuildRequires: %{flavor}-luacheck +BuildRequires: %{flavor}-luarocks +BuildRequires: lua-macros +Requires: %{flavor} +BuildArch: noarch +%lua_provides +%if "%{flavor}" == "" +Name: lua-%{mod_name} +ExclusiveArch: do_not_build +%else +Name: %{flavor}-%{mod_name} +%endif + +%description +This library transforms any Lua value into a human-readable representation. It is especially useful for debugging errors in tables. + +The objective here is human understanding (i.e. for debugging), not serialization or compactness. + +%prep +%autosetup -p1 -n %{mod_name}.lua-%{version} + +%build + +%install +install -m 0755 -p -d %{buildroot}%{lua_noarchdir} +install -v -D -m 0644 -p -t %{buildroot}%{lua_noarchdir} %{mod_name}.lua + +%check +%make_build check +%make_build test + +%files +%license MIT-LICENSE.txt +%doc README.md CHANGELOG.md +%{lua_noarchdir}/%{mod_name}* + +%changelog