代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/xmlunit 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: xmlunit
Version: 1.6
Release: 10
Summary: Unit Testing XML for Java and .NET
License: BSD
URL: http://xmlunit.sourceforge.net/
Source0: http://downloads.sourceforge.net/xmlunit/xmlunit-1.6-src.zip
Source1: https://repo1.maven.org/maven2/xmlunit/xmlunit/1.0/xmlunit-1.0.pom
BuildArch: noarch
BuildRequires: javapackages-local, ant, ant-junit, junit, xalan-j2, xerces-j2, xml-commons-apis
Requires: junit, xalan-j2, xml-commons-apis
Provides: %{name}-javadoc%{?_isa} %{name}-javadoc
Obsoletes: %{name}-javadoc
%description
XMLUnit provides you with the tools to verify the XML you emit is the one you want to create.
It provides helpers to validate against an XML Schema, assert the values of XPath queries or
compare XML documents against expected outcomes.
%prep
%autosetup -p1
sed -i /java.class.path/d build.xml
find . -name "*.jar" -delete;
rm -rf doc
sed -i 's/\r//g' README.txt LICENSE.txt
%mvn_file : %{name}
%build
ant -Dbuild.compiler=modern -Dhaltonfailure=yes -Djunit.lib=$(build-classpath junit) \
-Dxmlxsl.lib= -Dtest.report.dir=test -Ddb5.xsl=%{_datadir}/sgml/docbook/xsl-ns-stylesheets jar javadocs
%mvn_artifact %{SOURCE1} build/lib/%{name}-%{version}.jar
%install
%mvn_install -J build/doc/api/
%check
ant
%files -f .mfiles
%doc README.txt LICENSE.txt userguide/XMLUnit-Java.pdf
%{_javadocdir}/%{name}/*
%changelog
* Tue Dec 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6-9
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。