Compare commits

..

36 commits

Author SHA1 Message Date
Fedora Release Engineering
fb2e5574bb Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:28:32 +00:00
Ondřej Pohořelský
836ff705c2 New upstream release 1.4.21 2026-03-09 12:25:23 +01:00
Fedora Release Engineering
49f9652f5c Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:55:54 +00:00
Jiri Vanek
078d69522d Rebuilt for java-25-openjdk as preffered jdk
https://fedoraproject.org/wiki/Changes/Java25AndNoMoreSystemJdk
Note, that since f43, you should be always explicit on what jdk to use.
This commit should do exactly that.
2025-07-30 01:35:53 +02:00
Fedora Release Engineering
1383964453 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:06:32 +00:00
Fedora Release Engineering
dd68028f6b Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:21:58 +00:00
Miroslav Suchý
5b4377121c convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-09-04 22:58:37 +02:00
Fedora Release Engineering
b5a87ca22e Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:31:24 +00:00
Marian Koncek
ad34885095 Set Java version to 1.8 2024-02-29 10:28:24 +01:00
Jiri Vanek
373f52944a Rebuilt for java-21-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java21
2024-02-27 18:38:11 +01:00
Marian Koncek
a9a83044fa Remove trailing whitespace 2024-02-05 12:11:31 +01:00
Fedora Release Engineering
a9e00acea1 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-29 11:19:06 +00:00
Fedora Release Engineering
f582b55fbe Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:20:39 +00:00
Didik Supriadi
ac4b6e4993 Depend on compat versions of activation and XML bind (by @mkoncek)
Re-enable activation

Signed-off-by: Didik Supriadi <didiksupriadi41@fedoraproject.org>
2023-02-20 19:05:47 +07:00
Didik Supriadi
95a84ad1b7 New upstream release 1.4.20
Disable activation

Signed-off-by: Didik Supriadi <didiksupriadi41@fedoraproject.org>
2023-02-20 18:04:36 +07:00
Fedora Release Engineering
a54966db57 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 07:55:22 +00:00
Fedora Release Engineering
abdf4532b5 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 13:35:25 +00:00
Jiri
7db1a4ef1c Rebuilt for Drop i686 JDKs
https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
2022-07-08 17:04:48 +02:00
Didik Supriadi
8123ab8015 Add comments 2022-03-15 19:23:12 +07:00
Jiri
92f13228cc Rebuilt for java-17-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java17
2022-02-06 00:50:24 +01:00
Didik Supriadi
0efe85f61a New upstream release 1.4.19 2022-01-30 03:17:57 +07:00
Fedora Release Engineering
6fda885dc5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 05:33:42 +00:00
Didik Supriadi
8da97ca0c6 Update to version 1.4.18
.. and enable optional packages that is currently
maintained in fedora
2021-10-04 17:53:48 +07:00
Tomas Hrcka
81a80ac8b6 Revert "Retired, failed to install for 8+ weeks"
This reverts commit 50f05f9d37.

Unretirement request: https://pagure.io/releng/issue/10324

Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2021-10-04 12:02:42 +02:00
Miro Hrončok
50f05f9d37 Retired, failed to install for 8+ weeks
https://pagure.io/releng/issue/10268
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
2021-08-18 10:35:49 +02:00
Fedora Release Engineering
cd291b33f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 22:00:05 +00:00
Fedora Release Engineering
95c725f04b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-28 00:25:47 +00:00
Ding-Yi Chen
073a53cbdc Upstream update to 1.4.14 2020-11-17 21:22:13 +10:00
Mat Booth
4bcb67e99b Allow building on JDK11 2020-08-07 13:50:26 +01:00
Fedora Release Engineering
331a4dfc44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 15:07:16 +00:00
Jiri
c78eda7ed2 Rebuilt for JDK-11 2020-07-11 09:08:01 +02:00
Fabio Valentini
7780321823
disable unused optional dom4j, jdom, jdom2, kxml, and woodstox support 2020-06-17 20:05:37 +02:00
Fabio Valentini
29ebf510eb
disable optional support for joda-time by default 2020-06-08 13:40:23 +02:00
Fabio Valentini
58b4be26c9
update to version 1.4.12, disable optional BEA Stax support by default 2020-04-27 14:27:59 +02:00
Fedora Release Engineering
92418f5a6f - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 04:57:57 +00:00
Fabio Valentini
949d0657af
use Java version override compatible with both xmvn 3.0.0 and 3.1.0 2019-11-05 13:30:17 +01:00
3 changed files with 286 additions and 168 deletions

