Accepting request 705517 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/705517 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luarocks?expand=0&rev=3
This commit is contained in:
commit
1360e81296
@ -1,3 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 26 16:44:38 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Re-enable building for Lua 5.3
|
||||
- Add notable enhancements in changelog entry for v3.x update
|
||||
- Update to v3.1.2
|
||||
* cmd: fix handling of unconfigured paths in get_lua_version
|
||||
- from v3.1.1
|
||||
* fix: don't try to look in home_tree if not available
|
||||
* refactor: reorganise code in get_lua_version
|
||||
* fix: handle errors in lua wrapper check
|
||||
- from v3.1.0
|
||||
* Includes many fixes and enhancements; full changelog is at
|
||||
https://github.com/luarocks/luarocks/compare/v3.0.4...v3.1.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 31 07:48:19 CET 2018 - mcepl@suse.com
|
||||
|
||||
- Upgrade to 3.0.4
|
||||
* Version 3.x is a large rewrite; full changelog is at
|
||||
https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md
|
||||
* New rockspec format
|
||||
* New commands, including luarocks init for per-project workflows
|
||||
* New flags, including --lua-dir and --lua-version for using
|
||||
multiple Lua installs with a single LuaRocks
|
||||
* New build system
|
||||
* General improvements, including namespaces
|
||||
* User-visible changes, including some breaking changes
|
||||
* Internal changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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) 2019 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,19 @@
|
||||
# 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 mod_name luarocks
|
||||
%define lua_value %(echo "%{flavor}" |sed -e 's:lua::')
|
||||
Version: 2.4.2
|
||||
Version: 3.1.2
|
||||
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 +42,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 +62,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 +87,8 @@ if [ "$1" = 0 ] ; then
|
||||
fi
|
||||
|
||||
%files
|
||||
%doc COPYING README.md
|
||||
%license COPYING
|
||||
%doc README.md CHANGELOG.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.1.2.tar.gz
Normal file
3
luarocks-3.1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:11fc78e8aaa23987065e1e4281bec23e94481510e820376bcfe84976332ebb20
|
||||
size 5353285
|
Loading…
x
Reference in New Issue
Block a user