diff --git a/swig.changes b/swig.changes index ef5dd41..a687a2c 100644 --- a/swig.changes +++ b/swig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 20 09:40:06 UTC 2012 - kkaempf@suse.com + +- Fix RHEL4 and 6 build + ------------------------------------------------------------------- Mon Dec 17 12:52:34 UTC 2012 - kkaempf@suse.com diff --git a/swig.spec b/swig.spec index 73060ad..93ad125 100644 --- a/swig.spec +++ b/swig.spec @@ -48,11 +48,11 @@ BuildRequires: -vim %define docpath %{_docdir}/%{name}-%{version} BuildRequires: pkgconfig BuildRequires: ruby -%if (0%{?rhel_version} < 600) && (0%{?centos_version} < 600) +%if 0%{?rhel_version} < 600 && 0%{?centos_version} < 600 # 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