rpms/eclipse/devel eclipse.spec,1.446,1.447

Ben Konrath (bkonrath) fedora-extras-commits at redhat.com
Tue Jul 10 17:10:49 UTC 2007


Author: bkonrath

Update of /cvs/pkgs/rpms/eclipse/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7273

Modified Files:
	eclipse.spec 
Log Message:
fix pushd / popd problems


Index: eclipse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse.spec,v
retrieving revision 1.446
retrieving revision 1.447
diff -u -r1.446 -r1.447
--- eclipse.spec	10 Jul 2007 13:14:26 -0000	1.446
+++ eclipse.spec	10 Jul 2007 17:10:15 -0000	1.447
@@ -1132,10 +1132,11 @@
 done
 rm -rf ${RPM_BUILD_ROOT}/tmp
 
+pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
 # remove this python script so that it is not aot compiled, thus avoiding a
 # multilib conflict
 ANTPLUGINVERSION=$(ls plugins | grep org.apache.ant_ | sed 's/org.apache.ant_//')
-rm $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.apache.ant_$ANTPLUGINVERSION/bin/runant.py
+rm plugins/org.apache.ant_$ANTPLUGINVERSION/bin/runant.py
 
 %if %{gcj_support}
 # exclude org.eclipse.ui.ide to work around
@@ -1149,6 +1150,7 @@
                 --exclude %{_datadir}/%{name}/plugins/org.eclipse.osgi_$OSGIPLUGINVERSION
 %endif
 %endif
+popd
 
 %clean
 rm -rf $RPM_BUILD_ROOT




More information about the fedora-extras-commits mailing list