1 Star 0 Fork 5

src-oepkgs-oE-rv/xmlunit

forked from src-openEuler/xmlunit 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xmlunit.spec 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
compile_success 提交于 2020-02-24 10:18 . init
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-oepkgs-oe-rv/xmlunit.git
git@gitee.com:src-oepkgs-oe-rv/xmlunit.git
src-oepkgs-oe-rv
xmlunit
xmlunit
master

搜索帮助