- Added ExcludeArch directives for 'aarch64' and 's390x' on Fedora 27+ due

to dependency on 'esc' which does not exist on these two platforms
This commit is contained in:
Matthew Harmsen 2017-08-24 16:25:05 -06:00
parent 7f99c29dc2
commit dee5f1f58c

View File

@ -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 <pki-devel@redhat.com> 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 <releng@fedoraproject.org> - 10.4.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild