Don't install testharness jar: pulls in ant

The testharness module is only needed as a test dependency in this
package. It depends on ant, so ant added as a 'Requires' and is
needlessly installed.
This commit is contained in:
Gerard Ryan 2014-09-14 15:37:39 +01:00 committed by Mat Booth
parent ce0ee14755
commit fe338af613

View File

@ -1,7 +1,7 @@
Name: msv Name: msv
Epoch: 1 Epoch: 1
Version: 2013.6.1 Version: 2013.6.1
Release: 3%{?dist} Release: 4%{?dist}
Summary: Multi-Schema Validator Summary: Multi-Schema Validator
License: BSD and ASL 1.1 License: BSD and ASL 1.1
URL: http://msv.java.net/ URL: http://msv.java.net/
@ -134,7 +134,8 @@ done
%mvn_alias ":xsdlib" "com.sun.msv.datatype.xsd:xsdlib" %mvn_alias ":xsdlib" "com.sun.msv.datatype.xsd:xsdlib"
%mvn_package ":*::{tests,javadoc,sources}:" __noinstall %mvn_package ":*::{tests,javadoc,sources}:" __noinstall
%mvn_package ":%{name}{,-core,-testharness}::{}:" %{name}-msv %mvn_package ":%{name}{,-testharness}::{}:" __noinstall
%mvn_package ":%{name}{,-core}::{}:" %{name}-msv
%build %build
%mvn_build -s %mvn_build -s
@ -203,6 +204,10 @@ cp -pr xsdlib/examples/* %{buildroot}%{_datadir}/%{name}/xsdlib
%{_datadir}/%{name} %{_datadir}/%{name}
%changelog %changelog
* Sun Sep 14 2014 Gerard Ryan <galileo@fedoraproject.org> - 1:2013.6.1-4
- Don't install testharness jar: pulls in ant
- Fix changelog bogus date warning
* Mon Aug 4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2013.6.1-3 * Mon Aug 4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2013.6.1-3
- Remove unneeded build-requires - Remove unneeded build-requires
- Fix build-requires on jvnet-parent - Fix build-requires on jvnet-parent
@ -346,7 +351,7 @@ cp -pr xsdlib/examples/* %{buildroot}%{_datadir}/%{name}/xsdlib
- Add bootstrap option to build without saxon nor jdom - Add bootstrap option to build without saxon nor jdom
- Add gcj_support option - Add gcj_support option
* Mon Feb 17 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.2-0.20050722.2jpp * Fri Feb 17 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.2-0.20050722.2jpp
- First JPP 1.7 build - First JPP 1.7 build
* Wed Aug 17 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.2-0.20050722.1jpp * Wed Aug 17 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.2-0.20050722.1jpp