7
.gitignore vendored
View file

@ -7,3 +7,10 @@ xstream-distribution-1.3.1-src.zip
/xstream-distribution-1.4.8-src.zip
/xstream-distribution-1.4.9-src.zip
/xstream-distribution-1.4.11.1-src.zip
/xstream-distribution-1.4.12-src.zip
/xstream-distribution-1.4.13-src.zip
/xstream-distribution-1.4.14-src.zip
/xstream-distribution-1.4.18-src.zip
/xstream-distribution-1.4.19-src.zip
/xstream-distribution-1.4.20-src.zip
/xstream-distribution-1.4.21-src.zip

View file

@ -1 +1 @@
SHA512 (xstream-distribution-1.4.11.1-src.zip) = 273c712a57800089f72899b5df65584788d02df3493fb32549066fcebc40decc57c4c10ea05ec387dede328516047bb8a2d62cc64e27ec14156dd361f3959a81
SHA512 (xstream-distribution-1.4.21-src.zip) = 495a415bad652bd3ad3ea91f8e8e12a4cfa34c3ba87e8822e3686f545b8e5a38aceb93e854da4d52ab5a5388f50a586f44b03e4c6f884ead30304672afb08a55

View file

@ -1,206 +1,318 @@
# Copyright statement from JPackage this file is derived from:
# Copyright (c) 2000-2007, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the
# distribution.
# 3. Neither the name of the JPackage Project nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
%bcond_with hibernate
%bcond_without activation
%bcond_without cglib
%bcond_without dom4j
%bcond_without jdom
%bcond_without jdom2
%bcond_with jettison
%bcond_with joda-time
%bcond_with kxml2
%bcond_with stax
%bcond_with woodstox
%bcond_with xom
%bcond_with xpp3
Name: xstream
Version: 1.4.11.1
Release: 3%{?dist}
Version: 1.4.21
Release: 2%{?dist}
Summary: Java XML serialization library
License: BSD
URL: http://x-stream.github.io/
# Automatically converted from old format: BSD - review is highly recommended.
License: LicenseRef-Callaway-BSD
URL: https://x-stream.github.io
BuildArch: noarch
Source0: http://repo1.maven.org/maven2/com/thoughtworks/%{name}/%{name}-distribution/%{version}/%{name}-distribution-%{version}-src.zip
BuildRequires: maven-local
BuildRequires: mvn(cglib:cglib)
BuildRequires: mvn(dom4j:dom4j)
BuildRequires: mvn(javax.xml.bind:jaxb-api)
BuildRequires: mvn(joda-time:joda-time)
BuildRequires: mvn(net.sf.kxml:kxml2-min)
ExclusiveArch: %{java_arches} noarch
Source0: https://repo1.maven.org/maven2/com/thoughtworks/%{name}/%{name}-distribution/%{version}/%{name}-distribution-%{version}-src.zip
BuildRequires: maven-local-openjdk25
BuildRequires: mvn(io.github.x-stream:mxparser)
BuildRequires: mvn(jakarta.xml.bind:jakarta.xml.bind-api:2)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.codehaus.woodstox:woodstox-core-asl)
%if %{with activation}
BuildRequires: mvn(jakarta.activation:jakarta.activation-api:1)
%endif
%if %{with cglib}
BuildRequires: mvn(cglib:cglib-nodep)
%endif
%if %{with dom4j}
BuildRequires: mvn(dom4j:dom4j)
%endif
%if %{with jdom}
BuildRequires: mvn(org.jdom:jdom)
%endif
%if %{with jdom2}
BuildRequires: mvn(org.jdom:jdom2)
%endif
%if %{with jettison}
BuildRequires: mvn(org.codehaus.jettison:jettison)
%endif
%if %{with joda-time}
BuildRequires: mvn(joda-time:joda-time)
%endif
%if %{with kxml2}
BuildRequires: mvn(net.sf.kxml:kxml2-min)
%endif
%if %{with stax}
BuildRequires: mvn(stax:stax)
BuildRequires: mvn(stax:stax-api)
BuildRequires: mvn(xpp3:xpp3)
BuildRequires: mvn(xpp3:xpp3_min)
%if %{with hibernate}
BuildRequires: mvn(javassist:javassist)
BuildRequires: mvn(org.codehaus.jettison:jettison)
BuildRequires: mvn(org.hibernate:hibernate-core)
BuildRequires: mvn(org.hibernate:hibernate-envers)
BuildRequires: mvn(org.slf4j:slf4j-simple)
%endif
%if %{with woodstox}
BuildRequires: mvn(org.codehaus.woodstox:wstx-asl)
%endif
%if %{with xom}
BuildRequires: mvn(xom:xom)
%endif
%if %{with xpp3}
BuildRequires: mvn(xpp3:xpp3_min)
%endif
%description
XStream is a simple library to serialize objects to XML
and back again. A high level facade is supplied that
simplifies common use cases. Custom objects can be serialized
without need for specifying mappings. Speed and low memory
footprint are a crucial part of the design, making it suitable
for large object graphs or systems with high message throughput.
No information is duplicated that can be obtained via reflection.
This results in XML that is easier to read for humans and more
compact than native Java serialization. XStream serializes internal
fields, including private and final. Supports non-public and inner
classes. Classes are not required to have default constructor.
Duplicate references encountered in the object-model will be
maintained. Supports circular references. By implementing an
interface, XStream can serialize directly to/from any tree
structure (not just XML). Strategies can be registered allowing
customization of how particular types are represented as XML.
When an exception occurs due to malformed XML, detailed diagnostics
XStream is a simple library to serialize objects to XML
and back again. A high level facade is supplied that
simplifies common use cases. Custom objects can be serialized
without need for specifying mappings. Speed and low memory
footprint are a crucial part of the design, making it suitable
for large object graphs or systems with high message throughput.
No information is duplicated that can be obtained via reflection.
This results in XML that is easier to read for humans and more
compact than native Java serialization. XStream serializes internal
fields, including private and final. Supports non-public and inner
classes. Classes are not required to have default constructor.
Duplicate references encountered in the object-model will be
maintained. Supports circular references. By implementing an
interface, XStream can serialize directly to/from any tree
structure (not just XML). Strategies can be registered allowing
customization of how particular types are represented as XML.
When an exception occurs due to malformed XML, detailed diagnostics
are provided to help isolate and fix the problem.
%package -n %{name}-benchmark
Summary: Benchmark module for %{name}
%description -n %{name}-benchmark
Benchmark module for %{name}.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
%{name} API documentation.
%if %{with hibernate}
%package hibernate
Summary: hibernate module for %{name}
Requires: %{name} = %{version}-%{release}
%description hibernate
hibernate module for %{name}.
%endif
%package benchmark
Summary: benchmark module for %{name}
Requires: %{name} = %{version}-%{release}
%description benchmark
benchmark module for %{name}.
%package parent
Summary: Parent POM for %{name}
Requires: %{name} = %{version}-%{release}
%description parent
Parent POM for %{name}.
%{?javadoc_package}
%prep
%setup -qn %{name}-%{version}
find . -name "*.class" -print -delete
find . -name "*.jar" -print -delete
# Require org.codehaus.xsite:xsite-maven-plugin
%pom_disable_module xstream-distribution
# missing artifacts:
# org.openjdk.jmh:jmh-core:jar:1.11.1
# org.openjdk.jmh:jmh-generator-annprocess:jar:1.11.1
%pom_disable_module xstream-jmh
# Unwanted
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-dependency-plugin
%pom_remove_plugin :maven-eclipse-plugin
%pom_remove_plugin :maven-release-plugin
%pom_remove_plugin :xsite-maven-plugin
%pom_xpath_set "pom:dependency[pom:groupId = 'org.codehaus.woodstox' ]/pom:artifactId" woodstox-core-asl
%pom_xpath_set "pom:dependency[pom:groupId = 'org.codehaus.woodstox' ]/pom:artifactId" woodstox-core-asl xstream
%pom_xpath_set "pom:dependency[pom:groupId = 'cglib' ]/pom:artifactId" cglib
%pom_xpath_set "pom:dependency[pom:groupId = 'cglib' ]/pom:artifactId" cglib xstream
# Replace old xmlpull dependency with xpp3
%pom_change_dep :xmlpull xpp3:xpp3:1.1.4c xstream
# Require unavailable proxytoys:proxytoys
%pom_remove_plugin :maven-dependency-plugin xstream
%pom_remove_plugin :maven-javadoc-plugin xstream
# provided by JDK
%pom_remove_dep javax.activation:activation xstream
%pom_xpath_set "pom:project/pom:dependencies/pom:dependency[pom:groupId = 'cglib' ]/pom:artifactId" cglib xstream-hibernate
%pom_xpath_inject "pom:project/pom:dependencies/pom:dependency[pom:groupId = 'junit' ]" "<scope>test</scope>" xstream-hibernate
%pom_remove_plugin :maven-dependency-plugin xstream-hibernate
%pom_remove_plugin :maven-javadoc-plugin xstream-hibernate
%pom_xpath_inject "pom:project/pom:dependencies/pom:dependency[pom:groupId = 'junit' ]" "<scope>test</scope>" xstream-benchmark
%pom_remove_plugin :maven-javadoc-plugin xstream-benchmark
%if %{without hibernate}
# Don't build hibernate module
%pom_disable_module xstream-hibernate
# Disable support for some lesser used XML backends
%pom_remove_dep -r xom:xom
# -n: base directory name
%autosetup -n %{name}-%{version}
# delete precompiled jar and class files
find -type f '(' -iname '*.jar' -o -iname '*.class' ')' -print -delete
# change javax to jakarta
# https://jakarta.ee/about/faq#What_happened_with_javax.*_namespace?
%pom_change_dep -r javax.activation:activation jakarta.activation:jakarta.activation-api:1
%pom_change_dep -r javax.xml.bind:jaxb-api jakarta.xml.bind:jakarta.xml.bind-api:2
# remove dependency plugin
%pom_remove_plugin -r :maven-dependency-plugin
# optional dep: activation
%if %{without activation}
%pom_remove_dep -r jakarta.activation:jakarta.activation-api
rm xstream/src/java/com/thoughtworks/xstream/converters/extended/ActivationDataFlavorConverter.java
%endif
# optional dep: cglib
%if %{without cglib}
%pom_remove_dep -r cglib:cglib-nodep
rm xstream/src/java/com/thoughtworks/xstream/converters/reflection/CGLIBEnhancedConverter.java
rm xstream/src/java/com/thoughtworks/xstream/mapper/CGLIBMapper.java
rm xstream/src/java/com/thoughtworks/xstream/security/CGLIBProxyTypePermission.java
%endif
# optional dep: dom4j
%if %{without dom4j}
%pom_remove_dep -r dom4j:dom4j
rm xstream/src/java/com/thoughtworks/xstream/io/xml/Dom4JDriver.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/Dom4JReader.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/Dom4JWriter.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.java
rm xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/products/XStreamDom4J.java
%endif
# optional dep: jdom
%if %{without jdom}
%pom_remove_dep -r org.jdom:jdom
rm xstream/src/java/com/thoughtworks/xstream/io/xml/JDomDriver.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/JDomReader.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/JDomWriter.java
rm xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/products/XStreamJDom.java
%endif
# optional dep: jdom2
%if %{without jdom2}
%pom_remove_dep -r org.jdom:jdom2
rm xstream/src/java/com/thoughtworks/xstream/io/xml/JDom2Driver.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/JDom2Reader.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/JDom2Writer.java
%endif
# optional dep: jettison
%if %{without jettison}
%pom_remove_dep -r org.codehaus.jettison:jettison
rm xstream/src/java/com/thoughtworks/xstream/io/xml/Xom*
rm xstream/src/java/com/thoughtworks/xstream/io/json/Jettison*
rm xstream/src/java/com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.java
rm xstream/src/java/com/thoughtworks/xstream/io/json/JettisonStaxWriter.java
%endif
# optional dep: joda-time
%if %{without joda-time}
%pom_remove_dep -r joda-time:joda-time
rm xstream/src/java/com/thoughtworks/xstream/core/util/ISO8601JodaTimeConverter.java
%endif
# optional dep: kxml2
%if %{without kxml2}
%pom_remove_dep -r net.sf.kxml:kxml2-min
rm xstream/src/java/com/thoughtworks/xstream/io/xml/KXml2DomDriver.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/KXml2Driver.java
rm xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/products/XStreamKXml2.java
rm xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/products/XStreamKXml2DOM.java
%endif
# optional dep: stax
%if %{without stax}
%pom_remove_dep -r stax:stax
%pom_remove_dep -r stax:stax-api
rm xstream/src/java/com/thoughtworks/xstream/io/xml/BEAStaxDriver.java
rm xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/products/XStreamBEAStax.java
%endif
# optional dep: woodstox
%if %{without woodstox}
%pom_remove_dep -r org.codehaus.woodstox:wstx-asl
%pom_remove_dep -r com.fasterxml.woodstox:woodstox-core
rm xstream/src/java/com/thoughtworks/xstream/io/xml/WstxDriver.java
rm xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/products/XStreamWoodstox.java
%endif
# optional dep: xom
%if %{without xom}
%pom_remove_dep -r xom:xom
rm xstream/src/java/com/thoughtworks/xstream/io/xml/XomDriver.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/XomReader.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/XomWriter.java
rm xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/products/XStreamXom.java
%endif
%mvn_file :%{name} %{name}/%{name} %{name}
%mvn_file :%{name}-benchmark %{name}/%{name}-benchmark %{name}-benchmark
%mvn_package :%{name}
# optional dep: xpp3
%if %{without xpp3}
%pom_remove_dep -r xpp3:xpp3_min
rm xstream/src/java/com/thoughtworks/xstream/io/xml/Xpp3DomDriver.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/Xpp3Driver.java
rm xstream/src/java/com/thoughtworks/xstream/io/xml/xppdom/Xpp3DomBuilder.java
rm xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/products/XStreamXpp3.java
rm xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/products/XStreamXpp3DOM.java
%endif
# disable module distribution
%pom_disable_module %{name}-distribution
# disable module hibernate
%pom_disable_module %{name}-hibernate
# disable module jmh
%pom_disable_module %{name}-jmh
# don't install parent package
%mvn_package :%{name}-parent __noinstall
%build
# test skipped for unavailable test deps (com.megginson.sax:xml-writer)
%mvn_build -f -s -- -Dversion.java.source=8
%mvn_build -s -f -- -Dversion.java.5=1.8 -Dversion.java.6=1.8 -Dversion.java.source=1.8 -Dversion.java.target=1.8
%install
%mvn_install
%files -f .mfiles
%files -n %{name} -f .mfiles-%{name}
%license LICENSE.txt
%doc README.txt
%files -n %{name}-benchmark -f .mfiles-%{name}-benchmark
%license LICENSE.txt
%files parent -f .mfiles-%{name}-parent
%if %{with hibernate}
%files hibernate -f .mfiles-%{name}-hibernate
%endif
%files benchmark -f .mfiles-%{name}-benchmark
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%doc README.txt
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Mon Mar 09 2026 Ondřej Pohořelský <opohorel@redhat.com> - 1.4.21-1
- New upstream release 1.4.21
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.20-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Tue Jul 29 2025 jiri vanek <jvanek@redhat.com> - 1.4.20-10
- Rebuilt for java-25-openjdk as preffered jdk
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.20-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.20-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 1.4.20-7
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.20-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Feb 27 2024 Jiri Vanek <jvanek@redhat.com> - 1.4.20-5
- Rebuilt for java-21-openjdk as system jdk
* Mon Jan 29 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.20-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.20-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Feb 20 2023 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.4.20-2
- Depend on compat versions of activation and XML bind (by @mkoncek)
- Re-enable activation
* Mon Feb 20 2023 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.4.20-1
- New upstream release 1.4.20
- Disable activation
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.19-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.19-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 1.4.19-3
- Rebuilt for Drop i686 JDKs
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.4.19-2
- Rebuilt for java-17-openjdk as system jdk
* Sat Jan 29 2022 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.4.19-1
- New upstream release 1.4.19
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.18-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Oct 04 2021 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.4.18-2
- Enable activation, cglib, dom4j, jdom, and jdom2
* Fri Oct 01 2021 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.4.18-1
- Update to version 1.4.18
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Nov 17 2020 Ding-Yi Chen <dchen@redhat.com> - 1.4.14-1
- Upstream update to 1.4.14
* Fri Aug 07 2020 Mat Booth <mat.booth@redhat.com> - 1.4.12-6
- Allow building on JDK11
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.12-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 1.4.12-4
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Wed Jun 17 2020 Fabio Valentini <decathorpe@gmail.com> - 1.4.12-3
- Disable unused optional dom4j, jdom, jdom2, kxml, and woodstox support.
* Mon Jun 08 2020 Fabio Valentini <decathorpe@gmail.com> - 1.4.12-2
- Disable optional support for joda-time by default.
* Mon Apr 27 2020 Fabio Valentini <decathorpe@gmail.com> - 1.4.12-1
- Update to version 1.4.12.
- Disable optional support for BEA Stax by default.
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.11.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Nov 05 2019 Fabio Valentini <decathorpe@gmail.com> - 1.4.11.1-4
- Use Java version override compatible with both xmvn 3.0.0 and 3.1.0.
* Fri Jul 26 2019 Fabio Valentini <decathorpe@gmail.com> - 1.4.11.1-3
- Disable hibernate support by default.
@ -286,7 +398,6 @@ rm xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/products/
* Thu Oct 24 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.5-3
- Rebuild to move arch-independant JARs out of %%_jnidir
* Wed Oct 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.5-2
- Rebuild to regenerate broken POM files
- Related: rhbz#1021484