Accepting request 941407 from home:gmbr3:Lua

- Update to version 3.8.0:
  * Support GitHub's protocol security changes transparently
  * luarocks test has a new flag --prepare that checks, downloads
    and installs the tool requirements and rockspec dependencies
    but does not run the test suite for the rockspec being tested.
  * Code tweaks so that LuaRocks can run on a Lua interpreter
    built without the debug library.

OBS-URL: https://build.opensuse.org/request/show/941407
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=22
This commit is contained in:
Callum Farmer 2021-12-18 15:10:22 +00:00 committed by Git OBS Bridge
parent 7e56124e55
commit 4fbbc69a6f
4 changed files with 23 additions and 12 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Dec 18 15:07:53 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Update to version 3.8.0:
* Support GitHub's protocol security changes transparently
* luarocks test has a new flag --prepare that checks, downloads
and installs the tool requirements and rockspec dependencies
but does not run the test suite for the rockspec being tested.
* Code tweaks so that LuaRocks can run on a Lua interpreter
built without the debug library.
-------------------------------------------------------------------
Tue Jun 15 15:36:04 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -20,13 +20,19 @@
%define flavor @BUILD_FLAVOR@%{nil}
%define mod_name luarocks
%define lua_value %(echo "%{flavor}" |sed -e 's:lua::')
Version: 3.7.0
%if "%{flavor}" == ""
Name: lua-%{mod_name}
ExclusiveArch: do_not_build
%else
Name: %{flavor}-%{mod_name}
%endif
Version: 3.8.0
Release: 0
Summary: A deployment and management system for Lua modules
License: MIT
Group: Development/Languages/Other
URL: https://luarocks.org
Source: https://luarocks.org/releases/%{mod_name}-%{version}.tar.gz
Source0: https://luarocks.org/releases/%{mod_name}-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: curl
BuildRequires: openssl
@ -37,12 +43,6 @@ Requires: openssl
Requires: unzip
BuildArch: noarch
%lua_provides
%if "%{flavor}" == ""
Name: lua-%{mod_name}
ExclusiveArch: do_not_build
%else
Name: %{flavor}-%{mod_name}
%endif
Requires(post): update-alternatives
Requires(postun): update-alternatives
@ -56,7 +56,7 @@ correct version is loaded. LuaRocks supports both local and remote
repositories, and multiple local rocks trees.
%prep
%setup -q -n %{mod_name}-%{version}
%autosetup -n %{mod_name}-%{version}
%build
# Not an autotools based system

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9255d97fee95cec5b54fc6ac718b11bf5029e45bed7873e053314919cd448551
size 247576

3
luarocks-3.8.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:56ab9b90f5acbc42eb7a94cf482e6c058a63e8a1effdf572b8b2a6323a06d923
size 249787