- reverted - install to %{_libdir}/eclipse/ and R: eclipse < 3.1-1
authorKarol Krenski <charles@pld-linux.org>
Sun, 3 Jul 2005 23:59:34 +0000 (23:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
   it's not currently supported 3.1

Changed files:
    eclipse-pydev.spec -> 1.9

eclipse-pydev.spec

index ff29abb..f4c4348 100644 (file)
@@ -5,14 +5,15 @@ Summary:      Python development environment for Eclipse
 Summary(pl):   ¬¶rodowisko programistyczne Pythona dla Eclipse
 Name:          eclipse-%{module}
 Version:       %{_ver}
-Release:       0.2
+Release:       0.3
 License:       CPL
 Group:         Development/Tools
 Source0:       http://dl.sourceforge.net/pydev/%{module}_%{_src_ver}.zip
 # Source0-md5: b5bac4248f33ada1d8dc05db4f06a3b2
 URL:           http://pydev.sourceforge.net/
 BuildRequires: unzip
-Requires:      eclipse >= 3.1-2
+Requires:      eclipse >= 3.0
+Requires:      eclipse < 3.1-1
 Requires:      python
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,20 +34,29 @@ unzip -qq %{SOURCE0} -x *.db
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins}
-cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features
-cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins
+install -d $RPM_BUILD_ROOT%{_libdir}/eclipse/{features,plugins}
+cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_libdir}/eclipse/features
+cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_libdir}/eclipse/plugins
+
+# on future
+#install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins}
+#cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features
+#cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_eclipsedir}/features/org.python.pydev*
-%{_eclipsedir}/plugins/org.python.pydev*
+%{_libdir}/eclipse/features/org.python.pydev*
+%{_libdir}/eclipse/plugins/org.python.pydev*
+# on future
+#%{_eclipsedir}/features/org.python.pydev*
+#%{_eclipsedir}/plugins/org.python.pydev*
 
-%triggerpostun -- %{name} <= 0.9.5-0.1
-%banner %{name}-0.9.5-0.2 << EOF
+%triggerpostun -- %{name} > 0.9.5-0.3
+%banner %{name} -e << EOF
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 !!!                                                                !!!
 !!! WARNING!!!                                                     !!!
This page took 0.16129 seconds and 4 git commands to generate.