diff options
Diffstat (limited to 'redhat/tdeaddons/tdeaddons-14.0.0.spec')
-rw-r--r-- | redhat/tdeaddons/tdeaddons-14.0.0.spec | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/redhat/tdeaddons/tdeaddons-14.0.0.spec b/redhat/tdeaddons/tdeaddons-14.0.0.spec index 40270cfc7..2ac162ece 100644 --- a/redhat/tdeaddons/tdeaddons-14.0.0.spec +++ b/redhat/tdeaddons/tdeaddons-14.0.0.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 @@ -391,7 +391,7 @@ Requires: %{_lib}jpeg8 %if 0%{?rhel} || 0%{?fedora} Requires: libjpeg %endif -%if 0%{?suse_version} >= 1220 +%if 0%{?suse_version} == 1220 Requires: libjpeg62 %endif %if 0%{?pclinuxos} @@ -670,7 +670,6 @@ done ########## - %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} |