From e6d3933886264bcfb0f233e0ce1acd661629fb72 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 8 Jul 2016 14:23:09 +0200 Subject: [PATCH] Make ant dependency optional --- cglib.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cglib.spec b/cglib.spec index b1c0f8a..4f963f3 100644 --- a/cglib.spec +++ b/cglib.spec @@ -2,7 +2,7 @@ Name: cglib Version: 3.2.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Code Generation Library for Java License: ASL 2.0 and BSD Url: https://github.com/cglib/cglib @@ -51,6 +51,8 @@ Documentation for the cglib code generation library. %pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin %pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample +%pom_xpath_inject "pom:dependency[pom:artifactId='ant']" "true" cglib + %mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib" %build @@ -66,6 +68,9 @@ Documentation for the cglib code generation library. %license LICENSE NOTICE %changelog +* Fri Jul 8 2016 Mikolaj Izdebski - 3.2.4-2 +- Make ant dependency optional + * Thu Jul 07 2016 Severin Gehwolf - 3.2.4-1 - Upgrade to latest 3.2.4 release. - Resolves RHBZ#1352315