[yaz/f21] Enable GnuTLS support suggested by upstream.

Christopher Meng cicku at fedoraproject.org
Fri Jul 18 03:11:17 UTC 2014


commit 3ff5b26de4df2257aeb19655281f93df6b2f69a1
Author: Christopher Meng <i at cicku.me>
Date:   Fri Jul 18 11:11:07 2014 +0800

    Enable GnuTLS support suggested by upstream.

 001_yaz_fix_buildconf.patch |   11 -----------
 yaz.spec                    |   20 ++++++++++++--------
 2 files changed, 12 insertions(+), 19 deletions(-)
---
diff --git a/yaz.spec b/yaz.spec
index a59849c..2e4d6bf 100644
--- a/yaz.spec
+++ b/yaz.spec
@@ -1,11 +1,12 @@
 Name:           yaz
 Version:        5.3.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Z39.50/SRW/SRU toolkit
 License:        BSD
 URL:            http://www.indexdata.com/yaz/
 Source0:        http://ftp.indexdata.com/pub/yaz/yaz-%{version}.tar.gz
 BuildRequires:  bison
+BuildRequires:  gnutls-devel
 BuildRequires:  hiredis-devel
 BuildRequires:  libgcrypt-devel
 BuildRequires:  libgpg-error-devel
@@ -14,7 +15,6 @@ BuildRequires:  libmemcached-devel
 BuildRequires:  libpcap-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
-BuildRequires:  openssl-devel
 BuildRequires:  readline-devel
 BuildRequires:  tcl
 BuildRequires:  tcp_wrappers-devel
@@ -66,12 +66,13 @@ server and client.
 
 %build
 %configure \
-    --enable-tcpd \
-    --enable-shared \
-    --with-memcached \
-    --with-redis \
-    --disable-static
-make %{?_smp_mflags}
+        --enable-tcpd \
+        --enable-shared \
+        --with-memcached \
+        --with-redis \
+        --disable-static
+
+%make_build
 
 %install
 %make_install
@@ -127,6 +128,9 @@ make check
 %{_pkgdocdir}
 
 %changelog
+* Fri Jul 18 2014 Christopher Meng <rpm at cicku.me> - 5.3.0-2
+- Enable GnuTLS support.
+
 * Thu Jul 17 2014 Christopher Meng <rpm at cicku.me> - 5.3.0-1
 - Update to 5.3.0
 


More information about the scm-commits mailing list