[tycho] Use OSGi Requires instead of package name.
Roland Grunberg
rgrunber at fedoraproject.org
Thu Dec 6 21:02:19 UTC 2012
commit f6fc49e1c3ab25e4dac6850c0040ca27d3ca904b
Author: Roland Grunberg <rgrunber at redhat.com>
Date: Tue Dec 4 12:38:58 2012 -0500
Use OSGi Requires instead of package name.
tycho.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/tycho.spec b/tycho.spec
index 8a95dd2..f2f56e9 100644
--- a/tycho.spec
+++ b/tycho.spec
@@ -67,8 +67,9 @@ BuildRequires: maven-surefire-provider-junit4
BuildRequires: objectweb-asm4
BuildRequires: plexus-containers-component-metadata
BuildRequires: decentxml
+BuildRequires: ecj
%if ! %{bootstrap}
-BuildRequires: eclipse-jdt
+BuildRequires: osgi(org.eclipse.jdt)
BuildRequires: %{name}
%endif
@@ -82,7 +83,7 @@ Requires: maven-surefire-provider-junit4
Requires: objectweb-asm4
Requires: ecj
%if ! %{bootstrap}
-Requires: eclipse-equinox-osgi
+Requires: osgi(org.eclipse.platform)
%endif
@@ -257,6 +258,8 @@ install -m 644 $osgiJarPath $RPM_BUILD_ROOT%{_javadir}/%{name}/osgi.jar
%changelog
* Mon Dec 3 2012 Roland Grunberg <rgrunber at redhat.com> 0.16.0-18
- Add support for more flexible OSGi bundle paths.
+- Use OSGi Requires instead of package name.
+- Expand Requires to include the Eclipse platform.
* Mon Nov 19 2012 Roland Grunberg <rgrunber at redhat.com> 0.16.0-17
- Make additional changes to get Tycho building bootstrapped.
More information about the scm-commits
mailing list