diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-12-01 14:55:36 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-12-09 10:05:18 -0500 |
commit | 6bfb882b20530a0d78cd6fd625082b60aa3ef446 (patch) | |
tree | e07dafc718d988e7805a68b93c2d9d44db0f9315 | |
parent | c7c6e38b67df85632567f00b5900e179eadc1fb5 (diff) | |
download | sssd-6bfb882b20530a0d78cd6fd625082b60aa3ef446.tar.gz sssd-6bfb882b20530a0d78cd6fd625082b60aa3ef446.tar.xz sssd-6bfb882b20530a0d78cd6fd625082b60aa3ef446.zip |
Fix RPM spec for RHEL6
-rw-r--r-- | contrib/sssd.spec.in | 7 |
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 |