build with reduced functionality and dependencies

This commit is contained in:
Fabio Valentini 2020-04-18 12:05:02 +02:00
parent 5b9dd449b7
commit c3a94372dd
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

View File

@ -1,9 +1,9 @@
# Conditionally build with a minimal dependency set # Conditionally build with a minimal dependency set
%bcond_with jp_minimal %bcond_without jp_minimal
Name: glassfish-jaxb Name: glassfish-jaxb
Version: 2.2.11 Version: 2.2.11
Release: 16%{?dist} Release: 17%{?dist}
Summary: JAXB Reference Implementation Summary: JAXB Reference Implementation
License: CDDL-1.1 and GPLv2 with exceptions License: CDDL-1.1 and GPLv2 with exceptions
@ -52,6 +52,23 @@ Requires: %{name}-txw-parent = %{version}-%{release}
Requires: %{name}-xjc = %{version}-%{release} Requires: %{name}-xjc = %{version}-%{release}
%endif %endif
%if %{with jp_minimal}
%global obsolete_evr 2.2.11-17
Obsoletes: %{name}-bom < %{obsolete_evr}
Obsoletes: %{name}-bom-ext < %{obsolete_evr}
Obsoletes: %{name}-codemodel < %{obsolete_evr}
Obsoletes: %{name}-codemodel-annotation-compiler < %{obsolete_evr}
Obsoletes: %{name}-codemodel-parent < %{obsolete_evr}
Obsoletes: %{name}-external-parent < %{obsolete_evr}
Obsoletes: %{name}-jxc < %{obsolete_evr}
Obsoletes: %{name}-parent < %{obsolete_evr}
Obsoletes: %{name}-rngom < %{obsolete_evr}
Obsoletes: %{name}-runtime-parent < %{obsolete_evr}
Obsoletes: %{name}-txwc2 < %{obsolete_evr}
Obsoletes: %{name}-txw-parent < %{obsolete_evr}
Obsoletes: %{name}-xjc < %{obsolete_evr}
%endif
Obsoletes: glassfish-jaxb1-impl < 2.2.11-12 Obsoletes: glassfish-jaxb1-impl < 2.2.11-12
BuildArch: noarch BuildArch: noarch
@ -295,6 +312,9 @@ rm runtime/impl/src/main/java/com/sun/xml/bind/v2/runtime/output/{FastInfoset,St
%changelog %changelog
* Sat Apr 18 2020 Fabio Valentini <decathorpe@gmail.com> - 2.2.11-17
- Build with reduced functionality and dependencies.
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-16 * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild