- Fixed some benign errors in copy-platform when calling pdebuild multiple

times.
This commit is contained in:
mbooth 2008-04-25 23:56:41 +00:00
parent 1836a478cf
commit e906bd401c
2 changed files with 8 additions and 5 deletions

View File

@ -27,16 +27,15 @@ fi
where=$1; shift where=$1; shift
eclipse=$1; shift eclipse=$1; shift
mkdir $where mkdir -p $where/plugins $where/features $where/links
cd $where cd $where
mkdir plugins features links
# Are there any optional arguments left? # Are there any optional arguments left?
if [ $# -gt 0 ]; then if [ $# -gt 0 ]; then
for optional in "$@"; do for optional in "$@"; do
(cd $eclipse; ls -d plugins/*"$optional"* features/*"$optional"*) | (cd $eclipse; ls -d plugins/*"$optional"* features/*"$optional"*) |
while read f; do while read f; do
ln -s $eclipse/$f $f [ ! -e $f ] && ln -s $eclipse/$f $f
done done
done done
fi fi

View File

@ -20,7 +20,7 @@ Epoch: 1
Summary: An open, extensible IDE Summary: An open, extensible IDE
Name: eclipse Name: eclipse
Version: %{eclipse_majmin}.%{eclipse_micro} Version: %{eclipse_majmin}.%{eclipse_micro}
Release: 10%{?dist} Release: 11%{?dist}
License: Eclipse Public License License: Eclipse Public License
Group: Text Editors/Integrated Development Environments (IDE) Group: Text Editors/Integrated Development Environments (IDE)
URL: http://www.eclipse.org/ URL: http://www.eclipse.org/
@ -1013,7 +1013,7 @@ cp %{SOURCE16} copy-platform
ls -d * | egrep -v '^(plugins|features|links|about_files)$' ls -d * | egrep -v '^(plugins|features|links|about_files)$'
ls -d plugins/* features/* links/* ls -d plugins/* features/* links/*
) | ) |
sed -e's/^\(.*\)$/\1 \1/' -e's,^,ln -s $eclipse/,' >> copy-platform sed -e's,^\(.*\),[ ! -e \1 ] \&\& ln -s $eclipse/\1 \1,' >> copy-platform
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
cp copy-platform $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts cp copy-platform $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
@ -1652,6 +1652,10 @@ fi
%endif %endif
%changelog %changelog
* Sat Apr 26 2008 Mat Booth <fedora@matbooth.co.uk> 3.3.2-11
- Fixed some benign errors in copy-platform when calling pdebuild
multiple times.
* Fri Apr 25 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-10 * Fri Apr 25 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-10
- Bump maximum heap size from 256 MB to 512 MB. - Bump maximum heap size from 256 MB to 512 MB.
- Add patch for https://bugs.eclipse.org/bugs/show_bug.cgi?id=214092 - Add patch for https://bugs.eclipse.org/bugs/show_bug.cgi?id=214092