This commit is contained in:
parent
0cc7ffe87a
commit
14a75848df
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 19 16:54:03 CEST 2007 - mmarek@suse.cz
|
||||
|
||||
- don't "update" autofoo when building for older dists in the
|
||||
buildservice
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 29 11:13:24 CEST 2007 - mmarek@suse.cz
|
||||
|
||||
|
19
swig.spec
19
swig.spec
@ -12,13 +12,13 @@
|
||||
|
||||
Name: swig
|
||||
BuildRequires: gcc-c++ python-devel
|
||||
URL: http://www.swig.org
|
||||
License: BSD License and BSD-like
|
||||
Url: http://www.swig.org
|
||||
License: BSD 3-Clause
|
||||
Group: Development/Languages/C and C++
|
||||
Autoreqprov: on
|
||||
AutoReqProv: on
|
||||
Summary: Simplified Wrapper and Interface Generator
|
||||
Version: 1.3.31
|
||||
Release: 18
|
||||
Release: 51
|
||||
Source: swig-%{version}.tar.bz2
|
||||
Patch1: swig-testsuite.patch
|
||||
Patch2: swig-1.3.31-testsuite-warnings.patch
|
||||
@ -94,7 +94,12 @@ Authors:
|
||||
%patch2
|
||||
|
||||
%build
|
||||
ACLOCAL="aclocal -I Tools/config" autoreconf -fi
|
||||
v1=$(awk '/^# Generated by GNU Autoconf / { print $6; exit; }' configure)
|
||||
v2=$(autoconf -V | awk '/autoconf \(GNU Autoconf\)/ {print $4; exit}')
|
||||
old=$(perl -e "print ($v1 <= $v2);")
|
||||
if test "x$old" = "x1"; then
|
||||
./autogen.sh
|
||||
fi
|
||||
export CCSHARED="-fPIC -fno-strict-aliasing $RPM_OPT_FLAGS"
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||
@ -147,8 +152,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/%{name}/Examples
|
||||
%{_libdir}/swig
|
||||
|
||||
%changelog
|
||||
* Wed Sep 19 2007 - mmarek@suse.cz
|
||||
- don't "update" autofoo when building for older dists in the
|
||||
buildservice
|
||||
* Tue May 29 2007 - mmarek@suse.cz
|
||||
- install examples in '%%_libdir/swig/examples' (not Examples) to
|
||||
pass the devel-file-in-non-devel-package rpmlint check
|
||||
|
Loading…
Reference in New Issue
Block a user