Reduce build deps

This commit is contained in:
Michael Simacek 2018-05-25 10:39:49 +02:00
parent b74817e074
commit 2a115d8e2d

View File

@ -1,6 +1,6 @@
Name: glassfish-jaxb
Version: 2.2.11
Release: 8%{?dist}
Release: 9%{?dist}
Summary: JAXB Reference Implementation
License: CDDL-1.1 and GPLv2 with exceptions
@ -11,7 +11,6 @@ Patch0: txw2-args4j.patch
BuildRequires: maven-local
BuildRequires: mvn(args4j:args4j)
BuildRequires: mvn(com.google.code.javaparser:javaparser)
BuildRequires: mvn(com.sun.istack:istack-commons-runtime)
BuildRequires: mvn(com.sun.istack:istack-commons-tools)
BuildRequires: mvn(com.sun:tools)
@ -19,19 +18,15 @@ BuildRequires: mvn(com.sun.xml.dtd-parser:dtd-parser)
BuildRequires: mvn(com.sun.xml.fastinfoset:FastInfoset)
BuildRequires: mvn(com.sun.xsom:xsom)
BuildRequires: mvn(javax.xml.bind:jaxb-api)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(net.java.dev.msv:msv-core)
BuildRequires: mvn(net.java:jvnet-parent:pom:)
BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-deploy-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin)
BuildRequires: mvn(org.jvnet.staxex:stax-ex)
BuildRequires: mvn(relaxngDatatype:relaxngDatatype)
BuildRequires: mvn(xmlunit:xmlunit)
Requires: glassfish-jaxb1-impl = %{version}-%{release}
Requires: %{name}-bom = %{version}-%{release}
@ -187,12 +182,13 @@ This package contains the API documentation for %{name}.
%pom_remove_plugin :gfnexus-maven-plugin
%pom_remove_plugin :maven-site-plugin
%pom_remove_plugin :buildnumber-maven-plugin
%mvn_alias org.glassfish.jaxb:jaxb-runtime "com.sun.xml.bind:jaxb-impl"
%mvn_alias org.glassfish.jaxb:jaxb-xjc "com.sun.xml.bind:jaxb-xjc"
%build
%mvn_build -f -s -- -Ddev
%mvn_build -f -s -- -Ddev -DbuildNumber=unknown
%install
%mvn_install
@ -257,6 +253,9 @@ This package contains the API documentation for %{name}.
%changelog
* Fri May 25 2018 Michael Simacek <msimacek@redhat.com> - 2.2.11-9
- Reduce build deps
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild