This commit is contained in:
committed by
Git OBS Bridge
parent
2279774155
commit
65136e88e3
15
swig.spec
15
swig.spec
@@ -26,8 +26,9 @@ Group: Development/Languages/C and C++
|
||||
AutoReqProv: on
|
||||
Summary: Simplified Wrapper and Interface Generator
|
||||
Version: 1.3.36
|
||||
Release: 1
|
||||
Release: 2
|
||||
Source: swig-%{version}.tar.bz2
|
||||
Patch1: swig-1.3.36-perl-long-long.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -98,6 +99,7 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
|
||||
%build
|
||||
v1=$(awk '/^# Generated by GNU Autoconf / { print $6; exit; }' configure)
|
||||
@@ -113,14 +115,6 @@ export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||
--prefix=/usr \
|
||||
--libdir=%{_libdir}
|
||||
make %{?jobs:-j%jobs}
|
||||
# vvv begin 1.3.36 workaround vvv
|
||||
%ifarch ppc
|
||||
# these test-cases fail on ppc on some corner-cases
|
||||
mv Examples/test-suite/perl5/li_typemaps_runme.pl{,.DISABLED}
|
||||
mv Examples/test-suite/perl5/reference_global_vars_runme.pl{,.DISABLED}
|
||||
%endif
|
||||
test %version = 1.3.36
|
||||
# ^^^ end 1.3.36 workaround ^^^
|
||||
make check
|
||||
|
||||
%install
|
||||
@@ -161,6 +155,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/swig
|
||||
|
||||
%changelog
|
||||
* Tue Oct 21 2008 mmarek@suse.cz
|
||||
- fixed two integer overflows in perlprimtypes.swg. These were
|
||||
actually why the two tests on ppc failed. *sigh* (bnc#431945)
|
||||
* Fri Sep 26 2008 mmarek@suse.cz
|
||||
- disable two perl tests on ppc
|
||||
* Wed Sep 24 2008 mmarek@suse.cz
|
||||
|
Reference in New Issue
Block a user