diff options
author | CoprDistGit <infra@openeuler.org> | 2024-11-01 04:14:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-11-01 04:14:25 +0000 |
commit | ad8e1e80a5d52ed470f41fe23a83fbeb0d35704f (patch) | |
tree | 8db66b9d28837ec823d9b80df4b67407da324e8e /lua-socket.spec | |
parent | 628ac2812e414d99242d9af9441c8a77899aa847 (diff) |
automatic import of lua-socketopeneuler24.03_LTS
Diffstat (limited to 'lua-socket.spec')
-rw-r--r-- | lua-socket.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua-socket.spec b/lua-socket.spec index 703306e..dd2fe36 100644 --- a/lua-socket.spec +++ b/lua-socket.spec @@ -5,6 +5,7 @@ Summary: Network support for the Lua language License: MIT URL: https://www.tecgraf.puc-rio.br/~diego/professional/luasocket/ Source0: https://github.com/diegonehab/luasocket/archive/luasocket-%{version}.tar.gz +Patch0: luasocket-3.1.0-fix-linkage.patch BuildRequires: gcc make lua lua-devel /usr/bin/iconv BuildRequires: perl @@ -27,7 +28,7 @@ Lua using %{name} %package_help %prep -%setup -q -n luasocket-%{version} +%autosetup -p1 -n luasocket-%{version} %build %make_build LUAV=%lua_version CFLAGS_linux="%{build_cflags} -fPIC -I%{_includedir} -DLUASOCKET_NODEBUG -DLUA_COMPAT_APIINTCASTS" LDFLAGS="%{?__global_ldflags} -shared -o " linux |