forked from pool/libuv
Accepting request 641296 from home:adamm:branches:devel:libraries:c_c++
- Update to version 1.23.2: * unix: return 0 retrieving rss on cygwin * unix: initialize uv_interface_address_t.phys_addr * test: handle uv_os_setpriority() windows edge case * tty, win: fix read stop for raw mode * Revert "Revert "unix,fs: fix for potential partial reads/writes"" * unix,readv: always permit partial reads to return * win,tty: fix uv_tty_close() * doc: remove extraneous "on * unix,win: fix threadpool race condition * unix: rework thread barrier implementation * unix: signal done to last thread barrier waiter * unix: optimize uv_fs_readlink() memory allocation For complete changelog please see https://github.com/libuv/libuv/releases * install license as %license * fix_tests.patch: fix unit tests on OBS OBS-URL: https://build.opensuse.org/request/show/641296 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libuv?expand=0&rev=25
This commit is contained in:
parent
a5a4cf30a1
commit
36910319bc
26
fix_tests.patch
Normal file
26
fix_tests.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Index: libuv-1.23.2/test/test-getnameinfo.c
|
||||||
|
===================================================================
|
||||||
|
--- libuv-1.23.2.orig/test/test-getnameinfo.c
|
||||||
|
+++ libuv-1.23.2/test/test-getnameinfo.c
|
||||||
|
@@ -39,6 +39,8 @@ static void getnameinfo_req(uv_getnamein
|
||||||
|
const char* hostname,
|
||||||
|
const char* service) {
|
||||||
|
ASSERT(handle != NULL);
|
||||||
|
+ if (status != 0)
|
||||||
|
+ fprintf(stderr, " status: %d\n", status);
|
||||||
|
ASSERT(status == 0);
|
||||||
|
ASSERT(hostname != NULL);
|
||||||
|
ASSERT(service != NULL);
|
||||||
|
Index: libuv-1.23.2/test/test-list.h
|
||||||
|
===================================================================
|
||||||
|
--- libuv-1.23.2.orig/test/test-list.h
|
||||||
|
+++ libuv-1.23.2/test/test-list.h
|
||||||
|
@@ -746,7 +746,7 @@ TASK_LIST_START
|
||||||
|
|
||||||
|
TEST_ENTRY (getnameinfo_basic_ip4)
|
||||||
|
TEST_ENTRY (getnameinfo_basic_ip4_sync)
|
||||||
|
- TEST_ENTRY (getnameinfo_basic_ip6)
|
||||||
|
+// TEST_ENTRY (getnameinfo_basic_ip6) // broken on OBS because no network to resolve ::1 => hostname
|
||||||
|
|
||||||
|
TEST_ENTRY (getsockname_tcp)
|
||||||
|
TEST_ENTRY (getsockname_udp)
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:772f93776ba68a357b515cda1515ce898674ef6cde30826d0cac64ce9950ebb0
|
|
||||||
size 1167950
|
|
3
libuv-1.23.2.tar.gz
Normal file
3
libuv-1.23.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:30af979c4f4b8d1b895ae6d115f7400c751542ccb9e656350fc89fda08d4eabd
|
||||||
|
size 1192529
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 11 14:05:40 UTC 2018 - adam.majer@suse.de
|
||||||
|
|
||||||
|
- Update to version 1.23.2:
|
||||||
|
* unix: return 0 retrieving rss on cygwin
|
||||||
|
* unix: initialize uv_interface_address_t.phys_addr
|
||||||
|
* test: handle uv_os_setpriority() windows edge case
|
||||||
|
* tty, win: fix read stop for raw mode
|
||||||
|
* Revert "Revert "unix,fs: fix for potential partial reads/writes""
|
||||||
|
* unix,readv: always permit partial reads to return
|
||||||
|
* win,tty: fix uv_tty_close()
|
||||||
|
* doc: remove extraneous "on
|
||||||
|
* unix,win: fix threadpool race condition
|
||||||
|
* unix: rework thread barrier implementation
|
||||||
|
* unix: signal done to last thread barrier waiter
|
||||||
|
* unix: optimize uv_fs_readlink() memory allocation
|
||||||
|
For complete changelog please see
|
||||||
|
https://github.com/libuv/libuv/releases
|
||||||
|
* install license as %license
|
||||||
|
* fix_tests.patch: fix unit tests on OBS
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 24 22:24:45 UTC 2017 - avindra@opensuse.org
|
Sun Dec 24 22:24:45 UTC 2017 - avindra@opensuse.org
|
||||||
|
|
||||||
|
12
libuv.spec
12
libuv.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libuv
|
# spec file for package libuv
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define somajor 1
|
%define somajor 1
|
||||||
Name: libuv
|
Name: libuv
|
||||||
Version: 1.18.0
|
Version: 1.23.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Asychronous I/O support library
|
Summary: Asychronous I/O support library
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -29,6 +29,7 @@ Url: http://libuv.org
|
|||||||
# Source1: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz.sign
|
# Source1: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz.sign
|
||||||
# Source2: %{name}.keyring
|
# Source2: %{name}.keyring
|
||||||
Source0: https://github.com/libuv/libuv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/libuv/libuv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
Patch1: fix_tests.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -63,6 +64,7 @@ Mozilla's Rust language, Luvit, Julia, pyuv, and others.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -75,8 +77,7 @@ make %{?_smp_mflags} V=1
|
|||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Tests sadly fail
|
make %{?_smp_mflags} check
|
||||||
#make %{?_smp_mflags} check
|
|
||||||
|
|
||||||
%post -n libuv%{somajor} -p /sbin/ldconfig
|
%post -n libuv%{somajor} -p /sbin/ldconfig
|
||||||
%postun -n libuv%{somajor} -p /sbin/ldconfig
|
%postun -n libuv%{somajor} -p /sbin/ldconfig
|
||||||
@ -85,7 +86,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_libdir}/libuv.so.%{somajor}*
|
%{_libdir}/libuv.so.%{somajor}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc AUTHORS CONTRIBUTING.md ChangeLog LICENSE README.md
|
%doc AUTHORS CONTRIBUTING.md ChangeLog README.md
|
||||||
|
%license LICENSE
|
||||||
%{_libdir}/libuv.so
|
%{_libdir}/libuv.so
|
||||||
%{_includedir}/uv*
|
%{_includedir}/uv*
|
||||||
%{_libdir}/pkgconfig/libuv.pc
|
%{_libdir}/pkgconfig/libuv.pc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user