From 5b222094152f58701f0ea7dcc0e9a8c14c1fffe1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 29 May 2015 11:44:00 +0200 Subject: [PATCH] Require YAZ 5.13 or newer --- configure.ac | 4 ++-- debian/control | 2 +- metaproxy.spec | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 0e83613..78ebd6f 100644 --- a/configure.ac +++ b/configure.ac @@ -45,11 +45,11 @@ if test -z "$YAZPPLIB"; then AC_MSG_ERROR([YAZ++ development libraries missing]) fi CPPFLAGS="$YAZPPINC $CPPFLAGS" -AC_MSG_CHECKING([if YAZ is version 5.9.0 or later]) +AC_MSG_CHECKING([if YAZ is version 5.13.0 or later]) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[ -#if YAZ_VERSIONL < 0x50900 +#if YAZ_VERSIONL < 0x50D00 #error too old #endif ]])], diff --git a/debian/control b/debian/control index 189c3c0..73bfd75 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Standards-Version: 3.6.2 Maintainer: Adam Dickmeiss Priority: extra Build-Depends: debhelper (>= 7), - libyaz5-dev (>= 5.9.0), + libyaz5-dev (>= 5.13.0), libyazpp6-dev (>= 1.6.0), libxslt1-dev, libboost-dev, diff --git a/metaproxy.spec b/metaproxy.spec index dc32cf2..49f1538 100644 --- a/metaproxy.spec +++ b/metaproxy.spec @@ -9,7 +9,7 @@ Vendor: Index Data ApS Source: metaproxy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root Prefix: %{_prefix} /etc/metaproxy -BuildRequires: pkgconfig, libyaz5-devel >= 5.9.0, libyazpp6-devel >= 1.6.0 +BuildRequires: pkgconfig, libyaz5-devel >= 5.13.0, libyazpp6-devel >= 1.6.0 BuildRequires: libxslt-devel, boost-devel Conflicts: cf-engine <= 2.12.5 Packager: Adam Dickmeiss @@ -30,7 +30,7 @@ Metaproxy documentation. %package -n libmetaproxy6 Summary: Metaproxy library Group: Libraries -Requires: libyazpp6 >= 1.6.0, libyaz5 >= 5.9.0 +Requires: libyazpp6 >= 1.6.0, libyaz5 >= 5.13.0 %description -n libmetaproxy6 The Metaproxy libraries. -- 1.7.10.4