From 9bf8d40622446eb0828794e4aa19ebf7a0f0391c Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Tue, 16 May 2017 15:53:52 +0100 Subject: [PATCH] Remove unnecessary deps on xml-commons-apis and xerces --- xml-maven-plugin.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/xml-maven-plugin.spec b/xml-maven-plugin.spec index c7f39b9..2609310 100644 --- a/xml-maven-plugin.spec +++ b/xml-maven-plugin.spec @@ -1,6 +1,6 @@ Name: xml-maven-plugin Version: 1.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Maven XML Plugin License: ASL 2.0 URL: http://www.mojohaus.org/xml-maven-plugin/ @@ -16,8 +16,6 @@ BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:) BuildRequires: mvn(org.codehaus.plexus:plexus-io) BuildRequires: mvn(org.codehaus.plexus:plexus-resources) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) -BuildRequires: mvn(xerces:xercesImpl) -BuildRequires: mvn(xml-apis:xml-apis) BuildRequires: mvn(xml-resolver:xml-resolver) BuildArch: noarch @@ -42,6 +40,10 @@ done # Add the version sed -i 's|stylesheet |stylesheet version="1.0" |' src/it/it8/src/main/xsl/it8.xsl +# These deps are supplied by the JRE +%pom_remove_dep "xml-apis:xml-apis" +%pom_remove_dep "xerces:xercesImpl" + %build %mvn_build -f @@ -55,6 +57,9 @@ sed -i 's|stylesheet |stylesheet version="1.0" |' src/it/it8/src/main/xsl/it8.x %doc LICENSE.txt NOTICE.txt %changelog +* Tue May 16 2017 Mat Booth - 1.0.1-3 +- Remove unnecessary deps on xml-commons-apis and xerces + * Sat Feb 11 2017 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild