Remove no longer needed requires on Maven plugins

This commit is contained in:
Mikolaj Izdebski 2017-05-24 18:53:16 +02:00
parent 609c843ac2
commit e7017d4e4f
1 changed files with 7 additions and 10 deletions

View File

@ -25,7 +25,7 @@
Name: tycho
Version: 1.0.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Plugins and extensions for building Eclipse plugins and OSGI bundles with Maven
# license file is missing but all files having some licensing information are ASL 2.0
@ -112,21 +112,15 @@ BuildRequires: maven-shared-utils
BuildRequires: mockito
Requires: maven-local
Requires: xmvn
Requires: xmvn-minimal
Requires: ecj >= 1:4.5.2-2
%if ! %{eclipse_bootstrap}
Requires: eclipse-platform >= 1:4.7.0
%endif
# Tycho always tries to resolve all build plugins, even if they are
# not needed during Maven lifecycle. This means that Tycho will try
# to resolve plugins like clean, deploy or site, which aren't normally
# used during package build. See rhbz#971301
# maven-clean-plugin is bound to "initialize" Maven phase for
# "eclipse-repository" projects
Requires: maven-clean-plugin
Requires: maven-dependency-plugin
Requires: maven-deploy-plugin
Requires: maven-install-plugin
Requires: maven-site-plugin
# Required by tycho-source-plugin, but XMvn fails to generate
# auto-requires due to uncommon dependency <type>maven-plugin</type>
@ -365,6 +359,9 @@ ln -s %{_javadir}/tycho/org.fedoraproject.p2.jar %{buildroot}%{_datadir}/xmvn/li
%files javadoc -f .mfiles-javadoc
%changelog
* Wed May 24 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.0-3
- Remove no longer needed requires on Maven plugins
* Wed Apr 26 2017 Mat Booth <mat.booth@redhat.com> - 1.0.0-2
- Debootstrap build