Update to upstream version 2.6.2
This commit is contained in:
parent
a2b2560281
commit
4a42e76cc2
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ xmlunit-1.3-src.zip
|
|||||||
/xmlunit-1.4-src.zip
|
/xmlunit-1.4-src.zip
|
||||||
/xmlunit-1.5-src.zip
|
/xmlunit-1.5-src.zip
|
||||||
/xmlunit-1.6-src.zip
|
/xmlunit-1.6-src.zip
|
||||||
|
/xmlunit-2.6.2-src.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (xmlunit-1.6-src.zip) = a7d15905d959ab5bfeb1807c80eab3e0aa58d501a2136335961da842b9571b95b4aab18189e9a21e59afac960ea83f9a2d32e3af398f63c0f839587b60b9f96b
|
SHA512 (xmlunit-2.6.2-src.tar.gz) = 7e71626e604f475e0dffaabf814a81e0d2a6fd43790e2371858c815c676d5b3d6e9f285f98d817ff1b41a81323441bdadb56b8d172419f5546ff6ffc1f7ace7c
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
<project>
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<groupId>xmlunit</groupId>
|
|
||||||
<artifactId>xmlunit</artifactId>
|
|
||||||
<version>1.0</version>
|
|
||||||
</project>
|
|
108
xmlunit.spec
108
xmlunit.spec
@ -29,32 +29,30 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: xmlunit
|
Name: xmlunit
|
||||||
Version: 1.6
|
Version: 2.6.2
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Provides classes to do asserts on xml
|
Summary: Provides classes to do asserts on xml
|
||||||
License: BSD
|
License: ASL 2.0
|
||||||
Source0: http://downloads.sourceforge.net/xmlunit/xmlunit-1.6-src.zip
|
Source0: https://github.com/xmlunit/xmlunit/releases/download/v%{version}/%{name}-%{version}-src.tar.gz
|
||||||
Source1: http://repo1.maven.org/maven2/xmlunit/xmlunit/1.0/xmlunit-1.0.pom
|
URL: https://www.xmlunit.org/
|
||||||
URL: http://xmlunit.sourceforge.net/
|
|
||||||
BuildRequires: javapackages-local
|
|
||||||
BuildRequires: ant
|
|
||||||
BuildRequires: ant-junit
|
|
||||||
BuildRequires: junit
|
|
||||||
BuildRequires: xalan-j2
|
|
||||||
BuildRequires: xerces-j2
|
|
||||||
BuildRequires: xml-commons-apis
|
|
||||||
|
|
||||||
Requires: junit
|
Patch0: 0001-Disable-tests-requiring-network-access.patch
|
||||||
Requires: xalan-j2
|
|
||||||
Requires: xml-commons-apis
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: mvn(junit:junit)
|
||||||
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin)
|
||||||
|
BuildRequires: mvn(org.assertj:assertj-core)
|
||||||
|
BuildRequires: mvn(org.hamcrest:hamcrest-core)
|
||||||
|
BuildRequires: mvn(org.hamcrest:hamcrest-library)
|
||||||
|
BuildRequires: mvn(org.mockito:mockito-core)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
XMLUnit extends JUnit to simplify unit testing of XML. It compares a control
|
XMLUnit provides you with the tools to verify the XML you emit is the one you
|
||||||
XML document to a test document or the result of a transformation, validates
|
want to create. It provides helpers to validate against an XML Schema, assert
|
||||||
documents against a DTD, and (from v0.5) compares the results of XPath
|
the values of XPath queries or compare XML documents against expected outcomes.
|
||||||
expressions.
|
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
@ -62,41 +60,67 @@ Summary: Javadoc for %{name}
|
|||||||
%description javadoc
|
%description javadoc
|
||||||
Javadoc for %{name}
|
Javadoc for %{name}
|
||||||
|
|
||||||
|
%package assertj
|
||||||
|
Summary: Assertj for %{name}
|
||||||
|
|
||||||
|
%description assertj
|
||||||
|
This package provides %{summary}.
|
||||||
|
|
||||||
|
%package core
|
||||||
|
Summary: Core package for %{name}
|
||||||
|
|
||||||
|
%description core
|
||||||
|
This package provides %{summary}.
|
||||||
|
|
||||||
|
%package legacy
|
||||||
|
Summary: Legacy package for %{name}
|
||||||
|
|
||||||
|
%description legacy
|
||||||
|
This package provides %{summary}.
|
||||||
|
|
||||||
|
%package matchers
|
||||||
|
Summary: Matchers for %{name}
|
||||||
|
|
||||||
|
%description matchers
|
||||||
|
This package provides %{summary}.
|
||||||
|
|
||||||
|
%package placeholders
|
||||||
|
Summary: Placeholders for %{name}
|
||||||
|
|
||||||
|
%description placeholders
|
||||||
|
This package provides %{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-%{version}-src
|
||||||
|
|
||||||
sed -i /java.class.path/d build.xml
|
%patch0 -p1
|
||||||
# remove all binary libs and javadocs
|
|
||||||
find . -name "*.jar" -exec rm -f {} \;
|
|
||||||
rm -rf doc
|
|
||||||
|
|
||||||
#Fix wrong-file-end-of-line-encoding
|
%pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin
|
||||||
sed -i 's/\r//g' README.txt LICENSE.txt
|
%pom_remove_plugin :maven-assembly-plugin
|
||||||
|
|
||||||
%mvn_file : %{name}
|
%mvn_alias "org.xmlunit:xmlunit-legacy" "xmlunit:xmlunit"
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ant -Dbuild.compiler=modern -Dhaltonfailure=yes \
|
%mvn_build -s
|
||||||
-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
|
%install
|
||||||
%mvn_install -J build/doc/api/
|
%mvn_install
|
||||||
|
|
||||||
%check
|
%files -f .mfiles-xmlunit-parent
|
||||||
ant
|
%doc README.md CONTRIBUTING.md RELEASE_NOTES.md
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%files -f .mfiles
|
|
||||||
%doc README.txt LICENSE.txt userguide/XMLUnit-Java.pdf
|
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%files assertj -f .mfiles-xmlunit-assertj
|
||||||
|
%files core -f .mfiles-xmlunit-core
|
||||||
|
%files legacy -f .mfiles-xmlunit-legacy
|
||||||
|
%files matchers -f .mfiles-xmlunit-matchers
|
||||||
|
%files placeholders -f .mfiles-xmlunit-placeholders
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 04 2019 Marian Koncek <mkoncek@redhat.com> - 0:2.6.2-1
|
||||||
|
- Update to upstream version 2.6.2
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.6-7
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.6-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user