forked from pool/lua-luasocket
Accepting request 998384 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/998384 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luasocket?expand=0&rev=9
This commit is contained in:
4
_service
4
_service
@@ -1,10 +1,10 @@
|
||||
<services>
|
||||
<service mode="disabled" name="tar_scm">
|
||||
<param name="url">https://github.com/diegonehab/luasocket.git</param>
|
||||
<param name="url">https://github.com/lunarmodules/luasocket.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="filename">luasocket</param>
|
||||
<param name="versionformat">3.0~rc1+git%cd.%h</param>
|
||||
<param name="versionformat">3.1.0</param>
|
||||
</service>
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
|
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 20 17:43:12 UTC 2022 - Gordon Leung <pirateclip@protonmail.com>
|
||||
|
||||
rebase: luasocket-makefile.patch
|
||||
fix: W: package-with-huge-docs 69%
|
||||
- Create a speperate doc package, lua*-luasocket will recommend it
|
||||
fix: update URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 20 06:55:28 UTC 2022 - pirateclip@protonmail.com
|
||||
|
||||
- Update to version 3.1.0:
|
||||
* chore: Release v3.1.0
|
||||
* ci: Echo correct platform in job title
|
||||
* fix(build): Use gai_strerrorA not gai_strerror on Windows
|
||||
* feat(tcp): Add support for TCP Defer Accept
|
||||
* feat(tcp): Add support for TCP Fast Open
|
||||
* chore(rockspec): Move recent PR change to proper rockspec (#384)
|
||||
* fix(rockspec): Fixup Windows (mingw32) builds (#383)
|
||||
* chore: Update internal version references to match release (#370)
|
||||
* chore: Release v3.0.0
|
||||
* chore: Copy-edit description in dev rockspec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 11 16:15:33 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lua-luasocket
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# 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
|
||||
@@ -18,12 +18,12 @@
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define mod_name luasocket
|
||||
Version: 3.0~rc1+git20170515.5a17f79
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: Network support for the Lua language
|
||||
License: MIT
|
||||
Group: Development/Languages/Other
|
||||
URL: https://github.com/diegonehab/luasocket
|
||||
URL: https://github.com/lunarmodules/luasocket
|
||||
Source: %{mod_name}-%{version}.tar.xz
|
||||
Patch0: luasocket-makefile.patch
|
||||
BuildRequires: %{flavor}-devel
|
||||
@@ -35,6 +35,7 @@ Name: lua-%{mod_name}
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Recommends: %{flavor}-%{mod_name}-doc
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -55,6 +56,14 @@ Requires: %{flavor}-%{mod_name} = %{version}
|
||||
This subpackage contains header files for developing applications that
|
||||
want to make use of %{flavor}-%{mod_name}.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{flavor}-%{mod_name}
|
||||
Group: Development/Languages/Other
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
This subpackage contains documentation for %{flavor}-%{mod_name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%patch0 -p1
|
||||
@@ -73,8 +82,6 @@ install -p -m 0644 src/*.h %{buildroot}%{lua_incdir}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc doc/*
|
||||
%doc README
|
||||
%{lua_archdir}/mime
|
||||
%{lua_archdir}/socket
|
||||
%{lua_noarchdir}/ltn12.lua
|
||||
@@ -85,4 +92,8 @@ install -p -m 0644 src/*.h %{buildroot}%{lua_incdir}
|
||||
%files devel
|
||||
%{lua_incdir}/*.h
|
||||
|
||||
%files doc
|
||||
%doc docs/*
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9cc8eba1531179c7ed67e3ec30aec74863ccb9d73e32a3cf8032fc8390255bac
|
||||
size 228132
|
3
luasocket-3.1.0.tar.xz
Normal file
3
luasocket-3.1.0.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b05313fe17ec6325549fb0c68732fd71584bdabf06c64d3e4a95a7c37f487f5
|
||||
size 231732
|
@@ -2,14 +2,11 @@ diff --git a/src/makefile b/src/makefile
|
||||
index 494baab..fb56ba4 100644
|
||||
--- a/src/makefile
|
||||
+++ b/src/makefile
|
||||
@@ -169,9 +169,9 @@ DEF_linux=-DLUASOCKET_$(DEBUG) \
|
||||
-DLUASOCKET_API='__attribute__((visibility("default")))' \
|
||||
-DUNIX_API='__attribute__((visibility("default")))' \
|
||||
-DMIME_API='__attribute__((visibility("default")))'
|
||||
-CFLAGS_linux= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \
|
||||
- -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
|
||||
-LDFLAGS_linux=-O -shared -fpic -o
|
||||
+CFLAGS_linux= -I$(LUAINC) $(DEF) $(OPTFLAGS) -Wall -Wshadow -Wextra \
|
||||
@@ -177,6 +177,6 @@ DEF_linux=-DLUASOCKET_$(DEBUG) \
|
||||
-CFLAGS_linux=$(LUAINC:%=-I%) $(DEF) -Wall -Wshadow -Wextra \
|
||||
- -Wimplicit -O2 -ggdb3 -fpic
|
||||
-LDFLAGS_linux=-O -shared -fpic -o
|
||||
+CFLAGS_linux=$(LUAINC:%=-I%) $(DEF) $(OPTFLAGS) -Wall -Wshadow -Wextra \
|
||||
+ -Wimplicit -fpic -fvisibility=hidden
|
||||
+LDFLAGS_linux=-O $(OPTFLAGS) -shared -fpic -o
|
||||
LD_linux=gcc
|
||||
|
Reference in New Issue
Block a user