[cyrus-imapd/f16] fix rhel conditional in spec
Michal Hlavinka
mhlavink at fedoraproject.org
Fri Nov 25 14:16:15 UTC 2011
commit 246f1c07a4583409c9d445325343bb1f331db812
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Fri Nov 25 15:16:07 2011 +0100
fix rhel conditional in spec
cyrus-imapd.spec | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec
index 2d63f0c..d3b8820 100644
--- a/cyrus-imapd.spec
+++ b/cyrus-imapd.spec
@@ -32,7 +32,7 @@ Source11: README.rpm
Source12: cyrus-imapd.service
Source13: cyr_systemd_helper
-%if %{?rhel}0 < 7
+%if 0%{?rhel} < 7
#temporary(Fedora 15 and 16), to workaround broken update of db4->libdb in sendmail->cyrus-sasl->%{name}
#ok, we need libdb-utils, but it can't be installed, because it conflicts with db4-utils (rpm pulls it in)
#so we keep libdb-utils content in /usr/lib/cyrus-imapd/libdb-utils/ but we have to get it somehow during build process
@@ -204,7 +204,7 @@ make -C notifyd notifytest
rm -rf %{buildroot}
-%if %{?rhel}0 < 7
+%if 0%{?rhel} < 7
#temporary, install our own copy of libdb-utils
mkdir -p %{buildroot}/%{_cyrexecdir}/libdb-utils/
cp %{_sourcedir}/libdb-utils.%{_arch}.cpio %{buildroot}/%{_cyrexecdir}/libdb-utils/
@@ -399,7 +399,7 @@ fi
/lib/systemd/system/cyrus-imapd.service
%dir %{_cyrexecdir}
-%if %{?rhel}0 < 7
+%if 0%{?rhel} < 7
%{_cyrexecdir}/libdb-utils
%endif
More information about the scm-commits
mailing list