Compare commits
No commits in common. "rawhide" and "f26" have entirely different histories.
53
.gitignore
vendored
53
.gitignore
vendored
@ -1,7 +1,3 @@
|
|||||||
*.src.rpm
|
|
||||||
libuv-v*/
|
|
||||||
*~
|
|
||||||
*.swp
|
|
||||||
/libuv-0.9.3git09b0222.tar.gz
|
/libuv-0.9.3git09b0222.tar.gz
|
||||||
/libuv-0.9.4gitdc559a5.tar.gz
|
/libuv-0.9.4gitdc559a5.tar.gz
|
||||||
/libuv-0.10.0git5462dab.tar.gz
|
/libuv-0.10.0git5462dab.tar.gz
|
||||||
@ -20,6 +16,7 @@ libuv-v*/
|
|||||||
/libuv-v0.10.18.tar.gz
|
/libuv-v0.10.18.tar.gz
|
||||||
/libuv-v0.10.19.tar.gz
|
/libuv-v0.10.19.tar.gz
|
||||||
/libuv-v0.10.20.tar.gz
|
/libuv-v0.10.20.tar.gz
|
||||||
|
/libuv.spec
|
||||||
/libuv-v0.10.21.tar.gz
|
/libuv-v0.10.21.tar.gz
|
||||||
/libuv-v0.10.23.tar.gz
|
/libuv-v0.10.23.tar.gz
|
||||||
/libuv-v0.10.25.tar.gz
|
/libuv-v0.10.25.tar.gz
|
||||||
@ -36,51 +33,3 @@ libuv-v*/
|
|||||||
/libuv-v1.10.1.tar.gz
|
/libuv-v1.10.1.tar.gz
|
||||||
/libuv-v1.10.2.tar.gz
|
/libuv-v1.10.2.tar.gz
|
||||||
/libuv-v1.11.0.tar.gz
|
/libuv-v1.11.0.tar.gz
|
||||||
/libuv-v1.12.0.tar.gz
|
|
||||||
/libuv-v1.13.1.tar.gz
|
|
||||||
/libuv-v1.14.0.tar.gz
|
|
||||||
/libuv-v1.14.1.tar.gz
|
|
||||||
/libuv-v1.15.0.tar.gz
|
|
||||||
/libuv-v1.16.0.tar.gz
|
|
||||||
/libuv-v1.16.1.tar.gz
|
|
||||||
/libuv-v1.19.0.tar.gz
|
|
||||||
/libuv-v1.19.1.tar.gz
|
|
||||||
/libuv-v1.19.2.tar.gz
|
|
||||||
/libuv-v1.20.0.tar.gz
|
|
||||||
/libuv-v1.20.2.tar.gz
|
|
||||||
/libuv-v1.20.3.tar.gz
|
|
||||||
/libuv-v1.21.0.tar.gz
|
|
||||||
/libuv-v1.22.0.tar.gz
|
|
||||||
/libuv-v1.23.0.tar.gz
|
|
||||||
/libuv-v1.23.2.tar.gz
|
|
||||||
/libuv-v1.24.1.tar.gz
|
|
||||||
/libuv-v1.26.0.tar.gz
|
|
||||||
/libuv-v1.27.0.tar.gz
|
|
||||||
/libuv-v1.28.0.tar.gz
|
|
||||||
/libuv-v1.29.0.tar.gz
|
|
||||||
/libuv-v1.29.1.tar.gz
|
|
||||||
/libuv-v1.30.0.tar.gz
|
|
||||||
/libuv-v1.30.1.tar.gz
|
|
||||||
/libuv-v1.31.0.tar.gz
|
|
||||||
/libuv-v1.32.0.tar.gz
|
|
||||||
/libuv-v1.33.0.tar.gz
|
|
||||||
/libuv-v1.33.1.tar.gz
|
|
||||||
/libuv-v1.34.0.tar.gz
|
|
||||||
/libuv-v1.34.1.tar.gz
|
|
||||||
/libuv-v1.34.2.tar.gz
|
|
||||||
/libuv-v1.36.0.tar.gz
|
|
||||||
/libuv-v1.37.0.tar.gz
|
|
||||||
/libuv-v1.38.0.tar.gz
|
|
||||||
/libuv-v1.38.1.tar.gz
|
|
||||||
/libuv-v1.39.0.tar.gz
|
|
||||||
/libuv-v1.40.0.tar.gz
|
|
||||||
/libuv-v1.41.0.tar.gz
|
|
||||||
/libuv-v1.41.1.tar.gz
|
|
||||||
/libuv-v1.42.0.tar.gz
|
|
||||||
/libuv-v1.43.0.tar.gz
|
|
||||||
/libuv-v1.44.0.tar.gz
|
|
||||||
/libuv-v1.44.1.tar.gz
|
|
||||||
/libuv-v1.44.2.tar.gz
|
|
||||||
/libuv-v1.45.0.tar.gz
|
|
||||||
/libuv-v1.46.0.tar.gz
|
|
||||||
/libuv-v1.47.0.tar.gz
|
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
From b963f0a75bd6c95fbfa0ac17e46ab1f9d1a787c4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Stephen Gallagher <sgallagh@redhat.com>
|
|
||||||
Date: Tue, 14 Nov 2023 04:23:28 -0500
|
|
||||||
Subject: [PATCH 1/2] unix: ignore ifaddrs with NULL ifa_addr (#4218)
|
|
||||||
|
|
||||||
Passing this to uv__is_ipv6_link_local() is causing a segmentation
|
|
||||||
fault. Note that the documentation for getifaddrs() explicitly states
|
|
||||||
that this value may be NULL.
|
|
||||||
|
|
||||||
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
|
|
||||||
---
|
|
||||||
src/unix/tcp.c | 5 +++--
|
|
||||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/unix/tcp.c b/src/unix/tcp.c
|
|
||||||
index a6b53e5913271d0c83e1d7f7e4cb8140f5f3936d..29f4532e747db50146a8b821389f4d45304c5cd0 100644
|
|
||||||
--- a/src/unix/tcp.c
|
|
||||||
+++ b/src/unix/tcp.c
|
|
||||||
@@ -233,8 +233,9 @@ static int uv__ipv6_link_local_scope_id(void) {
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
for (p = ifa; p != NULL; p = p->ifa_next)
|
|
||||||
- if (uv__is_ipv6_link_local(p->ifa_addr))
|
|
||||||
- break;
|
|
||||||
+ if (p->ifa_addr != NULL)
|
|
||||||
+ if (uv__is_ipv6_link_local(p->ifa_addr))
|
|
||||||
+ break;
|
|
||||||
|
|
||||||
rv = 0;
|
|
||||||
if (p != NULL) {
|
|
||||||
--
|
|
||||||
2.41.0
|
|
||||||
|
|
@ -1,58 +0,0 @@
|
|||||||
From 21e403424060d71e97ee1ef328288fdb9d24a191 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Ben Noordhuis <info@bnoordhuis.nl>
|
|
||||||
Date: Tue, 14 Nov 2023 10:58:02 +0100
|
|
||||||
Subject: [PATCH 2/2] test: check if ipv6 link-local traffic is routable
|
|
||||||
|
|
||||||
Fixes: https://github.com/libuv/libuv/issues/4211
|
|
||||||
---
|
|
||||||
test/test-tcp-connect6-error.c | 17 +++++++++++++++++
|
|
||||||
1 file changed, 17 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/test/test-tcp-connect6-error.c b/test/test-tcp-connect6-error.c
|
|
||||||
index 1e6d7c78da999d5d6d1f5e1e57646e34aba4a33b..dc2fce82f8958ac5afaeafafa8f2efccf2a1e1ec 100644
|
|
||||||
--- a/test/test-tcp-connect6-error.c
|
|
||||||
+++ b/test/test-tcp-connect6-error.c
|
|
||||||
@@ -23,6 +23,7 @@
|
|
||||||
#include "task.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
+#include <string.h>
|
|
||||||
|
|
||||||
|
|
||||||
static int connect_cb_called = 0;
|
|
||||||
@@ -75,9 +76,13 @@ TEST_IMPL(tcp_connect6_error_fault) {
|
|
||||||
|
|
||||||
|
|
||||||
TEST_IMPL(tcp_connect6_link_local) {
|
|
||||||
+ uv_interface_address_t* ifs;
|
|
||||||
+ uv_interface_address_t* p;
|
|
||||||
struct sockaddr_in6 addr;
|
|
||||||
uv_connect_t req;
|
|
||||||
uv_tcp_t server;
|
|
||||||
+ int ok;
|
|
||||||
+ int n;
|
|
||||||
|
|
||||||
if (!can_ipv6())
|
|
||||||
RETURN_SKIP("IPv6 not supported");
|
|
||||||
@@ -90,6 +95,18 @@ TEST_IMPL(tcp_connect6_link_local) {
|
|
||||||
RETURN_SKIP("Test does not currently work in QEMU");
|
|
||||||
#endif /* defined(__QEMU__) */
|
|
||||||
|
|
||||||
+ /* Check there's an interface that routes link-local (fe80::/10) traffic. */
|
|
||||||
+ ASSERT_OK(uv_interface_addresses(&ifs, &n));
|
|
||||||
+ for (p = ifs; p < &ifs[n]; p++)
|
|
||||||
+ if (p->address.address6.sin6_family == AF_INET6)
|
|
||||||
+ if (!memcmp(&p->address.address6.sin6_addr, "\xfe\x80", 2))
|
|
||||||
+ break;
|
|
||||||
+ ok = (p < &ifs[n]);
|
|
||||||
+ uv_free_interface_addresses(ifs, n);
|
|
||||||
+
|
|
||||||
+ if (!ok)
|
|
||||||
+ RETURN_SKIP("IPv6 link-local traffic not supported");
|
|
||||||
+
|
|
||||||
ASSERT_OK(uv_ip6_addr("fe80::0bad:babe", 1337, &addr));
|
|
||||||
ASSERT_OK(uv_tcp_init(uv_default_loop(), &server));
|
|
||||||
|
|
||||||
--
|
|
||||||
2.41.0
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
|||||||
From 3d10efa49dc063831787bc01501ab946f6d91282 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Stephen Gallagher <sgallagh@redhat.com>
|
|
||||||
Date: Thu, 16 Nov 2023 10:00:20 -0500
|
|
||||||
Subject: [PATCH 3/3] test_fs.c: Fix issue on 32-bit systems using btrfs
|
|
||||||
|
|
||||||
On Fedora's build system, the build environment runs on btrfs. This
|
|
||||||
revealed a bug in the test on i686 systems, where this comparison was
|
|
||||||
being performed as a comparison of two signed integers, but the
|
|
||||||
filesystem type of btrfs happens to use the higher-order bits, resulting
|
|
||||||
in it appearing as a negative value.
|
|
||||||
|
|
||||||
BTRFS_SUPER_MAGIC 0x9123683e
|
|
||||||
|
|
||||||
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
|
|
||||||
---
|
|
||||||
test/test-fs.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/test/test-fs.c b/test/test-fs.c
|
|
||||||
index 1acdc5c67082c7ea4f579f25af82cd9bd3fefc71..ab8a9e07ccea95493e479703a07bebca5e29be30 100644
|
|
||||||
--- a/test/test-fs.c
|
|
||||||
+++ b/test/test-fs.c
|
|
||||||
@@ -343,7 +343,7 @@ static void statfs_cb(uv_fs_t* req) {
|
|
||||||
defined(__OpenBSD__) || defined(__NetBSD__)
|
|
||||||
ASSERT_OK(stats->f_type);
|
|
||||||
#else
|
|
||||||
- ASSERT_GT(stats->f_type, 0);
|
|
||||||
+ ASSERT_UINT64_GT(stats->f_type, 0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ASSERT_GT(stats->f_bsize, 0);
|
|
||||||
--
|
|
||||||
2.41.0
|
|
||||||
|
|
32
changelog
32
changelog
@ -1,32 +0,0 @@
|
|||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> 1:1.43.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 05 2022 Stephen Gallagher <sgallagh@redhat.com> 1:1.43.0-2
|
|
||||||
- Also remove udp_multicast_join6 test
|
|
||||||
|
|
||||||
* Wed Jan 05 2022 Stephen Gallagher <sgallagh@redhat.com> 1:1.43.0-1
|
|
||||||
- Update to 1.43.0
|
|
||||||
|
|
||||||
* Thu Sep 02 2021 Stephen Gallagher <sgallagh@redhat.com> 1:1.42.0-2
|
|
||||||
- Drop use of rpmautospec for the release field
|
|
||||||
|
|
||||||
* Tue Aug 31 2021 Stephen Gallagher <sgallagh@redhat.com> 1:1.42.0-1
|
|
||||||
- Update to 1.42.0
|
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> 1:1.41.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 09 2021 Stephen Gallagher <sgallagh@redhat.com> 1:1.41.1-1
|
|
||||||
- idna: fix OOB read in punycode decoder
|
|
||||||
|
|
||||||
* Fri Feb 19 2021 Stephen Gallagher <sgallagh@redhat.com> 1:1.41.0-2
|
|
||||||
- Update package.cfg for rawhide rename
|
|
||||||
|
|
||||||
* Fri Feb 19 2021 Stephen Gallagher <sgallagh@redhat.com> 1:1.41.0-1
|
|
||||||
- Update to 1.41.0
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> 1:1.40.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jan 05 2021 Tom Stellard <tstellar@redhat.com> 1:1.40.0-2
|
|
||||||
- Add BuildRequires: make
|
|
15
gating.yaml
15
gating.yaml
@ -1,15 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- fedora-*
|
|
||||||
decision_context: bodhi_update_push_testing
|
|
||||||
subject_type: koji_build
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
|
|
||||||
|
|
||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- fedora-*
|
|
||||||
decision_context: bodhi_update_push_stable
|
|
||||||
subject_type: koji_build
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
|
|
BIN
keysuv.gpg
BIN
keysuv.gpg
Binary file not shown.
@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCgAdFiEEz7ucqaW+r9cOKzxaeaZ8VaNnnIsFAmVJLkMACgkQeaZ8VaNn
|
|
||||||
nIulpw/+PDclC7vdL8iYxgPIcUrkktfeg2bNLreuh8X18vl+9pkm6L2pyHD5oczm
|
|
||||||
SOuH7l5XWSWUU9TcFH57TMb79e4PQLGQ66+8jNkNb9GDHu4ccKi0Zbke5MXscUsZ
|
|
||||||
EaG4pjpIOcmE0UopVpIh0qfAli3pO31xJzymAh0/Wz8bWwQ415VEpkAJ+N9a1bWa
|
|
||||||
Lztf0VfKNjoT5omSuxJ0xwfbc8msDnivY9fKbaHOWLeUkZ7sZ9CBbVAixCfEvGil
|
|
||||||
81imUmKpNVHjMw1+k0Z7Fw2VrFi7sPh1uOVUuKGImN7ga/tfZscLLNtH+oE3JjIw
|
|
||||||
Kg2qQDM4VU620SsXYywLZEOsuavzadbOK/2PqBNYVsZ1YOToAItaaNaXmLCVEUla
|
|
||||||
7t4Dq9W+aR7dtsgcvbS8hEc7goBvMYYLJ6h+Lf/YCTlkDxaKciDGxTEmGsPikbxk
|
|
||||||
kVjAmW6y1LHiHMw8Ob4DKuv+RMo5oH12ouN8SdSlV8xKyM+Toysv/bwynsC+92Xv
|
|
||||||
3M0EcVbj32c/9At8xfi1eRFXDPNC3Tu6ibh4qch0Jm9sgJIrzEEKmgR+f+uqAg07
|
|
||||||
gHVCQMma+Sch+6sUt8/sM1+2r+Epol0/6L5hsstrnLiUVGIyrTawzq6VJFXmc7vA
|
|
||||||
pxEgUBl/ff2tRS/RlqSNb5YIbIRo0hccuG0qepgMCeahl/UVS/k=
|
|
||||||
=URgL
|
|
||||||
-----END PGP SIGNATURE-----
|
|
@ -1,6 +0,0 @@
|
|||||||
[suppress_function]
|
|
||||||
symbol_name_regexp = ^uv__.*
|
|
||||||
|
|
||||||
[suppress_function]
|
|
||||||
symbol_name_regexp = .*
|
|
||||||
change_kind = added-function
|
|
11
libuv.pc.in
Normal file
11
libuv.pc.in
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: libuv
|
||||||
|
Description: Development libraries for libuv
|
||||||
|
Version: @version@
|
||||||
|
Libs: -L${libdir} -luv -lrt -lpthread -lnsl -ldl
|
||||||
|
Cflags: -I{includedir}
|
||||||
|
URL: http://libuv.org/
|
298
libuv.spec
298
libuv.spec
@ -1,57 +1,18 @@
|
|||||||
# Run the tests by default on Fedora
|
|
||||||
# Some of the network tests fail on RHEL/CentOS Stream due to the network
|
|
||||||
# configuration on the builders
|
|
||||||
%if 0%{?rhel}
|
|
||||||
%bcond tests 0
|
|
||||||
%else
|
|
||||||
%bcond tests 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: libuv
|
Name: libuv
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.47.0
|
Version: 1.11.0
|
||||||
Release: %autorelease
|
Release: 1%{?dist}
|
||||||
Summary: Platform layer for node.js
|
Summary: Platform layer for node.js
|
||||||
|
|
||||||
# Code is MIT
|
# the licensing breakdown is described in detail in the LICENSE file
|
||||||
# Documentation is CC-BY-4.0
|
License: MIT and BSD and ISC
|
||||||
# src/inet.c is ISC
|
|
||||||
# include/uv/tree.h is BSD-2-Clause
|
|
||||||
License: MIT AND CC-BY-4.0 AND ISC AND BSD-2-Clause
|
|
||||||
URL: http://libuv.org/
|
URL: http://libuv.org/
|
||||||
Source0: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz
|
Source0: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz
|
||||||
Source1: https://dist.libuv.org/dist/v%{version}/%{name}-v%{version}.tar.gz.sign
|
Source2: %{name}.pc.in
|
||||||
# mkdir temp
|
|
||||||
# gpg --no-default-keyring --keyring temp/keyring.gpg --keyserver keyserver.ubuntu.com \
|
|
||||||
# --recv-keys D77B1E34243FBAF05F8E9CC34F55C8C846AB89B9 \
|
|
||||||
# FDF519364458319FA8233DC9410E5553AE9BC059 94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
|
|
||||||
# 57353E0DBDAAA7E839B66A1AFF47D5E4AD8B4FDC AEAD0A4B686767751A0E4AEF34A25FB128246514 \
|
|
||||||
# CFBB9CA9A5BEAFD70E2B3C5A79A67C55A3679C8B C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C \
|
|
||||||
# 612F0EAD9401622379DF4402F28C3C8DA33C03BE \
|
|
||||||
# && gpg --no-default-keyring --keyring temp/keyring.gpg --output temp/keysuv.gpg --export
|
|
||||||
# cp temp/keysuv.gpg .
|
|
||||||
Source2: keysuv.gpg
|
|
||||||
Source3: libuv.abignore
|
|
||||||
|
|
||||||
# Test fix for IPv6 interfaces with a NULL ifa_addr
|
BuildRequires: autoconf automake libtool
|
||||||
# https://github.com/libuv/libuv/pull/4218
|
|
||||||
Patch: 0001-unix-ignore-ifaddrs-with-NULL-ifa_addr-4218.patch
|
|
||||||
|
|
||||||
# test: check if ipv6 link-local traffic is routable
|
|
||||||
# https://github.com/libuv/libuv/pull/4220
|
|
||||||
Patch: 0002-test-check-if-ipv6-link-local-traffic-is-routable.patch
|
|
||||||
|
|
||||||
# test: Use unsigned comparison for fs_type
|
|
||||||
# https://github.com/libuv/libuv/pull/4227
|
|
||||||
Patch: 0003-test_fs.c-Fix-issue-on-32-bit-systems-using-btrfs.patch
|
|
||||||
|
|
||||||
BuildRequires: cmake
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gnupg2
|
|
||||||
# Documentation
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: python3-sphinx
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libuv is a new platform layer for Node. Its purpose is to abstract IOCP on
|
libuv is a new platform layer for Node. Its purpose is to abstract IOCP on
|
||||||
@ -61,77 +22,238 @@ differences in this library.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development libraries for libuv
|
Summary: Development libraries for libuv
|
||||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
Requires: %{name}-static%{?_isa} = %{epoch}:%{version}-%{release}
|
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development libraries for libuv
|
Development libraries for libuv
|
||||||
|
|
||||||
%package static
|
%package static
|
||||||
Summary: Platform layer for node.js - static library
|
Summary: Platform layer for node.js - static library
|
||||||
Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%description static
|
%description static
|
||||||
Static library (.a) version of libuv.
|
Static library (.a) version of libuv.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
%setup -q -n %{name}-v%{version}
|
||||||
%autosetup -n %{name}-v%{version} -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with tests}
|
./autogen.sh
|
||||||
%cmake -DBUILD_TESTING=ON
|
%configure
|
||||||
%else
|
%make_build
|
||||||
%cmake -DBUILD_TESTING=OFF
|
|
||||||
%endif
|
|
||||||
%cmake_build
|
|
||||||
# Build Documentation
|
|
||||||
cd docs
|
|
||||||
make man
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%make_install
|
||||||
# install documentation
|
rm -f %{buildroot}%{_libdir}/libuv.la
|
||||||
mkdir -p %{buildroot}/%{_mandir}/man1/
|
|
||||||
install -p -m 644 docs/build/man/libuv.1 %{buildroot}/%{_mandir}/man1/
|
|
||||||
mkdir -p %{buildroot}%{_libdir}/libuv/
|
|
||||||
install -Dm0644 -t %{buildroot}%{_libdir}/libuv/ %{SOURCE3}
|
|
||||||
# Remove packaged license files
|
|
||||||
rm %{buildroot}/%{_docdir}/libuv/LICENSE
|
|
||||||
rm %{buildroot}/%{_docdir}/libuv/LICENSE-extra
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with tests}
|
# Tests are currently disabled because some require network access
|
||||||
env UV_TEST_TIMEOUT_MULTIPLIER=10 ./%{__cmake_builddir}/uv_run_tests
|
# Working with upstream to split these out
|
||||||
env UV_TEST_TIMEOUT_MULTIPLIER=10 ./%{__cmake_builddir}/uv_run_tests_a
|
#./run-tests
|
||||||
%endif
|
#./run-benchmarks
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md AUTHORS CONTRIBUTING.md MAINTAINERS.md SUPPORTED_PLATFORMS.md
|
%doc README.md AUTHORS CONTRIBUTING.md MAINTAINERS.md SUPPORTED_PLATFORMS.md
|
||||||
%doc ChangeLog
|
%doc ChangeLog
|
||||||
%license LICENSE LICENSE-docs LICENSE-extra
|
%license LICENSE
|
||||||
%{_libdir}/%{name}.so.1
|
%{_libdir}/%{name}.so.*
|
||||||
%{_libdir}/%{name}.so.1.*
|
|
||||||
%dir %{_libdir}/%{name}
|
|
||||||
%{_libdir}/%{name}/libuv.abignore
|
|
||||||
%{_mandir}/man1/%{name}.1*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/uv.h
|
|
||||||
%dir %{_includedir}/uv
|
|
||||||
%{_includedir}/uv/*.h
|
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
%dir %{_libdir}/cmake/%{name}
|
%{_includedir}/uv*.h
|
||||||
%{_libdir}/cmake/%{name}/*.cmake
|
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%{_libdir}/%{name}.a
|
%{_libdir}/%{name}.a
|
||||||
%{_libdir}/pkgconfig/%{name}-static.pc
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
%autochangelog
|
* Tue Feb 28 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.11.0-1
|
||||||
|
- Update to 1.11.0
|
||||||
|
- https://github.com/libuv/libuv/blob/v1.11.0/ChangeLog
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 19 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.10.2-1
|
||||||
|
- Update to 1.10.2
|
||||||
|
- Resolves: RHBZ#1395927
|
||||||
|
|
||||||
|
* Sat Nov 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.10.1-1
|
||||||
|
- Update to 1.10.1 (RHBZ #1395927)
|
||||||
|
|
||||||
|
* Mon Oct 24 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.10.0-1
|
||||||
|
- Update to 1.10.0
|
||||||
|
- https://github.com/libuv/libuv/blob/v1.10.0/ChangeLog
|
||||||
|
|
||||||
|
* Wed May 18 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.9.1-1
|
||||||
|
- Update to 1.9.1
|
||||||
|
- https://github.com/libuv/libuv/blob/v1.9.1/ChangeLog
|
||||||
|
|
||||||
|
* Mon May 09 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.9.0-1
|
||||||
|
- Rebase to 1.9.0 to support Node.js 6.x
|
||||||
|
|
||||||
|
* Thu Mar 10 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.8.0-1
|
||||||
|
- Rebase to 1.8.0 to support Node.js 5.8
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.7.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 01 2015 Stephen Gallagher <sgallagh@redhat.com> 1.7.5-1
|
||||||
|
- Rebase to 1.7.5 to support Node.js 4.2
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:1.4.0-1
|
||||||
|
- rebase to 1.4.0
|
||||||
|
|
||||||
|
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.33-2
|
||||||
|
- add missing %%{_?isa} to devel requires of main package
|
||||||
|
- fix some issues with the pkgconfig file and Group reported by Michael Schwendt
|
||||||
|
|
||||||
|
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.33-1
|
||||||
|
- new upstream release 0.10.33
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.33/ChangeLog
|
||||||
|
- update URL to point to the new libuv.org
|
||||||
|
|
||||||
|
* Wed Nov 19 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.29-1
|
||||||
|
- new upstream release 0.10.29
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.29/ChangeLog
|
||||||
|
|
||||||
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.10.28-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Aug 01 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.28-1
|
||||||
|
- new upstream release 0.10.28
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.28/ChangeLog
|
||||||
|
|
||||||
|
* Thu Jul 03 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.27-3
|
||||||
|
- build static library for rust (RHBZ#1115975)
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.10.27-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 02 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.27-1
|
||||||
|
- new upstream release 0.10.27
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.27/ChangeLog
|
||||||
|
|
||||||
|
* Thu Feb 20 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.25-1
|
||||||
|
- new upstream release 0.10.25
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.25/ChangeLog
|
||||||
|
|
||||||
|
* Mon Jan 27 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.23-1
|
||||||
|
- new upstream release 0.10.23
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.23/ChangeLog
|
||||||
|
|
||||||
|
* Thu Dec 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.21-1
|
||||||
|
- new upstream release 0.10.21
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.21/ChangeLog
|
||||||
|
|
||||||
|
* Thu Dec 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.20-1
|
||||||
|
- new upstream release 0.10.20
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.20/ChangeLog
|
||||||
|
|
||||||
|
* Tue Nov 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.19-1
|
||||||
|
- new upstream release 0.10.19
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.19/ChangeLog
|
||||||
|
|
||||||
|
* Fri Oct 18 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.18-1
|
||||||
|
- new upstream release 0.10.18
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.18/ChangeLog
|
||||||
|
|
||||||
|
* Wed Sep 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.17-1
|
||||||
|
- new upstream release 0.10.17
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.17/ChangeLog
|
||||||
|
|
||||||
|
* Fri Sep 06 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.15-1
|
||||||
|
- new upstream release 0.10.15
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.15/ChangeLog
|
||||||
|
|
||||||
|
* Tue Aug 27 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.14-1
|
||||||
|
- new upstream release 0.10.14
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.14/ChangeLog
|
||||||
|
|
||||||
|
* Thu Jul 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.13-1
|
||||||
|
- new upstream release 0.10.13
|
||||||
|
https://github.com/joyent/libuv/blob/v0.10.13/ChangeLog
|
||||||
|
|
||||||
|
* Wed Jul 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.12-1
|
||||||
|
- new upstream release 0.10.12
|
||||||
|
|
||||||
|
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.11-1
|
||||||
|
- new upstream release 0.10.11
|
||||||
|
|
||||||
|
* Fri May 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.9-1
|
||||||
|
- new upstream release 0.10.9
|
||||||
|
|
||||||
|
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.8-2
|
||||||
|
- fix License tag (RHBZ#968226)
|
||||||
|
|
||||||
|
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.8-1
|
||||||
|
- new upstream release 0.10.8
|
||||||
|
|
||||||
|
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.7-1
|
||||||
|
- new upstream release 0.10.7
|
||||||
|
- drop upstreamed patch from 0.10.5-2
|
||||||
|
|
||||||
|
* Mon May 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.5-3
|
||||||
|
- don't sed the soname in the spec anymore; the patch takes care of it now
|
||||||
|
- drop leftover global define for git revision
|
||||||
|
|
||||||
|
* Mon May 13 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.10.5-2
|
||||||
|
- Add patch to properly report soname version information
|
||||||
|
This patch will be included upstream in 0.10.6 and can be dropped then.
|
||||||
|
- Remove Bundles(ev) as this has not been true since 0.9.5
|
||||||
|
|
||||||
|
* Wed Apr 24 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.5-1
|
||||||
|
- new upstream release 0.10.5
|
||||||
|
|
||||||
|
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.4-1
|
||||||
|
- new upstream release 0.10.4
|
||||||
|
- drop upstreamed patch
|
||||||
|
|
||||||
|
* Thu Apr 04 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.3-2
|
||||||
|
- backport patch that fixes FTBFS in nodejs-0.10.3
|
||||||
|
|
||||||
|
* Sun Mar 31 2013 tchollingsworth@gmail.com - 1:0.10.3-1
|
||||||
|
- rebase to 0.10.3
|
||||||
|
- upstream now does proper releases
|
||||||
|
|
||||||
|
* Tue Mar 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.0-2.git5462dab
|
||||||
|
- drop the patchlevel from the SONAME since libuv will retain binary
|
||||||
|
compatibility for the life of the 0.10.x series
|
||||||
|
|
||||||
|
* Mon Mar 11 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.10.0-1.git5462dab
|
||||||
|
- Upgrade to 0.10.0 release to match stable Node.js release
|
||||||
|
|
||||||
|
* Thu Feb 28 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.9.4-4.gitdc559a5
|
||||||
|
- Bump epoch for the version downgrade
|
||||||
|
- The 0.9.7 version hit the Rawhide repo due to the mass rebuild, we need a
|
||||||
|
clean upgrade path.
|
||||||
|
|
||||||
|
* Thu Feb 21 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.4-3.gitdc559a5
|
||||||
|
- Revert to version 0.9.4 (since 0.9.7 is breaking builds)
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-2.git4ba03dd
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 22 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.7-1.git4ba03dd
|
||||||
|
- Bump to version included with Node.js 0.9.7
|
||||||
|
|
||||||
|
* Wed Dec 26 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.4-0.1.gitdc559a5
|
||||||
|
- bump to version included with node 0.9.4
|
||||||
|
- drop upstreamed patch
|
||||||
|
- respect optflags
|
||||||
|
|
||||||
|
* Thu Nov 15 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.3.git09b0222
|
||||||
|
- Add patch to export uv_inet_*
|
||||||
|
|
||||||
|
* Wed Nov 14 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.2.git09b0222
|
||||||
|
- Fixes from package review
|
||||||
|
- Removed doubly-listed include directory
|
||||||
|
- Update git tarball to the latest upstream code
|
||||||
|
|
||||||
|
* Thu Nov 08 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.1.gitd56434a
|
||||||
|
- Initial package
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
[koji]
|
|
||||||
targets = rawhide fedora epel7
|
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libuv-v1.47.0.tar.gz) = 3fb6db0109dfa49db0e6028f6667ab5245b9707df337134ce6e1e9c9f82d4d686356cad30221094f79e87441e300f3c036a3cf04838d6eb23d4f27b1aaf4da13
|
SHA512 (libuv-v1.11.0.tar.gz) = 5b56e4c337093c6ddc12f8353b011fba9e57fd84565e279bfc13a7d16d3b6dc01f02fee52a32f38ef630a0f5200fc63f3cc04137af21942422c3dcf535212f02
|
||||||
|
Loading…
Reference in New Issue
Block a user