[packages/hiredis] - updated to 0.13.3 - updated link patch
qboosh
qboosh at pld-linux.org
Tue Nov 8 17:49:22 CET 2016
commit 4486cffa32e80ed81da99265811e05f49973b2c2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Nov 8 17:49:21 2016 +0100
- updated to 0.13.3
- updated link patch
hiredis.spec | 5 +++--
link.patch | 19 +++++++++----------
2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/hiredis.spec b/hiredis.spec
index 37d53c9..853c138 100644
--- a/hiredis.spec
+++ b/hiredis.spec
@@ -1,12 +1,13 @@
Summary: A minimalistic C client library for Redis
Summary(pl.UTF-8): Minimalistyczna biblioteka C klienta Redisa
Name: hiredis
-Version: 0.13.1
+Version: 0.13.3
Release: 1
License: BSD
Group: Libraries
+#Source0Download: https://github.com/redis/hiredis/releases
Source0: https://github.com/redis/hiredis/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 4226dda52dbe08304e3b6027b4d6c74d
+# Source0-md5: 43dca1445ec6d3b702821dba36000279
Patch0: link.patch
URL: https://github.com/redis/hiredis/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/link.patch b/link.patch
index f25be31..807a984 100644
--- a/link.patch
+++ b/link.patch
@@ -1,7 +1,7 @@
---- hiredis-0.13.1/Makefile.orig 2015-05-03 22:58:11.000000000 +0200
-+++ hiredis-0.13.1/Makefile 2015-06-08 18:05:58.081044826 +0200
-@@ -47,7 +47,7 @@
- DYLIB_MINOR_NAME=$(LIBNAME).$(DYLIBSUFFIX).$(HIREDIS_MAJOR).$(HIREDIS_MINOR)
+--- hiredis-0.13.3/Makefile.orig 2015-09-16 12:25:02.000000000 +0200
++++ hiredis-0.13.3/Makefile 2016-11-08 16:37:58.943150777 +0100
+@@ -49,7 +49,7 @@
+ DYLIB_MINOR_NAME=$(LIBNAME).$(DYLIBSUFFIX).$(HIREDIS_SONAME)
DYLIB_MAJOR_NAME=$(LIBNAME).$(DYLIBSUFFIX).$(HIREDIS_MAJOR)
DYLIBNAME=$(LIBNAME).$(DYLIBSUFFIX)
-DYLIB_MAKE_CMD=$(CC) -shared -Wl,-soname,$(DYLIB_MINOR_NAME) -o $(DYLIBNAME) $(LDFLAGS)
@@ -9,7 +9,7 @@
STLIBNAME=$(LIBNAME).$(STLIBSUFFIX)
STLIB_MAKE_CMD=ar rcs $(STLIBNAME)
-@@ -120,8 +120,8 @@
+@@ -140,8 +140,8 @@
hiredis-test: test.o $(STLIBNAME)
@@ -20,12 +20,11 @@
test: hiredis-test
./hiredis-test
-@@ -165,7 +165,7 @@
+@@ -184,6 +184,7 @@
+ mkdir -p $(INSTALL_INCLUDE_PATH) $(INSTALL_LIBRARY_PATH)
$(INSTALL) hiredis.h async.h read.h sds.h adapters $(INSTALL_INCLUDE_PATH)
$(INSTALL) $(DYLIBNAME) $(INSTALL_LIBRARY_PATH)/$(DYLIB_MINOR_NAME)
- cd $(INSTALL_LIBRARY_PATH) && ln -sf $(DYLIB_MINOR_NAME) $(DYLIB_MAJOR_NAME)
-- cd $(INSTALL_LIBRARY_PATH) && ln -sf $(DYLIB_MAJOR_NAME) $(DYLIBNAME)
-+ cd $(INSTALL_LIBRARY_PATH) && ln -sf $(DYLIB_MINOR_NAME) $(DYLIBNAME)
++ cd $(INSTALL_LIBRARY_PATH) && ln -sf $(DYLIB_MINOR_NAME) $(DYLIB_MAJOR_NAME)
+ cd $(INSTALL_LIBRARY_PATH) && ln -sf $(DYLIB_MINOR_NAME) $(DYLIBNAME)
$(INSTALL) $(STLIBNAME) $(INSTALL_LIBRARY_PATH)
mkdir -p $(INSTALL_PKGCONF_PATH)
- $(INSTALL) $(PKGCONFNAME) $(INSTALL_PKGCONF_PATH)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hiredis.git/commitdiff/4486cffa32e80ed81da99265811e05f49973b2c2
More information about the pld-cvs-commit
mailing list