[up-imapproxy/el5] conditionalize BR for tcpwrappers

wolfy wolfy at fedoraproject.org
Sat Sep 21 22:39:46 UTC 2013


commit 5c5fbbd5623b826751e7d3f1118e8a92985d8156
Author: Manuel Wolfshant <wolfy at fedoraproject.org>
Date:   Sun Sep 22 01:39:30 2013 +0300

    conditionalize BR for tcpwrappers

 up-imapproxy.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/up-imapproxy.spec b/up-imapproxy.spec
index d73a3bb..12dac51 100644
--- a/up-imapproxy.spec
+++ b/up-imapproxy.spec
@@ -8,7 +8,7 @@
 Name:           up-imapproxy
 Summary:        University of Pittsburgh IMAP Proxy
 Version:        1.2.8
-Release:        0.1.20130726svn14389%{?dist}
+Release:        0.2.20130726svn14389%{?dist}
 License:        GPLv2+
 Group:          System Environment/Daemons
 URL:            http://www.imapproxy.org
@@ -22,7 +22,12 @@ Source2:        imapproxy.init
 # handle aarch64 per RH BZ 926684
 Patch0:         http://ausil.fedorapeople.org/aarch64/up-imapproxy/up-imapproxy-aarch64.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  openssl-devel tcp_wrappers ncurses-devel tcp_wrappers-devel 
+%if 0%{?rhel} == 5
+BuildRequires:  tcp_wrappers
+%else
+BuildRequires:  tcp_wrappers-devel
+%endif
+BuildRequires:  openssl-devel ncurses-devel
 %if 0%{?use_sysv}
 Requires(post): chkconfig
 Requires(preun): chkconfig
@@ -121,6 +126,10 @@ fi
 %{_sbindir}/*
 
 %changelog
+
+* Sun Sep 22 2013 Manuel Wolfshant <wolfy at fedoraproject.org> 1.2.8-0.2.20130726svn14389
+- Conditionalize BuildRequires for tcp wrappers for EL5/rest of the builds
+
 * Tue Sep 17 2013 Chris Adams <linux at cmadams.net> - 1.2.8-0.1.20130726svn14389
 - Update to upstream Subversion snapshot to get bug fixes
 - Apply autoconf patch to handle aarch64


More information about the scm-commits mailing list