Accepting request 1006079 from devel:languages:lua

OBS-URL: https://build.opensuse.org/request/show/1006079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=12
This commit is contained in:
2022-09-26 16:48:31 +00:00
committed by Git OBS Bridge
8 changed files with 26 additions and 55 deletions

BIN
3.5.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
3.5.6.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -4,14 +4,14 @@
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">505ed9411939fe8c45903e3c9ce559fde50a0584</param>
<param name="revision">16f4d9c</param>
<param name="versionrewrite-pattern">(.*)</param>
<param name="versionrewrite-replacement">\1</param>
</service>
<service name="download_url" mode="disabled">
<param name="protocol">https</param>
<param name="host">github.com</param>
<param name="path">sumneko/lua-language-server/releases/download/3.2.4/lua-language-server-3.2.4-submodules.zip</param>
<param name="path">sumneko/lua-language-server/releases/download/3.5.6/lua-language-server-3.5.6-submodules.zip</param>
</service>
<service name="tar" mode="disabled" />
<service name="recompress" mode="disabled">

BIN
lua-language-server-3.5.0-submodules.zip (Stored with Git LFS)

Binary file not shown.

BIN
lua-language-server-3.5.6-submodules.zip (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Sep 24 10:17:33 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Update to version 3.5.6:
* fix #1506
* meta template: luajit add cdata type
* fix #1537
* Replace old variable return syntax
* fix: string.match return type
* string.find returns any for now
* update submodules
* update 3rd-api
- Remove time_includes.patch
-------------------------------------------------------------------
Tue Jul 26 00:08:48 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@@ -18,7 +18,7 @@
Name: lua-language-server
Version: 3.5.0
Version: 3.5.6
Release: 0
Summary: Lua Language Server coded by Lua
License: MIT
@@ -31,7 +31,7 @@ Source2: lua-lsp-launcher.sh
Source3: README.suse-maint.md
# PATCH-FIX-UPSTREAM time_includes.patch gh#sumneko/lua-language-server#1377 mcepl@suse.com
# Add missing #include
Patch0: time_includes.patch
# Patch0: time_includes.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: ninja
@@ -42,7 +42,7 @@ ExcludeArch: s390x ppc64le ppc64
This package provides a Language Server Protocol (LSP) implementation for Lua.
%prep
%autosetup -p1 -c
%autosetup -c
%build
export CFLAGS="%{optflags}"

View File

@@ -1,44 +0,0 @@
From e9ba0461065b94f3b0611cf6b5e2d88994cfa124 Mon Sep 17 00:00:00 2001
From: actboy168 <actboy168@gmail.com>
Date: Mon, 25 Jul 2022 09:42:26 +0800
Subject: [PATCH] fixes #1377
---
3rd/bee.lua/binding/lua_time.cpp | 2 ++
3rd/luamake/3rd/bee.lua/binding/lua_time.cpp | 2 ++
luamake/3rd/bee.lua/binding/lua_time.cpp | 2 ++
3 files changed, 6 insertions(+)
--- a/3rd/bee.lua/binding/lua_time.cpp
+++ b/3rd/bee.lua/binding/lua_time.cpp
@@ -2,6 +2,8 @@
#if defined(_WIN32)
#include <Windows.h>
+#else
+#include <time.h>
#endif
namespace bee::lua_time {
--- a/3rd/luamake/3rd/bee.lua/binding/lua_time.cpp
+++ b/3rd/luamake/3rd/bee.lua/binding/lua_time.cpp
@@ -2,6 +2,8 @@
#if defined(_WIN32)
#include <Windows.h>
+#else
+#include <time.h>
#endif
namespace bee::lua_time {
--- a/luamake/3rd/bee.lua/binding/lua_time.cpp
+++ b/luamake/3rd/bee.lua/binding/lua_time.cpp
@@ -2,6 +2,8 @@
#if defined(_WIN32)
#include <Windows.h>
+#else
+#include <time.h>
#endif
namespace bee::lua_time {