[eclipse-pydev] Add patch to remove runtime error. Resolves rhbz#975251.
Alexander Kurtakov
akurtakov at fedoraproject.org
Mon Sep 9 18:49:19 UTC 2013
commit bcf15b8b3f79b3f9930d7baab405db03970c4911
Author: Andrew Ferrazzutti <aferrazz at redhat.com>
Date: Tue Aug 27 14:55:32 2013 -0400
Add patch to remove runtime error. Resolves rhbz#975251.
.project | 7 +++++++
eclipse-pydev.spec | 7 ++++++-
remove-iInfo-error.patch | 14 ++++++++++++++
3 files changed, 27 insertions(+), 1 deletions(-)
---
diff --git a/.project b/.project
index 03092ea..c8a59e0 100644
--- a/.project
+++ b/.project
@@ -5,7 +5,14 @@
<projects>
</projects>
<buildSpec>
+ <buildCommand>
+ <name>org.eclipse.linuxtools.rpm.rpmlint.rpmlintBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
+ <nature>org.eclipse.linuxtools.rpm.core.rpmnature</nature>
+ <nature>org.eclipse.linuxtools.rpm.rpmlint.rpmlintNature</nature>
</natures>
</projectDescription>
diff --git a/eclipse-pydev.spec b/eclipse-pydev.spec
index b1342c3..0fdc41f 100644
--- a/eclipse-pydev.spec
+++ b/eclipse-pydev.spec
@@ -9,7 +9,7 @@ Epoch: 1
Summary: Eclipse Python development plug-in
Name: eclipse-pydev
Version: 2.8.1
-Release: 1%{?dist}
+Release: 2%{?dist}
License: EPL
URL: http://pydev.org
Group: Development/Tools
@@ -18,6 +18,7 @@ Group: Development/Tools
Source0: PyDev-%{version}-sources.zip
Patch0: remove-winregistry.patch
Patch1: pydev-remove-jython.patch
+Patch2: remove-iInfo-error.patch
BuildRequires: java-devel >= 1.5.0
BuildArch: noarch
@@ -69,6 +70,7 @@ Mylyn Task-Focused UI extensions for Pydev.
%setup -q -c
%patch0
%patch1 -p1
+%patch2 -p1
#fix mylyn plugin version
sed --in-place 's:version="0.4.0":version="%{version}.%{qualifier}":' features/org.python.pydev.mylyn.feature/feature.xml
@@ -211,6 +213,9 @@ rm -f %{_datadir}/jython/Lib/optparse.py
%{install_loc}/pydev-mylyn
%changelog
+* Tue Aug 27 2013 Andrew Ferrazzutti <aferrazz at redhat.com> 1:2.8.1-2
+- Add patch to remove runtime error. Resolves rhbz#975251.
+
* Fri Jul 26 2013 Alexander Kurtakov <akurtako at redhat.com> 1:2.8.1-1
- Update to upstream 2.8.1 version.
diff --git a/remove-iInfo-error.patch b/remove-iInfo-error.patch
new file mode 100644
index 0000000..3ca1eff
--- /dev/null
+++ b/remove-iInfo-error.patch
@@ -0,0 +1,14 @@
+--- a/plugins/org.python.pydev/pysrc/interpreterInfo.py
++++ b/plugins/org.python.pydev/pysrc/interpreterInfo.py
+@@ -226,6 +226,4 @@ if __name__ == '__main__':
+ import time
+ 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).')
++ pass
+\ No newline at end of file
+--
+1.8.3.1
+
More information about the scm-commits
mailing list