From c04b42456f7bbf700aae2f01f53bdc027fb82e1b Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 11 Apr 2018 04:39:29 +0200 Subject: [PATCH] Cleaned up spec file --- dogtag-pki.spec | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/dogtag-pki.spec b/dogtag-pki.spec index 67a8516..ae9cbf7 100644 --- a/dogtag-pki.spec +++ b/dogtag-pki.spec @@ -1,5 +1,19 @@ -Summary: Dogtag Public Key Infrastructure (PKI) Suite +################################################################################ Name: dogtag-pki +################################################################################ + +Summary: Dogtag PKI Package +URL: http://www.dogtagpki.org/ +# The entire source code is GPLv2 except for 'pki-tps' which is LGPLv2 +License: GPLv2 and LGPLv2 +BuildArch: noarch + +%if 0%{?fedora} >= 27 || 0%{?rhel} > 7 +# Exclude 'aarch64' and 's390x' architectures since +# 'esc' does not exist on these two platforms +ExcludeArch: aarch64 s390x +%endif + %if 0%{?rhel} Version: 10.6.0 Release: 0.3%{?_timestamp}%{?_commit}%{?dist} @@ -8,10 +22,9 @@ Version: 10.6.0 Release: 0.3%{?_timestamp}%{?_commit}%{?dist} %endif -# The entire source code is GPLv2 except for 'pki-tps' which is LGPLv2 -License: GPLv2 and LGPLv2 -URL: http://www.dogtagpki.org/ -BuildArch: noarch +################################################################################ +# Python +################################################################################ %if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 @@ -34,12 +47,6 @@ BuildArch: noarch %endif %define pki_console_version %{version} -%if 0%{?fedora} >= 27 || 0%{?rhel} > 7 -# 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} @@ -124,17 +131,26 @@ NOTE: As a convenience for standalone deployments, this 'dogtag-pki' * dogtag-pki-server-theme * dogtag-pki-console-theme +################################################################################ %prep +################################################################################ + cat > README < - 10.6.0-0.4 - Updated project URL