From 88d29d1794c99db7e57ca949faa4182dfd7d3796 Mon Sep 17 00:00:00 2001 From: "T.C. Hollingsworth" Date: Sun, 31 Mar 2013 16:17:00 -0700 Subject: [PATCH] bump to 0.10.3 now uses the official tarballs from libuv.org that were recently introduced upstream --- libuv-snapshot.sh | 8 -------- libuv.spec | 26 +++++++++++++------------- 2 files changed, 13 insertions(+), 21 deletions(-) delete mode 100755 libuv-snapshot.sh diff --git a/libuv-snapshot.sh b/libuv-snapshot.sh deleted file mode 100755 index 4ba232b..0000000 --- a/libuv-snapshot.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -git clone https://github.com/joyent/libuv.git -pushd libuv -git archive --format=tar --prefix=libuv-0.10.0/ 5462dab8890c414154690d8a45b1384301b27436 | gzip -nc > ../libuv-0.10.0git5462dab.tar.gz -popd - -rm -Rf libuv diff --git a/libuv.spec b/libuv.spec index 50caac4..819e429 100644 --- a/libuv.spec +++ b/libuv.spec @@ -6,18 +6,14 @@ Name: libuv Epoch: 1 -Version: 0.10.0 -Release: 2.git%{git_snapshot}%{?dist} +Version: 0.10.3 +Release: 1%{?dist} Summary: Platform layer for node.js Group: Development/Tools License: MIT URL: http://nodejs.org/ - -# Generated by: -# libuv-snapshot.sh -Source0: libuv-%{version}git%{git_snapshot}.tar.gz -Source1: libuv-snapshot.sh +Source0: http://libuv.org/dist/v%{version}/%{name}-v%{version}.tar.gz Source2: libuv.pc.in BuildRequires: gyp @@ -45,7 +41,7 @@ Requires(postun): /sbin/ldconfig Development libraries for libuv %prep -%setup -q +%setup -q -n %{name}-v%{version} %build export CFLAGS='%{optflags}' @@ -76,14 +72,14 @@ popd # Copy the headers into the include path mkdir -p %{buildroot}/%{_includedir}/uv-private -cp %{_builddir}/%{name}-%{version}/include/uv.h \ +cp include/uv.h \ %{buildroot}/%{_includedir} 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 \ - %{_builddir}/%{name}-%{version}/include/uv-private/uv-unix.h \ + include/uv-private/ngx-queue.h \ + include/uv-private/tree.h \ + include/uv-private/uv-linux.h \ + include/uv-private/uv-unix.h \ %{buildroot}/%{_includedir}/uv-private # Create the pkgconfig file @@ -117,6 +113,10 @@ sed -e "s#@prefix@#%{_prefix}#g" \ %{_includedir}/uv-private %changelog +* 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 - 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