- Upgrade to 3.0.4
* Version 3.* is a large rewrite including changes of format, so full changelog is too long, and can be found on https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=9
This commit is contained in:
parent
a320451295
commit
39636f5b62
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 31 07:48:19 CET 2018 - mcepl@suse.com
|
||||
|
||||
- Upgrade to 3.0.4
|
||||
* Version 3.* is a large rewrite including changes of format,
|
||||
so full changelog is too long, and can be found on
|
||||
https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 30 14:45:32 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lua-luarocks
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 Togan Muftuoglu toganm@opensuse.org
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -13,19 +13,20 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
# %%define flavor @BUILD_FLAVOR@
|
||||
%define flavor lua51
|
||||
%define mod_name luarocks
|
||||
%define lua_value %(echo "%{flavor}" |sed -e 's:lua::')
|
||||
Version: 2.4.2
|
||||
Version: 3.0.4
|
||||
Release: 0
|
||||
Summary: A deployment and management system for Lua modules
|
||||
License: MIT
|
||||
Group: Development/Languages/Other
|
||||
Url: https://luarocks.org
|
||||
URL: https://luarocks.org
|
||||
Source: https://github.com/luarocks/luarocks/archive/v%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz
|
||||
BuildRequires: %{flavor}-devel
|
||||
BuildRequires: curl
|
||||
@ -42,6 +43,8 @@ ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
|
||||
%description
|
||||
LuaRocks allows you to install Lua modules as self-contained packages
|
||||
@ -60,18 +63,13 @@ repositories, and multiple local rocks trees.
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--lua-version=%{lua_version} \
|
||||
--with-downloader=curl \
|
||||
--with-md5-checker=openssl \
|
||||
--versioned-rocks-dir
|
||||
make %{?_smp_mflags} build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
# Add C module lib directory to fix "built" rocks not working
|
||||
# See https://github.com/keplerproject/luarocks/issues/416
|
||||
%if %{_lib}==lib64
|
||||
echo -e -n "\nlib_modules_path=\"/%{_lib}/lua/\"..lua_version" >> %{buildroot}%{_sysconfdir}/luarocks/config-%{lua_version}.lua
|
||||
%endif
|
||||
mv %{buildroot}%{_bindir}/luarocks{,-%{lua_version}}
|
||||
mv %{buildroot}%{_bindir}/luarocks-admin{,-%{lua_version}}
|
||||
|
||||
# update-alternatives
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives/
|
||||
@ -90,7 +88,8 @@ if [ "$1" = 0 ] ; then
|
||||
fi
|
||||
|
||||
%files
|
||||
%doc COPYING README.md
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%dir %{_sysconfdir}/luarocks
|
||||
%config(noreplace) %{_sysconfdir}/luarocks/config-%{lua_version}.lua
|
||||
%ghost %{_sysconfdir}/alternatives/luarocks
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eef88c2429c715a7beb921e4b1ba571dddb7c74a250fbb0d3cc0d4be7a5865d9
|
||||
size 4027001
|
3
luarocks-3.0.4.tar.gz
Normal file
3
luarocks-3.0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce82a2ebe8b5707d18aa99b56cbb995147fee55749f0d994157e8ed62d29f2d4
|
||||
size 5374421
|
Loading…
x
Reference in New Issue
Block a user