From 43b759348955de7bb54dbe1c879c02407d957f77 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 11 Sep 2014 10:28:45 -0500 Subject: [PATCH] fix opensuse rpm build --- freeswitch.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/freeswitch.spec b/freeswitch.spec index 23bf56faae..63269d2922 100644 --- a/freeswitch.spec +++ b/freeswitch.spec @@ -168,7 +168,11 @@ BuildRequires: termcap %endif BuildRequires: unixODBC-devel BuildRequires: gdbm-devel +%if 0%{?suse_version} > 100 +BuildRequires: db-devel +%else BuildRequires: db4-devel +%endif BuildRequires: python-devel BuildRequires: libogg-devel BuildRequires: libvorbis-devel