summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-12-01 14:55:36 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-12-09 10:05:18 -0500
commit6bfb882b20530a0d78cd6fd625082b60aa3ef446 (patch)
treee07dafc718d988e7805a68b93c2d9d44db0f9315
parentc7c6e38b67df85632567f00b5900e179eadc1fb5 (diff)
downloadsssd-6bfb882b20530a0d78cd6fd625082b60aa3ef446.tar.gz
sssd-6bfb882b20530a0d78cd6fd625082b60aa3ef446.tar.xz
sssd-6bfb882b20530a0d78cd6fd625082b60aa3ef446.zip
Fix RPM spec for RHEL6
-rw-r--r--contrib/sssd.spec.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index e221df5b0..dd3689574 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -37,7 +37,12 @@ BuildRequires: automake
BuildRequires: libtool
BuildRequires: m4
%{?fedora:BuildRequires: popt-devel}
-%{?rhel:BuildRequires: popt}
+%if 0%{?rhel} <= 5
+BuildRequires: popt
+%endif
+%if 0%{?rhel} >= 6
+BuildRequires: popt-devel
+%endif
BuildRequires: libtalloc-devel
BuildRequires: libtevent-devel
BuildRequires: libtdb-devel