[eclipse-pydev] Re-add pydev-removeruntimeerror.patch.

swagiaal swagiaal at fedoraproject.org
Tue Dec 4 20:59:01 UTC 2012


commit 8284db0931d5b5f9187aab0a22a73be57053b28a
Author: Sami Wagiaalla <swagiaal at redhat.com>
Date:   Tue Dec 4 15:15:23 2012 -0500

    Re-add pydev-removeruntimeerror.patch.

 eclipse-pydev.spec             |    7 ++++++-
 pydev-removeruntimeerror.patch |   10 ++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/eclipse-pydev.spec b/eclipse-pydev.spec
index da1e95a..c7ef49a 100644
--- a/eclipse-pydev.spec
+++ b/eclipse-pydev.spec
@@ -9,13 +9,14 @@ Epoch: 1
 Summary:          Eclipse Python development plug-in
 Name:             eclipse-pydev
 Version:          2.7.1
-Release:          1%{?dist}
+Release:          2%{?dist}
 License:          EPL
 URL:              http://pydev.org
 Group:            Development/Tools
 
 #Source0:         http://downloads.sourceforge.net/project/pydev/pydev/PyDev%202.7.1/PyDev%202.7.1-sources.zip 
 Source0:          PyDev-%{version}-sources.zip
+Patch0:           pydev-removeruntimeerror.patch
 Patch1:           remove-red-core.patch
 Patch2:           remove-winregistry.patch
 BuildRequires:    java-devel >= 1.5.0
@@ -65,6 +66,7 @@ Mylyn Task-Focused UI extensions for Pydev.
 
 %prep
 %setup -q -c
+%patch0 -p1
 %patch1 -b .sav
 %patch2 -b .sav
 #fix mylyn plugin version
@@ -198,6 +200,9 @@ fi
 %{install_loc}/pydev-mylyn
 
 %changelog
+* Tue Dec 4 2012 Sami Wagiaalla <swagiaal at redhat.com> 1:2.7.1-2
+- Re-add pydev-removeruntimeerror.patch.
+
 * Fri Nov 6 2012 Sami Wagiaalla <swagiaal at redhat.com> 1:2.7.1-1
 - Update to 2.7.1 release.
 
diff --git a/pydev-removeruntimeerror.patch b/pydev-removeruntimeerror.patch
new file mode 100644
index 0000000..476debc
--- /dev/null
+++ b/pydev-removeruntimeerror.patch
@@ -0,0 +1,10 @@
+diff --git a/plugins/org.python.pydev/pysrc/interpreterInfo.py b/plugins/org.python.pydev/pysrc/interpreterInfo.py
+index b5b6667..28aee7a 100644
+--- a/plugins/org.python.pydev/pysrc/interpreterInfo.py
++++ b/plugins/org.python.pydev/pysrc/interpreterInfo.py
+@@ -195,5 +195,3 @@ if __name__ == '__main__':
+         time.sleep(0.1)
+     except:
+         pass
+-
+-    raise RuntimeError('Ok, this is so that it shows the output (ugly hack for some platforms, so that it releases the output).')


More information about the scm-commits mailing list