Add eclipse build-conditional
This commit is contained in:
parent
c2bde087bb
commit
aa3f96ba8e
@ -1,9 +1,9 @@
|
||||
%global parent plexus
|
||||
%bcond_without eclipse
|
||||
|
||||
Name: plexus-compiler
|
||||
Epoch: 0
|
||||
Version: 2.8.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Compiler call initiators for Plexus
|
||||
# extras subpackage has a bit different licensing
|
||||
# parts of compiler-api are ASL2.0/MIT
|
||||
@ -23,7 +23,9 @@ BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-components:pom:)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
%if %{with eclipse}
|
||||
BuildRequires: mvn(org.eclipse.tycho:org.eclipse.jdt.core)
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
@ -66,6 +68,10 @@ cp %{SOURCE2} LICENSE.MIT
|
||||
# missing com.google.errorprone:error_prone_core
|
||||
%pom_disable_module plexus-compiler-javac-errorprone plexus-compilers
|
||||
|
||||
%if %{without eclipse}
|
||||
%pom_disable_module plexus-compiler-eclipse plexus-compilers
|
||||
%endif
|
||||
|
||||
# don't build/install compiler-test module, it needs maven2 test harness
|
||||
%pom_disable_module plexus-compiler-test
|
||||
|
||||
@ -97,6 +103,9 @@ cp %{SOURCE2} LICENSE.MIT
|
||||
%doc LICENSE LICENSE.MIT
|
||||
|
||||
%changelog
|
||||
* Thu May 25 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.8.1-4
|
||||
- Add eclipse build-conditional
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.8.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user