Hello community,
here is the log from the commit of package swig
checked in at Fri Apr 6 00:31:15 CEST 2007.
--------
--- swig/swig.changes 2006-11-08 15:25:19.000000000 +0100
+++ /mounts/work_src_done/STABLE/swig/swig.changes 2007-04-04 16:59:27.000000000 +0200
@@ -1,0 +2,20 @@
+Wed Apr 4 16:23:51 CEST 2007 - mmarek@suse.cz
+
+- install the precompiled examples to %%_libdir/swig
+
+-------------------------------------------------------------------
+Wed Jan 24 12:22:40 CET 2007 - mmarek@suse.cz
+
+- temporarily disabled li_std_string run test under perl5 on ix86
+ and s390
+- build examples and testsuite with -fno-strict-aliasing (packages
+ using swig & python should do the same for now)
+- fixed testsuite-warnings.patch
+
+-------------------------------------------------------------------
+Fri Dec 15 10:19:15 CET 2006 - mmarek@suse.cz
+
+- updated to 1.3.31, for changes see
+ http://swig.svn.sourceforge.net/viewvc/swig/trunk/CHANGES?r1=9073&r2=9585&diff_format=u
+
+-------------------------------------------------------------------
Old:
----
swig-1.3.29-autoconf260.patch
swig-1.3.29-python25.patch
swig-1.3.29-python-module-crash.patch
swig-1.3.29.tar.bz2
swig-1.3.29-testsuite.patch
New:
----
swig-1.3.31.tar.bz2
swig-1.3.31-testsuite-warnings.patch
swig-testsuite.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ swig.spec ++++++
--- /var/tmp/diff_new_pack.f22820/_old 2007-04-06 00:30:37.000000000 +0200
+++ /var/tmp/diff_new_pack.f22820/_new 2007-04-06 00:30:37.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package swig (Version 1.3.29)
+# spec file for package swig (Version 1.3.31)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -17,13 +17,11 @@
Group: Development/Languages/C and C++
Autoreqprov: on
Summary: Simplified Wrapper and Interface Generator
-Version: 1.3.29
-Release: 24
-Source: %{name}-%{version}.tar.bz2
-Patch1: %{name}-%{version}-testsuite.patch
-Patch2: %{name}-%{version}-autoconf260.patch
-Patch3: swig-1.3.29-python25.patch
-Patch4: swig-1.3.29-python-module-crash.patch
+Version: 1.3.31
+Release: 2
+Source: swig-%{version}.tar.bz2
+Patch1: swig-testsuite.patch
+Patch2: swig-1.3.31-testsuite-warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -41,6 +39,7 @@
Authors:
--------
Dave Beazley
+ William S Fulton
%package doc
Summary: SWIG Manual
@@ -80,7 +79,7 @@
documentation generation, module and library management, extensive
customization options, and more.
-This package contains SWIG examples, usefull both for testing and
+This package contains SWIG examples, useful both for testing and
understandig SWIG usage.
@@ -94,25 +93,33 @@
chmod -x Doc/Manual/*
%patch1
%patch2
-%patch3
-%patch4
%build
ACLOCAL="aclocal -I Tools/config" autoreconf -fi
-export CCSHARED="-fPIC $RPM_OPT_FLAGS"
+export CCSHARED="-fPIC -fno-strict-aliasing $RPM_OPT_FLAGS"
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
./configure \
--prefix=/usr \
--libdir=%{_libdir}
make %{?jobs:-j%jobs}
+%ifarch %ix86 s390
+# this test is known to fail on these architectures as of swig-1.3.31
+mv Examples/test-suite/perl5/li_std_string_runme.pl \
+ Examples/test-suite/perl5/li_std_string_runme.pl.DISABLED
+# reminder
+test %version = 1.3.31
+%endif
make check
%install
make install DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_docdir}/%{name}
cp -a FUTURE TODO NEW ANNOUNCE CHANGES* LICENSE README Doc/{Devel,Manual} \
- Examples $RPM_BUILD_ROOT%{_docdir}/%{name}/
+ $RPM_BUILD_ROOT%{_docdir}/%{name}/
+install -d $RPM_BUILD_ROOT%{_libdir}/swig
+cp -a Examples $RPM_BUILD_ROOT%_libdir/swig/
+ln -s %_libdir/swig/Examples $RPM_BUILD_ROOT%_docdir/%name/
%clean
rm -rf $RPM_BUILD_ROOT
@@ -132,8 +139,20 @@
%files examples
%defattr(-,root,root)
%{_docdir}/%{name}/Examples
+%{_libdir}/swig
-%changelog -n swig
+%changelog
+* Wed Apr 04 2007 - mmarek@suse.cz
+- install the precompiled examples to %%_libdir/swig
+* Wed Jan 24 2007 - mmarek@suse.cz
+- temporarily disabled li_std_string run test under perl5 on ix86
+ and s390
+- build examples and testsuite with -fno-strict-aliasing (packages
+ using swig & python should do the same for now)
+- fixed testsuite-warnings.patch
+* Fri Dec 15 2006 - mmarek@suse.cz
+- updated to 1.3.31, for changes see
+ http://swig.svn.sourceforge.net/viewvc/swig/trunk/CHANGES?r1=9073&r2=9585&diff_format=u
* Wed Nov 08 2006 - mmarek@suse.cz
- fixed bug in the python module that caused aborts on some
architectures
++++++ swig-1.3.29.tar.bz2 -> swig-1.3.31.tar.bz2 ++++++
++++ 144946 lines of diff (skipped)
++++++ swig-1.3.31-testsuite-warnings.patch ++++++
--- Examples/test-suite/extend.i
+++ Examples/test-suite/extend.i
@@ -21,6 +21,7 @@ struct Base {
Base(int v = 0) : value(v) {}
int value;
virtual int method(int v) {
+ return v;
}
};
struct Derived : Base {
--- Examples/test-suite/template_array_numeric.i
+++ Examples/test-suite/template_array_numeric.i
@@ -8,7 +8,7 @@ class Arrayf
float a[Len];
public:
Arrayf() {}
- Arrayf(const float l[Len]) { };
+ Arrayf(const float l[Len]) { memcpy((void*)a, (void*)l, sizeof(a)); };
};
template <int Len>
++++++ swig-testsuite.patch ++++++
--- Makefile.in
+++ Makefile.in
@@ -66,7 +66,7 @@ chk-set-swiglib = SWIG_LIB=@ROOT_DIR@/L
chk-set-swig = SWIG=@ROOT_DIR@/$(TARGET)
chk-set-env = $(chk-set-swiglib) $(chk-set-swig)
-chk = $(MAKE) -k -s $(chk-set-env) $(ACTION)
+chk = $(MAKE) -k $(chk-set-env) $(ACTION)
check-aliveness:
test -x ./$(TARGET)
@@ -133,7 +133,7 @@ check-%-examples:
gifplot-library:
@echo $(ACTION)ing Examples/GIFPlot/Lib
- @cd Examples/GIFPlot/Lib && $(MAKE) -k -s $(ACTION)
+ @cd Examples/GIFPlot/Lib && $(MAKE) -k $(ACTION)
check-gifplot: \
check-tcl-gifplot \
@@ -201,7 +201,7 @@ check-%-test-suite:
echo warning: cannot $(ACTION) $* test-suite "(no dir $$dir)";\
else \
echo $(ACTION)ing $* test-suite; \
- (cd $$dir && $(MAKE) -k -s $(ACTION)) \
+ (cd $$dir && $(MAKE) -k $(ACTION)) \
|| passed=false; \
fi; \
test $$passed = true
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org