Drop Octave support on RHEL

Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
Adam Tkac 2012-04-19 14:49:12 +02:00
parent 366aa191f9
commit 668562cac2

View File

@ -1,10 +1,16 @@
%{!?tcl:%define tcl 1} %{!?tcl:%define tcl 1}
%{!?guile:%define guile 1} %{!?guile:%define guile 1}
%if 0%{?rhel}
%{!?octave:%define octave 0}
%else
%{!?octave:%define octave 1}
%endif
Summary: Connects C/C++/Objective C to some high-level programming languages Summary: Connects C/C++/Objective C to some high-level programming languages
Name: swig Name: swig
Version: 2.0.4 Version: 2.0.4
Release: 6%{?dist} Release: 7%{?dist}
License: GPLv3+ and BSD License: GPLv3+ and BSD
Group: Development/Tools Group: Development/Tools
URL: http://swig.sourceforge.net/ URL: http://swig.sourceforge.net/
@ -24,7 +30,10 @@ BuildRequires: tcl-devel
%if %{guile} %if %{guile}
BuildRequires: guile-devel BuildRequires: guile-devel
%endif %endif
BuildRequires: autoconf, automake, gawk, dos2unix, octave-devel BuildRequires: autoconf, automake, gawk, dos2unix
%if %{octave}
BuildRequires: octave-devel
%endif
%description %description
Simplified Wrapper and Interface Generator (SWIG) is a software Simplified Wrapper and Interface Generator (SWIG) is a software
@ -81,7 +90,11 @@ done
%build %build
./autogen.sh ./autogen.sh
%configure --with-octave=/usr/bin/octave %configure \
%if %{octave}
--with-octave=/usr/bin/octave \
%endif
;
make %{?_smp_mflags} make %{?_smp_mflags}
# Test suite is currently broken # Test suite is currently broken
@ -124,6 +137,9 @@ rm -rf %{buildroot}
%doc Doc Examples LICENSE LICENSE-GPL LICENSE-UNIVERSITIES COPYRIGHT %doc Doc Examples LICENSE LICENSE-GPL LICENSE-UNIVERSITIES COPYRIGHT
%changelog %changelog
* Thu Apr 19 2012 Adam Tkac <atkac redhat com> - 2.0.4-7
- drop Octave support on RHEL
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2.0.4-6 * Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2.0.4-6
- Rebuild against PCRE 8.30 - Rebuild against PCRE 8.30