changeset 937:9dffe477806e

RPM: Update popt build dependency * Correct build on RHEL6 and CentOS 6 Signed-off-by: Simon Horman <horms@verge.net.au>
author Simon Horman <horms@verge.net.au>
date Sat, 13 Jun 2015 10:40:06 +0900
parents 32568d1f0e7d
children 5f2c6804dbb4
files perdition.spec.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/perdition.spec.in	Sat Jun 13 09:35:46 2015 +0900
+++ b/perdition.spec.in	Sat Jun 13 10:40:06 2015 +0900
@@ -39,7 +39,7 @@
 %{!?_without_ssl:BuildRequires: openssl-devel}
 %{!?_without_odbc:BuildRequires: unixODBC-devel}
 
-%if 0%{?centos_version} >= 600 || 0%{?rhel_version} >= 600 || 0%{?suse_version} || 0%{?fedora_version}
+%if 0%{?suse_version} || 0%{?fedora_version} || 0%{?centos_version} >= 600 || 0%{?rhel_version} >= 600
 BuildRequires: popt-devel
 %else
 %if 0%{?mandriva_version}