From 43abcfb8d181383559b1cf25ce0580e78b2b518e Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Mar 04 2013 09:12:51 +0000 Subject: Add dependency exclusion for antlr (#911054) --- diff --git a/antlr-maven-plugin.spec b/antlr-maven-plugin.spec index 4c3d189..539d5ad 100644 --- a/antlr-maven-plugin.spec +++ b/antlr-maven-plugin.spec @@ -1,6 +1,6 @@ Name: antlr-maven-plugin Version: 2.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Maven plugin that generates files based on grammar file(s) License: ASL 2.0 URL: http://mojo.codehaus.org/antlr-maven-plugin/ @@ -67,6 +67,13 @@ This package contains the API documentation for %{name}. %patch0 -p1 -b .modello %patch2 -p1 -b .sink +# reporting eventually pulls in another antlr and we'd break with weird errors +%pom_xpath_inject "pom:dependency[pom:artifactId[text()='maven-reporting-impl']]/pom:exclusions" " + + antlr + antlr + " + # remove all binary bits find -name '*.class' -exec rm -f '{}' \; find -name '*.jar' -exec rm -f '{}' \; @@ -97,6 +104,9 @@ install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %{_javadocdir}/%{name} %changelog +* Mon Mar 04 2013 Stanislav Ochotnicky - 2.2-9 +- Add dependency exclusion for antlr (#911054) + * Wed Feb 13 2013 Fedora Release Engineering - 2.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild