Permaine Cheung 2f7cab9
# Copyright (c) 2000-2007, JPackage Project
Permaine Cheung 54e2ebb
# All rights reserved.
Permaine Cheung 54e2ebb
#
Permaine Cheung 54e2ebb
# Redistribution and use in source and binary forms, with or without
Permaine Cheung 54e2ebb
# modification, are permitted provided that the following conditions
Permaine Cheung 54e2ebb
# are met:
Permaine Cheung 54e2ebb
#
Permaine Cheung 54e2ebb
# 1. Redistributions of source code must retain the above copyright
Permaine Cheung 54e2ebb
#    notice, this list of conditions and the following disclaimer.
Permaine Cheung 54e2ebb
# 2. Redistributions in binary form must reproduce the above copyright
Permaine Cheung 54e2ebb
#    notice, this list of conditions and the following disclaimer in the
Permaine Cheung 54e2ebb
#    documentation and/or other materials provided with the
Permaine Cheung 54e2ebb
#    distribution.
Permaine Cheung 54e2ebb
# 3. Neither the name of the JPackage Project nor the names of its
Permaine Cheung 54e2ebb
#    contributors may be used to endorse or promote products derived
Permaine Cheung 54e2ebb
#    from this software without specific prior written permission.
Permaine Cheung 54e2ebb
#
Permaine Cheung 54e2ebb
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
Permaine Cheung 54e2ebb
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Permaine Cheung 54e2ebb
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Permaine Cheung 54e2ebb
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
Permaine Cheung 54e2ebb
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
Permaine Cheung 54e2ebb
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
Permaine Cheung 54e2ebb
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
Permaine Cheung 54e2ebb
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
Permaine Cheung 54e2ebb
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
Permaine Cheung 54e2ebb
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Permaine Cheung 54e2ebb
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Permaine Cheung 54e2ebb
#
Permaine Cheung 54e2ebb
Permaine Cheung 54e2ebb
Name:           xmlunit
Permaine Cheung 2f7cab9
Summary:        Provides classes to do asserts on xml
bf396e3
Epoch:          0
bf396e3
Version:        2.6.3
bf396e3
Release:        1%{?dist}
bf396e3
# xmlunit2 is licensed under ASL 2.0, xmlunit-legacy is still BSD-licensed
bf396e3
License:        ASL 2.0 and BSD
bf396e3
bf396e3
URL:            https://www.xmlunit.org/
bf396e3
Source0:        https://github.com/xmlunit/xmlunit/releases/download/v%{version}/%{name}-%{version}-src.tar.gz
bf396e3
bf396e3
Patch0:         0001-Disable-tests-requiring-network-access.patch
Stanislav Ochotnicky 0255ffa
Permaine Cheung 54e2ebb
BuildArch:      noarch
Permaine Cheung 54e2ebb
bf396e3
BuildRequires:  maven-local
bf396e3
BuildRequires:  mvn(junit:junit)
bf396e3
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
bf396e3
BuildRequires:  mvn(org.apache.maven.plugins:maven-shade-plugin)
bf396e3
BuildRequires:  mvn(org.assertj:assertj-core)
bf396e3
BuildRequires:  mvn(org.hamcrest:hamcrest-core)
bf396e3
BuildRequires:  mvn(org.hamcrest:hamcrest-library)
bf396e3
BuildRequires:  mvn(org.mockito:mockito-core)
bf396e3
Permaine Cheung 54e2ebb
%description
bf396e3
XMLUnit provides you with the tools to verify the XML you emit is the one you
bf396e3
want to create. It provides helpers to validate against an XML Schema, assert
bf396e3
the values of XPath queries or compare XML documents against expected outcomes.
bf396e3
Permaine Cheung 54e2ebb
Permaine Cheung 54e2ebb
%package        javadoc
Permaine Cheung 54e2ebb
Summary:        Javadoc for %{name}
Permaine Cheung 54e2ebb
Permaine Cheung 54e2ebb
%description    javadoc
Permaine Cheung 54e2ebb
Javadoc for %{name}
Permaine Cheung 54e2ebb
bf396e3
bf396e3
%package        assertj
bf396e3
Summary:        Assertj for %{name}
bf396e3
bf396e3
%description    assertj
bf396e3
This package provides %{summary}.
bf396e3
bf396e3
bf396e3
%package        core
bf396e3
Summary:        Core package for %{name}
bf396e3
bf396e3
%description    core
bf396e3
This package provides %{summary}.
bf396e3
bf396e3
bf396e3
%package        legacy
bf396e3
Summary:        Legacy package for %{name}
bf396e3
bf396e3
%description    legacy
bf396e3
This package provides %{summary}.
bf396e3
bf396e3
bf396e3
%package        matchers
bf396e3
Summary:        Matchers for %{name}
bf396e3
bf396e3
%description    matchers
bf396e3
This package provides %{summary}.
bf396e3
bf396e3
bf396e3
%package        placeholders
bf396e3
Summary:        Placeholders for %{name}
bf396e3
bf396e3
%description    placeholders
bf396e3
This package provides %{summary}.
bf396e3
bf396e3
Permaine Cheung 54e2ebb
%prep
bf396e3
%setup -q -n %{name}-%{version}-src
bf396e3
bf396e3
%patch0 -p1
a6390b9
bf396e3
%pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin
bf396e3
%pom_remove_plugin :maven-assembly-plugin
Permaine Cheung 54e2ebb
bf396e3
%mvn_alias "org.xmlunit:xmlunit-legacy" "xmlunit:xmlunit"
Permaine Cheung 54e2ebb
Permaine Cheung 54e2ebb
a6390b9
%build
bf396e3
%mvn_build -s
Permaine Cheung 2f7cab9
Permaine Cheung 54e2ebb
a6390b9
%install
bf396e3
%mvn_install
b8fd3f2
Permaine Cheung 2f7cab9
bf396e3
%files -f .mfiles-xmlunit-parent
bf396e3
%doc README.md CONTRIBUTING.md RELEASE_NOTES.md
bf396e3
%license LICENSE
Permaine Cheung 54e2ebb
a6390b9
%files javadoc -f .mfiles-javadoc
bf396e3
%files assertj -f .mfiles-xmlunit-assertj
bf396e3
%files core -f .mfiles-xmlunit-core
bf396e3
%files legacy -f .mfiles-xmlunit-legacy
bf396e3
%files matchers -f .mfiles-xmlunit-matchers
bf396e3
%files placeholders -f .mfiles-xmlunit-placeholders
bf396e3
Permaine Cheung 54e2ebb
Permaine Cheung 54e2ebb
%changelog
bf396e3
* Mon Jul 29 2019 Fabio Valentini <decathorpe@gmail.com> - 0:2.6.3-1
bf396e3
- Update to version 2.6.3.
bf396e3
cf2d1b9
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.6-10
cf2d1b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
cf2d1b9
a688f2b
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.6-9
a688f2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a688f2b
d5d6f24
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.6-8
d5d6f24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d5d6f24
b83861e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.6-7
b83861e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b83861e
d2b2c5e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.6-6
d2b2c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d2b2c5e
a6390b9
* Wed Mar 01 2017 Michael Simacek <msimacek@redhat.com> - 0:1.6-5
a6390b9
- Install with XMvn
a6390b9
4ea7466
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.6-4
4ea7466
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4ea7466
4741eb7
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.6-3
4741eb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4741eb7
e915121
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6-2
e915121
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e915121
bcc0056
* Sun Jan 04 2015 Dr. Tilmann Bubeck <tilmann@bubecks.de> - 0:1.6-1
bcc0056
- update to upstream's xmlunit-1.6
bcc0056
b6adf38
* Wed Nov  5 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.5-3
b6adf38
- Remove workaround for RPM bug #646523
b6adf38
6ede113
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-2
6ede113
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6ede113
Dr. Tilmann Bubeck fe60075
* Fri Oct 11 2013 Dr. Tilmann Bubeck <tilmann@bubecks.de> - 0:1.5-1
Dr. Tilmann Bubeck fe60075
- update to upstream's xmlunit-1.5
Dr. Tilmann Bubeck fe60075
b8fd3f2
* Fri Sep 27 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.4-4
b8fd3f2
- Enable test suite
b8fd3f2
- Resolves: rhbz#987412
b8fd3f2
fa24792
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4-3
fa24792
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fa24792
Stanislav Ochotnicky 0255ffa
* Wed Jun 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.4-2
Stanislav Ochotnicky 0255ffa
- Update to latest packaging guidelines
Stanislav Ochotnicky 0255ffa
- Cleanup BuildRequires
Stanislav Ochotnicky 0255ffa
Dr. Tilmann Bubeck f6af6a4
* Fri Feb 15 2013 Dr. Tilmann Bubeck <t.bubeck@reinform.de> - 0:1.4-1
Dr. Tilmann Bubeck f6af6a4
- update to upstream's xmlunit-1.4
Dr. Tilmann Bubeck f6af6a4
03f2a38
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3-7
03f2a38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
03f2a38
8ed8734
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3-6
8ed8734
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8ed8734
cdc173f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3-5
cdc173f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cdc173f
a2cd7cc
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3-4
a2cd7cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a2cd7cc
3203c51
* Thu Dec 30 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.3-3
3203c51
- Build javadoc only.
3203c51
625f0f2
* Thu Dec 30 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.3-2
625f0f2
- BR java 1.6 to prevent gcj failure.
625f0f2
3f098e5
* Thu Dec 30 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.3-1
3f098e5
- Update to new upstream.
3f098e5
- Drop gcj.
3f098e5
- Rebuild docs.
3f098e5
ca13e1a
* Thu Mar 11 2010 Peter Lemenkov <lemenkov@gmail.com> - 0:1.0-8.3
ca13e1a
- Added missing Requires jpackage-utils
ca13e1a
8b032fb
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-8.2
8b032fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8b032fb
31319b9
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-7.2
31319b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
31319b9
cfbcb08
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.0-6.2
cfbcb08
- drop repotag
cfbcb08
c5eb55c
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.0-6jpp.1
c5eb55c
- Autorebuild for GCC 4.3
c5eb55c
Permaine Cheung 2f7cab9
* Thu Jan 17 2008 Permaine Cheung <pcheung@redhat.com> - 0:1.0-5jpp.1
Permaine Cheung 2f7cab9
- Update to the same version as upstream
Permaine Cheung 2f7cab9
Permaine Cheung 2f7cab9
 Tue Dec 18 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.0-5jpp
Permaine Cheung 2f7cab9
- Add poms and depmap frags
Permaine Cheung 2f7cab9
- Make Vendor, Distribution based on macro
Permaine Cheung 2f7cab9
- Add gcj_support option
Permaine Cheung 2f7cab9
Permaine Cheung 54e2ebb
* Mon Mar 12 2007 Permaine Cheung <pcheung@redhat.com> - 0:1.0-4jpp.1
Permaine Cheung 54e2ebb
- Add missing BR, patch to build javadoc, and other rpmlint issues
Permaine Cheung 54e2ebb
Permaine Cheung 54e2ebb
* Mon May 08 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.0-4jpp
Permaine Cheung 54e2ebb
- First JPP-1.7 release
Permaine Cheung 54e2ebb
Permaine Cheung 54e2ebb
* Thu Aug 26 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.0-3jpp
Permaine Cheung 54e2ebb
- Build with ant-1.6.2
Permaine Cheung 54e2ebb
Permaine Cheung 54e2ebb
* Wed Dec 17 2003 Paul Nasrat <pauln at truemesh.com> - 0:1.0-2jpp
Permaine Cheung 54e2ebb
- Fix license and improved description
Permaine Cheung 54e2ebb
- Thanks to Ralph Apel who produced a spec - merged version info
Permaine Cheung 54e2ebb
Permaine Cheung 54e2ebb
* Wed Dec 17 2003 Paul Nasrat <pauln at truemesh.com> - 0:1.0-1jpp
Permaine Cheung 54e2ebb
- Initial Version
bf396e3