From dee5f1f58c65b9aa23b1507e7700d0e2e30f338e Mon Sep 17 00:00:00 2001 From: Matthew Harmsen Date: Thu, 24 Aug 2017 16:25:05 -0600 Subject: [PATCH] - Added ExcludeArch directives for 'aarch64' and 's390x' on Fedora 27+ due to dependency on 'esc' which does not exist on these two platforms --- dogtag-pki.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/dogtag-pki.spec b/dogtag-pki.spec index d725304..22cd8c7 100644 --- a/dogtag-pki.spec +++ b/dogtag-pki.spec @@ -11,7 +11,7 @@ Version: 10.4.1 Release: 3%{?dist} %else Version: 10.4.8 -Release: 2%{?dist} +Release: 3%{?dist} %endif # The entire source code is GPLv2 except for 'pki-tps' which is LGPLv2 License: GPLv2 and LGPLv2 @@ -21,7 +21,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch %define dogtag_pki_theme_version %{version} +%if 0%{?fedora} >= 27 +%define esc_version 1.1.1 +%else %define esc_version 1.1.0 +%endif # NOTE: The following package versions are TLS compliant: %if 0%{?rhel} %define pki_core_rhel_version 10.4.1 @@ -31,6 +35,12 @@ BuildArch: noarch %endif %define pki_console_version %{version} +%if 0%{?fedora} >= 27 +# Exclude 'aarch64' and 's390x' architectures since +# 'esc' does not exist on these two platforms +ExcludeArch: aarch64 s390x +%endif + # Make certain that this 'meta' package requires the latest version(s) # of ALL Dogtag PKI theme packages Requires: dogtag-pki-server-theme >= %{dogtag_pki_theme_version} @@ -129,6 +139,10 @@ rm -rf %{buildroot} %doc README %changelog +* Thu Aug 24 2017 Dogtag Team 10.4.8-3 +- Added ExcludeArch directives for 'aarch64' and 's390x' on Fedora 27+ due + to dependency on 'esc' which does not exist on these two platforms + * Wed Jul 26 2017 Fedora Release Engineering - 10.4.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild