From 1661fc913007d455f26198ef47a5339de73cb6b1d10f724674fd20a38a9190d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Thu, 20 Dec 2012 09:40:24 +0000 Subject: [PATCH] - Fix RHEL6 build OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=44 --- swig.changes | 5 +++++ swig.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/swig.changes b/swig.changes index ef5dd41..dae059b 100644 --- a/swig.changes +++ b/swig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 20 09:40:06 UTC 2012 - kkaempf@suse.com + +- Fix RHEL6 build + ------------------------------------------------------------------- Mon Dec 17 12:52:34 UTC 2012 - kkaempf@suse.com diff --git a/swig.spec b/swig.spec index 73060ad..eb4718d 100644 --- a/swig.spec +++ b/swig.spec @@ -52,7 +52,7 @@ BuildRequires: ruby # not available on RHEL-6 BuildRequires: ruby-devel %endif -%if 0%{?rhel_version} + 0%{?centos_version} == 0 +%if 0%{?fedora} > 0 || 0%{?rhel_version} >= 600 ||0%{?centos_version} >= 600 BuildRequires: perl-devel %endif %endif