Cleaned up spec file

This commit is contained in:
Endi S. Dewata 2018-04-11 04:39:29 +02:00
parent 40cef8aa5e
commit c04b42456f

View File

@ -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 <<EOF
This package is just a "meta-package" whose dependencies pull in all of the
packages comprising the Dogtag Public Key Infrastructure (PKI) Suite.
EOF
################################################################################
%files
################################################################################
%defattr(-,root,root,-)
%doc README
################################################################################
%changelog
################################################################################
* Mon Apr 9 2018 Dogtag PKI Team <pki-devel@redhat.com> - 10.6.0-0.4
- Updated project URL