[libuv/el6] bump to version included with node 0.9.4
T.C. Hollingsworth
patches at fedoraproject.org
Thu Dec 27 01:46:42 UTC 2012
commit e53c004290c284e0132e7bf97d022e5a5a79edbb
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date: Wed Dec 26 18:45:05 2012 -0700
bump to version included with node 0.9.4
- drop upstreamed patch
- respect optflags
.gitignore | 1 +
0001-Export-uv_inet_-functions.patch | 27 ---------------------------
libuv-snapshot.sh | 2 +-
libuv.spec | 21 +++++++++++----------
sources | 2 +-
5 files changed, 14 insertions(+), 39 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 560d6ee..7e20a93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/libuv-0.9.3git09b0222.tar.gz
+/libuv-0.9.4gitdc559a5.tar.gz
diff --git a/libuv-snapshot.sh b/libuv-snapshot.sh
index 7024099..711c022 100755
--- a/libuv-snapshot.sh
+++ b/libuv-snapshot.sh
@@ -2,7 +2,7 @@
git clone https://github.com/joyent/libuv.git
pushd libuv
-git archive --format=tar --prefix=libuv-0.9.3/ 09b022232aaddce1ee9def7092538734415f386c |gzip -nc > ../libuv-0.9.3git09b0222.tar.gz
+git archive --format=tar --prefix=libuv-0.9.4/ dc559a5ce69cef28e1c73a3782c17b5801989e67 |gzip -nc > ../libuv-0.9.4gitdc559a5.tar.gz
popd
rm -Rf libuv
diff --git a/libuv.spec b/libuv.spec
index f78343b..221c50a 100644
--- a/libuv.spec
+++ b/libuv.spec
@@ -1,8 +1,8 @@
-%global git_snapshot 09b0222
+%global git_snapshot dc559a5
Name: libuv
-Version: 0.9.3
-Release: 0.3.git%{git_snapshot}%{?dist}
+Version: 0.9.4
+Release: 0.1.git%{git_snapshot}%{?dist}
Summary: Platform layer for node.js
Group: Development/Tools
@@ -23,9 +23,6 @@ Requires(postun): /sbin/ldconfig
# https://fedorahosted.org/fpc/ticket/231
Provides: bundled(libev) = 4.04
-# Properly export missing function
-Patch0001: 0001-Export-uv_inet_-functions.patch
-
%description
libuv is a new platform layer for Node. Its purpose is to abstract IOCP on
Windows and libev on Unix systems. We intend to eventually contain all platform
@@ -45,9 +42,9 @@ Development libraries for libuv
%prep
%setup -q
-%patch0001 -p1
-
%build
+export CFLAGS='%{optflags}'
+export CXXFLAGS='%{optflags}'
./gyp_uv -Dcomponent=shared_library -Dlibrary=shared_library
# Modify the build so it produces a versioned shared library
@@ -77,8 +74,7 @@ mkdir -p %{buildroot}/%{_includedir}/uv-private
cp %{_builddir}/%{name}-%{version}/include/uv.h \
%{buildroot}/%{_includedir}
-cp %{_builddir}/%{name}-%{version}/include/uv-private/ev.h \
- %{_builddir}/%{name}-%{version}/include/uv-private/ev-proto.h \
+cp \
%{_builddir}/%{name}-%{version}/include/uv-private/ngx-queue.h \
%{_builddir}/%{name}-%{version}/include/uv-private/tree.h \
%{_builddir}/%{name}-%{version}/include/uv-private/uv-linux.h \
@@ -116,6 +112,11 @@ sed -e "s#@prefix@#%{_prefix}#g" \
%{_includedir}/uv-private
%changelog
+* Wed Dec 26 2012 T.C. Hollingsworth <tchollingsworth at 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 at redhat.com> - 0.9.3-0.3.git09b0222
- Add patch to export uv_inet_*
diff --git a/sources b/sources
index 0e3134b..a795ede 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-92e5ac4f6d71f8a0b55779f05360f403 libuv-0.9.3git09b0222.tar.gz
+5be6d1cc686a06f2f3f1c82d8fd97f4e libuv-0.9.4gitdc559a5.tar.gz
More information about the scm-commits
mailing list