Honor memcached options= --server=localhost as redis conf
[yaz-moved-to-github.git] / yaz.spec
index e35d6d7..1b1acb5 100644 (file)
--- a/yaz.spec
+++ b/yaz.spec
@@ -46,7 +46,7 @@ BuildRequires: libxml2-devel
 BuildRequires: libxslt-devel
 BuildRequires: readline-devel
 BuildRequires: libicu-devel
-BuildRequires: libmemcached-devel
+BuildRequires: wget
 BuildRequires: libgcrypt-devel
 Packager: Adam Dickmeiss <adam@indexdata.dk>
 URL: http://www.indexdata.com/yaz
@@ -58,7 +58,7 @@ for the ANSI/NISO Z39.50 protocol for Information Retrieval.
 %package -n libyaz5
 Summary: Z39.50 Library
 Group: Libraries
-Requires: libxslt, gnutls, libicu, libmemcached, libgcrypt
+Requires: libxslt, gnutls, libicu, libgcrypt
 
 %description -n libyaz5
 YAZ is a library for the ANSI/NISO Z39.50 protocol for Information
@@ -100,7 +100,8 @@ 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
+       --enable-shared --enable-tcpd --with-xslt --with-gnutls --with-icu \
+       --without-memcached
 make CFLAGS="$RPM_OPT_FLAGS"
 
 %install