Remove unnecessary deps on xml-commons-apis and xerces

This commit is contained in:
Mat Booth 2017-05-16 15:53:52 +01:00
parent 44dae29346
commit 9bf8d40622

View File

@ -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 <mat.booth@redhat.com> - 1.0.1-3
- Remove unnecessary deps on xml-commons-apis and xerces
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild