From cbe6fe88459e1dc051bf8bd66c91d5668fefbeb9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 11 Jun 2014 14:01:21 +0200 Subject: [PATCH] Upd RPM for hiredis --- yaz.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yaz.spec b/yaz.spec index 1b1acb5..34d5647 100644 --- a/yaz.spec +++ b/yaz.spec @@ -16,6 +16,7 @@ Release: 1.indexdata %define is_suse11 %(grep 'VERSION = 11' /etc/SuSE-release >/dev/null 2>&1 && echo 1 || echo 0) %define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) Requires: libxslt, gnutls, readline, libyaz5 = %{version} +Requires: hiredis License: BSD Group: Applications/Internet Vendor: Index Data ApS @@ -48,6 +49,7 @@ BuildRequires: readline-devel BuildRequires: libicu-devel BuildRequires: wget BuildRequires: libgcrypt-devel +BuildRequires: hiredis-devel Packager: Adam Dickmeiss URL: http://www.indexdata.com/yaz @@ -101,7 +103,7 @@ chain facility of YAZ. CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \ --enable-shared --enable-tcpd --with-xslt --with-gnutls --with-icu \ - --without-memcached + --without-memcached --with-redis make CFLAGS="$RPM_OPT_FLAGS" %install -- 1.7.10.4