- no need for additional level of directories
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 11 Apr 2011 09:56:34 +0000 (09:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eclipse-plugin-cdt.spec -> 1.25

eclipse-plugin-cdt.spec

index a925c96..42df576 100644 (file)
@@ -45,7 +45,6 @@ Requires:     eclipse >= 3.6
 ExclusiveArch: %{ix86} %{x8664} ia64 ppc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _eclipse_arch   %(echo %{_target_cpu} | sed 's/i.86/x86/;s/athlon/x86/;s/pentium./x86/')
 %define                _plugindir      %{_libdir}/eclipse/dropins/%{plugin_name}
 
 %description
@@ -81,9 +80,9 @@ rm -rf plugins/org.eclipse.cdt.*.x86_64_%{_ver_major}.*
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_plugindir}/eclipse/{features,plugins}
+install -d $RPM_BUILD_ROOT%{_plugindir}/{features,plugins}
 
-cp -r * $RPM_BUILD_ROOT%{_plugindir}/eclipse
+cp -r * $RPM_BUILD_ROOT%{_plugindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -91,12 +90,11 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %dir %{_plugindir}
-%dir %{_plugindir}/eclipse
-%dir %{_plugindir}/eclipse/features
-%{_plugindir}/eclipse/features/*.jar
-%dir %{_plugindir}/eclipse/plugins
-%{_plugindir}/eclipse/plugins/net.sourceforge.lpg*.jar
-%{_plugindir}/eclipse/plugins/org.eclipse.ant.*.jar
-%{_plugindir}/eclipse/plugins/org.eclipse.cdt*.jar
-%{_plugindir}/eclipse/plugins/org.eclipse.test*.jar
-%{_plugindir}/eclipse/plugins/org.eclipse.tm.tcf*.jar
+%dir %{_plugindir}/features
+%dir %{_plugindir}/plugins
+%{_plugindir}/features/*.jar
+%{_plugindir}/plugins/net.sourceforge.lpg*.jar
+%{_plugindir}/plugins/org.eclipse.ant.*.jar
+%{_plugindir}/plugins/org.eclipse.cdt*.jar
+%{_plugindir}/plugins/org.eclipse.test*.jar
+%{_plugindir}/plugins/org.eclipse.tm.tcf*.jar
This page took 0.028702 seconds and 4 git commands to generate.