Use OSGi Requires instead of package name.

This commit is contained in:
Roland Grunberg 2012-12-04 12:38:58 -05:00
parent f4258b7555
commit f6fc49e1c3

View File

@ -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@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@redhat.com> 0.16.0-17
- Make additional changes to get Tycho building bootstrapped.