- Fix RHEL4 and 6 build

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=45
This commit is contained in:
Klaus Kämpf 2012-12-20 09:47:28 +00:00 committed by Git OBS Bridge
parent 1661fc9130
commit 9535c6a376
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Thu Dec 20 09:40:06 UTC 2012 - kkaempf@suse.com
- Fix RHEL6 build
- Fix RHEL4 and 6 build
-------------------------------------------------------------------
Mon Dec 17 12:52:34 UTC 2012 - kkaempf@suse.com

View File

@ -48,7 +48,7 @@ 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