diff --git a/0001-Bump-NVR-to-2.0.patch b/0001-Bump-NVR-to-2.0.patch new file mode 100644 index 0000000..569667d --- /dev/null +++ b/0001-Bump-NVR-to-2.0.patch @@ -0,0 +1,24 @@ +From 9f3551b4f5cf5ef681bc697d4de3f2d4882aab6e Mon Sep 17 00:00:00 2001 +From: Adam Tkac +Date: Fri, 21 Sep 2012 12:39:57 +0200 +Subject: [PATCH] Bump NVR to 2.0 + +Signed-off-by: Adam Tkac +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 6686310..cff5526 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1,5 +1,5 @@ + AC_PREREQ([2.59]) +-AC_INIT([bind-dyndb-ldap], [1.1.0rc1], [freeipa-devel@redhat.com]) ++AC_INIT([bind-dyndb-ldap], [2.0], [freeipa-devel@redhat.com]) + + AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2]) + +-- +1.7.11.4 + diff --git a/bind-dyndb-ldap.spec b/bind-dyndb-ldap.spec index 61e89f0..8d046d6 100644 --- a/bind-dyndb-ldap.spec +++ b/bind-dyndb-ldap.spec @@ -22,6 +22,8 @@ BuildRequires: automake, autoconf, libtool Requires: bind >= 32:9.6.1-0.3.b1 +Patch0: 0001-Bump-NVR-to-2.0.patch + %description This package provides an LDAP back-end plug-in for BIND. It features support for dynamic updates and internal caching, to lift the load @@ -31,6 +33,8 @@ off of your LDAP server. %prep %setup -q -n %{name}-%{VERSION} +%patch0 -p1 -b .nvr + %build export CFLAGS="`isc-config.sh --cflags dns` $RPM_OPT_FLAGS" autoreconf -fiv