OBS User unknown 2007-05-31 19:14:03 +00:00 committed by Git OBS Bridge
parent 47469c663c
commit 0cc7ffe87a
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 29 11:13:24 CEST 2007 - mmarek@suse.cz
- install examples in '%%_libdir/swig/examples' (not Examples) to
pass the devel-file-in-non-devel-package rpmlint check
-------------------------------------------------------------------
Thu May 24 12:04:24 CEST 2007 - mmarek@suse.cz

View File

@ -18,7 +18,7 @@ Group: Development/Languages/C and C++
Autoreqprov: on
Summary: Simplified Wrapper and Interface Generator
Version: 1.3.31
Release: 15
Release: 18
Source: swig-%{version}.tar.bz2
Patch1: swig-testsuite.patch
Patch2: swig-1.3.31-testsuite-warnings.patch
@ -117,7 +117,7 @@ install -d $RPM_BUILD_ROOT%{_docdir}/%{name}
cp -a FUTURE TODO NEW ANNOUNCE CHANGES* LICENSE README Doc/{Devel,Manual} \
$RPM_BUILD_ROOT%{_docdir}/%{name}/
install -d $RPM_BUILD_ROOT%{_libdir}/swig
cp -a Examples $RPM_BUILD_ROOT%_libdir/swig/
cp -a Examples $RPM_BUILD_ROOT%_libdir/swig/examples
# rm files that are not needed for runnig or rebuilding the examples
find $RPM_BUILD_ROOT%_libdir/swig \
-name '*.dsp' -o -name '*.vcproj' -o -name '*.sln' -o \
@ -126,7 +126,7 @@ find $RPM_BUILD_ROOT%_libdir/swig \
chmod -x $RPM_BUILD_ROOT%_docdir/%name/Manual/*
find $RPM_BUILD_ROOT%_libdir/swig -name '*.h' -perm +111 | \
xargs --no-run-if-empty chmod -x
ln -s %_libdir/swig/Examples $RPM_BUILD_ROOT%_docdir/%name/
ln -s %_libdir/swig/examples $RPM_BUILD_ROOT%_docdir/%name/Examples
%clean
rm -rf $RPM_BUILD_ROOT
@ -149,6 +149,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/swig
%changelog
* 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
* Thu May 24 2007 - mmarek@suse.cz
- fixed some rpmlint errors
* Wed Apr 04 2007 - mmarek@suse.cz