rpms/eclipse-pydev/F-9 eclipse-pydev.spec,1.10,1.11
Michal Nowak
mnowak at fedoraproject.org
Sat Aug 30 22:38:09 UTC 2008
Author: mnowak
Update of /cvs/pkgs/rpms/eclipse-pydev/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28535
Modified Files:
eclipse-pydev.spec
Log Message:
- bump to 1.3.20
- fixed license tag
- created general versioning scheme for version tag & tarball URI)
- sed: /usr/local/bin/python -> /usr/bin/env python in Jython's cgi.py
- convert .py$ files from mode 0644 to mode 0755
- possibility to convert '\r\n' end-of-lines to *nix-like '\n'
in all '.py$' files
Index: eclipse-pydev.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-pydev/F-9/eclipse-pydev.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- eclipse-pydev.spec 20 May 2008 20:23:41 -0000 1.10
+++ eclipse-pydev.spec 30 Aug 2008 22:37:39 -0000 1.11
@@ -9,15 +9,19 @@
%define eclipse_arch %{_arch}
%endif
+%define major 1
+%define minor 3
+%define maint 20
+
Summary: Eclipse Python development plug-in
Name: eclipse-pydev
-Version: 1.3.17
+Version: %{major}.%{minor}.%{maint}
Release: 1%{?dist}
-License: Eclipse Public License
-URL: http://pydev.sourceforge.net/
+License: EPL
+URL: http://pydev.sourceforge.net
Group: Development/Tools
-Source0: http://downloads.sourceforge.net/pydev/org.python.pydev.feature-src-1_3_17.zip
+Source0: http://downloads.sourceforge.net/pydev/org.python.pydev.feature-src-%{major}_%{minor}_%{maint}.zip
Source1: org.python.pydev.mylyn.feature-fetched-src-pydev_1_3_7.tar.bz2
Source2: fetch-pydev-mylyn.sh
@@ -185,6 +189,16 @@
aot-compile-rpm
%endif
+# rename cgi.py's shebang from /usr/local/bin/python to /usr/bin/env python
+sed -i 's/\/usr\/local\/bin\/python/\/usr\/bin\/env python/' ${RPM_BUILD_ROOT}%{_datadir}/eclipse/plugins/org.python.pydev.jython_%{major}.%{minor}.%{maint}/Lib/cgi.py
+
+# convert .py$ files from mode 0644 to mode 0755
+chmod 0755 `find ${RPM_BUILD_ROOT} -name '*\.py' -perm 0644 | xargs`
+
+# convert '\r\n' end-of-lines to *unix-like '\n'
+# sed -i 's/\r//' `find ${RPM_BUILD_ROOT} -name '*\.py' | xargs`
+
+
%clean
rm -rf ${RPM_BUILD_ROOT}
@@ -217,6 +231,15 @@
%endif
%changelog
+* Tue Aug 30 2008 Michal Nowak <mnowak at redhat.com> 1:1.3.20-1
+- bump to 1.3.20
+- fixed license tag
+- created general versioning scheme for version tag & tarball URI)
+- sed: /usr/local/bin/python -> /usr/bin/env python in Jython's cgi.py
+- convert .py$ files from mode 0644 to mode 0755
+- possibility to convert '\r\n' end-of-lines to *nix-like '\n'
+ in all '.py$' files
+
* Tue May 20 2008 Jeff Johnston <jjohnstn at redhat.com> 1:1.3.17-1
- Resolves Bugzilla #447455
- 1.3.17
More information about the fedora-extras-commits
mailing list