[eclipse] Removed some rpmlint warnings from spec file.

Krzysztof Daniel kdaniel at fedoraproject.org
Thu Apr 12 08:08:35 UTC 2012


commit 4131143144cd34045cffef591b28b673619cbd1e
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date:   Thu Apr 12 09:27:47 2012 +0200

    Removed some rpmlint warnings from spec file.

 eclipse.spec |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/eclipse.spec b/eclipse.spec
index f5c9854..f75642c 100644
--- a/eclipse.spec
+++ b/eclipse.spec
@@ -33,7 +33,7 @@ Source5:        http://repo1.maven.org/maven2/org/eclipse/osgi/org.eclipse.osgi/
 # Patched to remove fake parent
 Source6:        org.eclipse.osgi.services-3.2.100.v20100503.pom
 Source7:        http://repo1.maven.org/maven2/org/eclipse/equinox/http/servlet/1.0.0-v20070606/servlet-1.0.0-v20070606.pom
-Source8:		org.eclipse.jdt.core-3.8.0.v_C03.pom
+Source8:        org.eclipse.jdt.core-3.8.0.v_C03.pom
 Source9:        pdebuild_old_info.sh
 
 BuildRequires:  ant >= 1.8.3
@@ -120,7 +120,7 @@ Group:          Development/Languages
 Requires:       %{name}-swt = %{epoch}:%{eclipse_version}-%{release}
 Requires:       icu4j-eclipse >= 1:4.4.2.2-11
 Requires:       %{name}-emf-core = %{epoch}:%{emf_version}-%{release}
-Provides:       osgi(system.bundle)
+Provides:       osgi(system.bundle) %{epoch}:%{eclipse_version}
 
 %description    rcp
 Eclipse Rich Client Platform
@@ -639,7 +639,7 @@ rm -rf %{_bindir}/efj/
 # Put this in -platform since we're putting the p2 stuff here
 %{_libdir}/%{name}/artifacts.xml
 # FIXME: should we ship content.xml for the platform?
-#%{_libdir}/%{name}/metadata
+#%%{_libdir}/%%{name}/metadata
 %{_libdir}/%{name}/p2
 
 %files jdt
@@ -655,6 +655,7 @@ rm -rf %{_bindir}/efj/
 * Thu Apr 12 2012 Krzysztof Daniel <kdaniel at redhat.com> 1:4.2.0-0.11.I201204051114
 - Version more requirements.
 - Move java requirement to the lowest-in-stack package.
+- Removed some rpmlint warnings from spec file.
 
 * Wed Apr 11 2012 Krzysztof Daniel <kdaniel at redhat.com> 1:4.2.0-0.10.I201204051114
 - Specified version for java-javadoc requirements.
@@ -678,7 +679,7 @@ rm -rf %{_bindir}/efj/
 - Define %%{_eclipse_base} to properly resolve %%{_libdir} for noarch.
 
 * Mon Apr 2 2012 Krzysztof Daniel <kdaniel at redhat.com> 1:4.2.0-0.4.fa15ab
-- pdebuild script installed into %{_bindir}
+- pdebuild script installed into %%{_bindir}
 
 * Thu Mar 29 2012 Krzysztof Daniel <kdaniel at redhat.com> 1:4.2.0-0.3.fa15ab
 - Sort out problems with versions.
@@ -744,7 +745,7 @@ rm -rf %{_bindir}/efj/
 * Thu Feb 9 2012 Sami Wagiaalla <swagiaal at redhat.com> 1:3.8.0-0.9.I201202070800
 - Remove -debug reconciler flag
 - Remove macro _eclipse_reqs.
-- Define %_eclipse_base in macros.eclipse.
+- Define %%{_eclipse_base} in macros.eclipse.
 - Pass dropins dir to reconciler when updating the platform.
 
 * Wed Feb 8 2012 Krzysztof Daniel <kdaniel at redhat.com> 1:3.8.0-0.7.I201201310842
@@ -807,7 +808,7 @@ rm -rf %{_bindir}/efj/
 - Use -Dosgi.checkConfiguration=true when updating the platform.
 - Remove cache.timestamps and .bundledata* when running the reconciler
   with -Dosgi.checkConfiguration=true.
-- Do not verify %{_libdir}/%{name}/artifacts.xml.
+- Do not verify %%{_libdir}/%%{name}/artifacts.xml.
 
 * Tue Nov 29 2011 Roland Grunberg <rgrunber at redhat.com> 1:3.7.1-7
 - Bump release.
@@ -884,7 +885,7 @@ rm -rf %{_bindir}/efj/
 - Add new script eclipse-reconciler.sh
 - Run eclipse-reconciler.sh in the post and postun sections of jdt 
   and post seciton on platform.
-- Remove all old profiles in %pre rcp.
+- Remove all old profiles in %%pre rcp.
 
 * Wed Sep 21 2011 Alexander Kurtakov <akurtako at redhat.com> 1:3.7.0-4
 - Remove _bindir/efj in pre - Fixes #738677.


More information about the scm-commits mailing list