[jabberd] added libdb4 include directory to include search path

Adrian Reber adrian at fedoraproject.org
Tue Jul 24 07:58:31 UTC 2012


commit 8ab42445160ada14fb1b7a5967938f1c4927752a
Author: Adrian Reber <adrian at lisas.de>
Date:   Tue Jul 24 09:57:26 2012 +0200

    added libdb4 include directory to include search path

 jabberd.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/jabberd.spec b/jabberd.spec
index d6370fc..c34f1b8 100644
--- a/jabberd.spec
+++ b/jabberd.spec
@@ -1,7 +1,7 @@
 Summary:        OpenSource server implementation of the Jabber protocols
 Name:           jabberd
 Version:        2.2.16
-Release:        3%{?dist}
+Release:        4%{?dist}
 License:        GPLv2+
 Group:          System Environment/Daemons
 Source0:        https://github.com/downloads/Jabberd2/jabberd2/jabberd-%{version}.tar.gz
@@ -12,7 +12,7 @@ Source4:        jabberd-sm.service
 Source5:        jabberd-router.service
 Patch0:         https://github.com/Jabberd2/jabberd2/commit/41884d9919.patch
 # https://github.com/Jabberd2/jabberd2/pull/5
-Patch1:		https://github.com/Jabberd2/jabberd2/commit/d452eec68b342977cd9fc6863c2e1aee1b99feb3.patch
+Patch1:         https://github.com/Jabberd2/jabberd2/commit/d452eec68b342977cd9fc6863c2e1aee1b99feb3.patch
 URL:            http://codex.xiaoka.com/wiki/jabberd2:start
 BuildRequires:  openssl-devel libidn-devel expat-devel
 BuildRequires:  systemd-units cppunit-devel
@@ -56,6 +56,7 @@ export CFLAGS="%{optflags}"
         %{!?_without_pam:--enable-pam} \
         %{?_without_pam:--disable-pam} \
         %{!?_without_db4:--enable-db} \
+        %{!?_without_db4: --with-extra-include-path=%{_includedir}/libdb4} \
         %{?_without_db4:--disable-db} \
         %{!?_without_mysql:--enable-mysql} \
         %{!?_without_mysql:--with-extra-library-path=%{_libdir}/mysql} \
@@ -216,6 +217,9 @@ fi
 %attr(700, jabber, jabber) %{_var}/lib/%{name}
 
 %changelog
+* Tue Jul 24 2012 Adrian Reber <adrian at lisas.de> - 2.2.16-4
+- added libdb4 include directory to include search path
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.16-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list