Make aopalliance dependency optional
This commit is contained in:
parent
778052b7d6
commit
57c7a0aa60
@ -6,7 +6,7 @@
|
||||
|
||||
Name: google-%{short_name}
|
||||
Version: 4.0
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Lightweight dependency injection framework for Java 5 and above
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/google/%{short_name}
|
||||
@ -207,6 +207,8 @@ This package provides %{summary}.
|
||||
%pom_remove_dep :guava-testlib extensions
|
||||
%pom_xpath_remove "pom:dependency[pom:classifier[text()='tests']]" extensions
|
||||
|
||||
%pom_xpath_inject "pom:dependency[pom:artifactId='aopalliance']" "<optional>true</optional>" core
|
||||
|
||||
%pom_remove_parent
|
||||
%pom_set_parent com.google.inject:guice-parent:%{version} jdk8-tests
|
||||
|
||||
@ -260,6 +262,9 @@ This package provides %{summary}.
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jun 29 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.0-6
|
||||
- Make aopalliance dependency optional
|
||||
|
||||
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.0-5
|
||||
- Regenerate build-requires
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user