Create org.eclipse.swt.gtk.linux.* based on the ppc version.

This commit is contained in:
Alexander Kurtakov 2009-04-13 20:11:42 +00:00
parent bd30f33ad4
commit 99afe2d369

View File

@ -29,7 +29,7 @@ Epoch: 1
Summary: An open, extensible IDE
Name: eclipse
Version: %{eclipse_majmin}.%{eclipse_micro}
Release: 0.2%{?dist}
Release: 0.2.1%{?dist}
License: EPL
Group: Text Editors/Integrated Development Environments (IDE)
URL: http://www.eclipse.org/
@ -469,6 +469,17 @@ IFS='
fi
done
popd
rm -rf plugins/org.eclipse.swt.gtk.linux.%{_arch}
mv plugins/org.eclipse.swt.gtk.linux.{ppc,%{_arch}}
pushd plugins/org.eclipse.swt.gtk.linux.linux.%{_arch}
for f in $(find -type f); do
sed -i -e "s/ppc/%{_arch}/g" $f
tofile=$(echo $f | sed "s/ppc/%{_arch}/")
if [ $tofile != $f ]; then
cp -rp $f $tofile
fi
done
popd
IFS=$OLDIFS
%endif
@ -1592,6 +1603,9 @@ fi
#%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
%changelog
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.1
- Create org.eclipse.swt.gtk.linux.* based on the ppc version.
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2
- Remove patches for the ecj package and others already applied upstream.
- Rediff some ppc64 patches.