- Depend on junit not junit4. Replace ant-trax with ant.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlunit?expand=0&rev=17
This commit is contained in:
Tomáš Chvátal 2014-07-07 14:43:43 +00:00 committed by Git OBS Bridge
parent e0f562ebea
commit 3ef96bddf4
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 7 14:43:20 UTC 2014 - tchvatal@suse.com
- Depend on junit not junit4. Replace ant-trax with ant.
-------------------------------------------------------------------
Tue Oct 8 07:40:00 UTC 2013 - mvyskocil@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package xmlunit
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2008, JPackage Project
# All rights reserved.
#
@ -29,10 +29,9 @@ Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}-src.z
Source1: http://repo1.maven.org/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom
BuildRequires: ant
BuildRequires: ant-junit
BuildRequires: ant-trax
BuildRequires: java-devel
BuildRequires: javapackages-tools
BuildRequires: junit4
BuildRequires: junit
BuildRequires: unzip
BuildRequires: xalan-j2
BuildRequires: xerces-j2
@ -70,7 +69,7 @@ find . -name "*.jar" -delete
%build
cat > build.properties << EOF
junit.lib=$(build-classpath junit4)
junit.lib=$(build-classpath junit)
xmlxsl.lib=$(build-classpath xalan-j2 xerces-j2 xml-commons-jaxp-1.3-apis)
test.report.dir=test
EOF