specfile: additional round of refactoring (comment sections reordered)

This commit is contained in:
David Kaspar [Dee'Kej] 2017-09-18 14:55:10 +02:00
parent 319b9eb9e6
commit aed5d0492c
1 changed files with 35 additions and 24 deletions

View File

@ -1,27 +1,47 @@
#
# Important notes regarding the package:
# ======================================
#
# LICENSES: There are more licenses used inside the gawk source tarball from
# upstream than listed in License: field below. However, some of
# those files with different license are not used for compiling the
# resulting binaries, nor they are additinionally shipped inside the
# final package or its subpacakges
#
# To get latest version of currently used licenses in gawk run the
# licensecheck. We assume that files that do not explicitly state
# their copyright are licensed under GPLv3+ as per COPYING file
# inside root directory of source code.
#
# Also, we have to ship additional license files with the package,
# because upstream does not include them inside their source tarball:
# and never will. They have also confirmed that the additional
# licenses shipped are correct. For more info, see:
#
# http://lists.gnu.org/archive/html/bug-gawk/2016-09/msg00008.html
# === GLOBAL MACROS ===========================================================
# According to Fedora Package Guidelines, it is advised that packages that can
# process untrusted input are build with position-idenpendent code (PIC).
#
# Koji should override the compilation flags and add the -fPIC or -fPIE flags by
# default. This is here just in case this wouldn't happen for some reason.
# For more info: https://fedoraproject.org/wiki/Packaging:Guidelines#PIE
%global _hardened_build 1
# =============================================================================
Name: gawk
Summary: The GNU version of the AWK text processing utility
Version: 4.1.3
Release: 11%{?dist}
# LICENSE NOTE: There are more licenses used inside the gawk source tarball from
# ------------- upstream than listed below, however, some of those files with
# different licenses are not used for compiling the resulting
# binaries, nor they are additionally shipped inside the final
# package or its subpackages.
#
# To get latest version of currently used licenses in gawk run: licensecheck
# We assume that files that do not explicitly state their copyright are licensed
# under GPLv3+ as per COPYING file inside root directory of source code.
#
# UPDATE: Upstream has confirmed that the licenses used here are correct:
# http://lists.gnu.org/archive/html/bug-gawk/2016-09/msg00008.html
License: GPLv3+ and GPLv2+ and LGPLv2+ and BSD
URL: https://www.gnu.org/software/gawk/
Source0: https://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.xz
# Additional license files that we have to ship with the package because does
# not include them inside their source tarball and never will (see mail above):
Source1: LICENSE.GPLv2
Source2: LICENSE.LGPLv2
Source3: LICENSE.BSD
@ -54,16 +74,6 @@ BuildRequires: texinfo-tex
# For more info, see: https://bugzilla.redhat.com/show_bug.cgi?id=1176993
#BuildRequires: bison
# === GLOBAL MACROS ===========================================================
# According to Fedora Package Guidelines, it is advised that packages that can
# process untrusted input are build with position-idenpendent code (PIC).
#
# Koji should override the compilation flags and add the -fPIC or -fPIE flags by
# default. This is here just in case this wouldn't happen for some reason.
# For more info: https://fedoraproject.org/wiki/Packaging:Guidelines#PIE
%global _hardened_build 1
# =============================================================================
# NOTE: 'autosetup' macro (below) uses 'git' for applying the patches:
@ -241,6 +251,7 @@ fi
* Fri Sep 15 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.4-11
- Revert previous change of adding 'awk*' symlinks for info pages (bug #1486924)
- Added patch to correctly fix the info pages issue (bug #1486924)
- specfile content refactored for better readability
* Thu Aug 31 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.3-10
- Added 'awk*' symlinks for info pages (bug #1486924)