summaryrefslogtreecommitdiffstats
path: root/redhat/tdeaddons/tdeaddons-3.5.13.2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdeaddons/tdeaddons-3.5.13.2.spec')
-rw-r--r--redhat/tdeaddons/tdeaddons-3.5.13.2.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/redhat/tdeaddons/tdeaddons-3.5.13.2.spec b/redhat/tdeaddons/tdeaddons-3.5.13.2.spec
index 1d08e43e6..87138e373 100644
--- a/redhat/tdeaddons/tdeaddons-3.5.13.2.spec
+++ b/redhat/tdeaddons/tdeaddons-3.5.13.2.spec
@@ -65,14 +65,14 @@ BuildRequires: db4-devel
BuildRequires: db5-devel
%endif
%endif
-%if 0%{?fedora} >= 18
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
BuildRequires: libdb-devel
BuildRequires: libdb-cxx-devel
%endif
%if 0%{?suse_version}
BuildRequires: libdb-4_8-devel
%endif
-%if 0%{?rhel}
+%if 0%{?rhel} && 0%{?rhel} <= 6
BuildRequires: db4-devel
%endif
%endif
@@ -680,7 +680,6 @@ done
##########
-
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}