Blame SPECS/gawk.spec

4cea2b
#
4cea2b
# Important notes regarding the package:
4cea2b
# ======================================
4cea2b
#
4cea2b
# LICENSES: There are more licenses used inside the gawk source tarball from
4cea2b
#           upstream than listed in License: field below. However, some of
4cea2b
#           those files with different license are not used for compiling the
4cea2b
#           resulting binaries, nor they are additinionally shipped inside the
4cea2b
#           final package or its subpacakges
4cea2b
#
4cea2b
#           To get latest version of currently used licenses in gawk run the
4cea2b
#           licensecheck. We assume that files that do not explicitly state
4cea2b
#           their copyright are licensed under GPLv3+ as per COPYING file
4cea2b
#           inside root directory of source code.
4cea2b
#
4cea2b
#           Also, we have to ship additional license files with the package,
4cea2b
#           because upstream does not include them inside their source tarball:
4cea2b
#           and never will. They have also confirmed that the additional
4cea2b
#           licenses shipped are correct. For more info, see:
4cea2b
#
4cea2b
#           http://lists.gnu.org/archive/html/bug-gawk/2016-09/msg00008.html
4cea2b
4cea2b
# === GLOBAL MACROS ===========================================================
4cea2b
4cea2b
# According to Fedora Package Guidelines, it is advised that packages that can
4cea2b
# process untrusted input are build with position-idenpendent code (PIC).
4cea2b
#
4cea2b
# Koji should override the compilation flags and add the -fPIC or -fPIE flags by
4cea2b
# default. This is here just in case this wouldn't happen for some reason.
4cea2b
# For more info: https://fedoraproject.org/wiki/Packaging:Guidelines#PIE
4cea2b
%global _hardened_build 1
4cea2b
4cea2b
# Extract the API major & minor versions, so we can export them below.
4cea2b
# Ensure that the major version is >= 3, since that patch is not yet
4cea2b
# in the tarball.
4cea2b
%global gawk_api_major %%(x=`tar -xf %{SOURCE0} gawk-%{version}/gawkapi.h --to-stdout 2>/dev/null | \
4cea2b
                          grep -i -e "gawk_api_major.*[[:digit:]]" | \
4cea2b
                          grep -o -e "[[:digit:]]"`; \
4cea2b
			  [ "$x" -lt 3 ] && x=3; echo $x)
4cea2b
4cea2b
%global gawk_api_minor %%(tar -xf %{SOURCE0} gawk-%{version}/gawkapi.h --to-stdout 2>/dev/null | \
4cea2b
                          grep -i -e "gawk_api_minor.*[[:digit:]]" | \
4cea2b
                          grep -o -e "[[:digit:]]" || :)
4cea2b
4cea2b
# =============================================================================
4cea2b
4cea2b
Name:             gawk
4cea2b
Summary:          The GNU version of the AWK text processing utility
4cea2b
Version:          5.1.0
4cea2b
Release:          5%{?dist}
4cea2b
4cea2b
License:          GPLv3+ and GPLv2+ and LGPLv2+ and BSD
4cea2b
4cea2b
URL:              https://www.gnu.org/software/gawk/
4cea2b
Source0:          https://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.xz
4cea2b
4cea2b
Source1:          LICENSE.GPLv2
4cea2b
Source2:          LICENSE.LGPLv2
4cea2b
Source3:          LICENSE.BSD
4cea2b
4cea2b
Provides:         /bin/awk
4cea2b
Provides:         /bin/gawk
4cea2b
4cea2b
Provides:         gawk(abi) = %{gawk_api_major}.%{gawk_api_minor}
4cea2b
4cea2b
# Safeguard to allow this package to be installed only on UsrMove enabled
4cea2b
# filesystem. More info: https://fedoraproject.org/wiki/Features/UsrMove
4cea2b
Requires:         filesystem >= 3
4cea2b
4cea2b
BuildRequires:    git
4cea2b
BuildRequires:    gcc
4cea2b
BuildRequires:    grep
4cea2b
BuildRequires:    ghostscript
4cea2b
4cea2b
# Extending GAWK possibilities:
4cea2b
BuildRequires:    libsigsegv-devel
4cea2b
BuildRequires:    mpfr-devel
4cea2b
BuildRequires:    readline-devel
4cea2b
4cea2b
# Documentation (gawk-doc):
4cea2b
BuildRequires:    texinfo-tex
4cea2b
BuildRequires:    texlive-ec
4cea2b
BuildRequires:    texlive-cm-super
4cea2b
4cea2b
# Make check
4cea2b
BuildRequires:    glibc-all-langpacks
4cea2b
4cea2b
# NOTE: In case any patch updates the awkgram.y or command.y (IOW if anything
4cea2b
#       changes the timestamp of awkgram.y, and it becomes newer than awkgram.c,
4cea2b
#       same applies for command.y), the 'make' command will automatically try
4cea2b
#       to rebuild the affected files. In that case we need to include the
4cea2b
#       BuildRequires line below.
4cea2b
#
4cea2b
#       However, it's not necessary to include any changes to awkgram.c or
4cea2b
#       command.c in patches (when *.y respective files were patched), since
4cea2b
#       these files are automatically generated by bison.
4cea2b
#
4cea2b
# INFO: Upstream explicitly wishes that we do not use 'yacc' instead of bison.
4cea2b
#       For more info, see: https://bugzilla.redhat.com/show_bug.cgi?id=1176993
4cea2b
BuildRequires:    bison
4cea2b
4cea2b
# After patching the awkgram.y, and running autoreconf, we now need additional
4cea2b
# packages to correctly finish the build. These should not be needed in the
4cea2b
# future, once upstream fixes their requirement on 'aclocal-1.15'.
4cea2b
BuildRequires:    automake
4cea2b
BuildRequires: make
4cea2b
4cea2b
# =============================================================================
4cea2b
4cea2b
# NOTE: 'autosetup' macro (below) uses 'git' for applying the patches:
4cea2b
#       ->> All the patches should be provided in 'git format-patch' format.
4cea2b
#       ->> Auxiliary repository will be created during 'fedpkg prep', you
4cea2b
#           can see all the applied patches there via 'git log'.
4cea2b
4cea2b
# Upstream patches -- official upstream patches released by upstream since the
4cea2b
# ----------------    last rebase that are necessary for any reason:
4cea2b
#Patch000: example000.patch
4cea2b
4cea2b
#Parts of the patch dealing with .info files, were removed, some parts of documentation might be broken
4cea2b
4cea2b
#Patch008: gawk-api-version.patch
4cea2b
4cea2b
4cea2b
4cea2b
# Downstream patches -- these should be always included when doing rebase:
4cea2b
# ------------------
4cea2b
#Patch100: example100.patch
4cea2b
4cea2b
4cea2b
# Downstream patches for RHEL -- patches that we keep only in RHEL for various
4cea2b
# ---------------------------    reasons, but are not enabled in Fedora:
4cea2b
%if %{defined rhel} || %{defined centos}
4cea2b
#Patch200: example200.patch
4cea2b
%endif
4cea2b
4cea2b
4cea2b
# Patches to be removed -- deprecated functionality which shall be removed at
4cea2b
# ---------------------    some point in the future:
4cea2b
#Patch200: gawk-4.2.1-200-fix-build-for-f29.patch
4cea2b
4cea2b
4cea2b
%description
4cea2b
The gawk package contains the GNU version of AWK text processing utility. AWK is
4cea2b
a programming language designed for text processing and typically used as a data
4cea2b
extraction and reporting tool.
4cea2b
4cea2b
The gawk utility can be used to do quick and easy text pattern matching,
4cea2b
extracting or reformatting. It is considered to be a standard Linux tool for
4cea2b
text processing.
4cea2b
4cea2b
# === SUBPACKAGES =============================================================
4cea2b
4cea2b
%package devel
4cea2b
Summary:          Header file for gawk extensions development
4cea2b
Requires:         %{name}%{?_isa} = %{version}-%{release}
4cea2b
4cea2b
%description devel
4cea2b
This subpackage provides /usr/include/gawkapi.h header file, which contains
4cea2b
definitions for use by extension functions calling into gawk. For more info
4cea2b
about gawk extensions, please refer to `The GNU Awk User's Guide`.
4cea2b
4cea2b
However, unless you are developing an extension to gawk, you most likely do not
4cea2b
need this subpackage.
4cea2b
4cea2b
# ---------------
4cea2b
4cea2b
%package doc
4cea2b
Summary:          Additional documentation for gawk utility
4cea2b
Requires:         %{name} = %{version}-%{release}
4cea2b
BuildArch:        noarch
4cea2b
4cea2b
%description doc
4cea2b
The base package of gawk comes pre-installed with `GAWK: Effective AWK
4cea2b
Programming` and `TCP/IP Internetworking with gawk` user's guides, and you can
4cea2b
access them via info pages.
4cea2b
4cea2b
However, this way of displaying information is less convenient for printing or
4cea2b
displaying images. Therefore, this doc subpackage can provide you with HTML, PDF
4cea2b
and PS versions of those documents, which might be useful when you need to
4cea2b
access them regularly, and/or when you do not have access to Internet.
4cea2b
4cea2b
# ---------------
4cea2b
4cea2b
%package all-langpacks
4cea2b
Summary: 	  Additional localisation files for gawk utility
4cea2b
Supplements: %{name} = %{version}-%{release}
4cea2b
Conflicts: %{name} < 5.0.1-8
4cea2b
%description all-langpacks
4cea2b
The base package of gawk supports only the english localisation. This subpackage
4cea2b
contains additional localisation files.
4cea2b
4cea2b
# === BUILD INSTRUCTIONS ======================================================
4cea2b
4cea2b
# Call the 'autosetup' macro to prepare the environment, but do not patch the
4cea2b
# source code yet -- we need to copy the LICENSE.* files into the directory:
4cea2b
%prep
4cea2b
%autosetup -N -S git
4cea2b
cp -a %{SOURCE1} %{SOURCE2} %{SOURCE3} .
4cea2b
4cea2b
# Add and amend the copied files to the initial commit, patch the source code:
4cea2b
git add --all --force .
4cea2b
git commit --all --amend --no-edit > /dev/null
4cea2b
%autopatch -p1
4cea2b
4cea2b
# ---------------
4cea2b
4cea2b
%build
4cea2b
# NOTE: The re-generating of ./configure (below) should be removed once the
4cea2b
#       direct dependency on 'aclocal-1.15' is fixed in upstream and backported.
4cea2b
autoreconf --force --verbose
4cea2b
4cea2b
%configure
4cea2b
%make_build
4cea2b
4cea2b
# Build the documentation in PDF, postscript and HTML versions:
4cea2b
%make_build -C doc pdf
4cea2b
mkdir -p html/gawk html/gawkinet
4cea2b
makeinfo --html -I doc -o html/gawk     doc/gawk.texi
4cea2b
makeinfo --html -I doc -o html/gawkinet doc/gawkinet.texi
4cea2b
4cea2b
# ---------------
4cea2b
4cea2b
%check
4cea2b
make check
4cea2b
4cea2b
# ---------------
4cea2b
4cea2b
%install
4cea2b
%make_install
4cea2b
4cea2b
# Fedora does not support multiple versions of same package installed,
4cea2b
# and the */dir info file (containing all top nodes) is automatically updated
4cea2b
# in the %%post and %%postun phases...
4cea2b
rm -f %{buildroot}%{_bindir}/gawk-%{version}*
4cea2b
rm -f %{buildroot}%{_infodir}/dir
4cea2b
4cea2b
# Create additional symlinks:
4cea2b
ln -sf gawk %{buildroot}%{_bindir}/awk
4cea2b
ln -sf gawk.1.gz %{buildroot}%{_mandir}/man1/awk.1.gz
4cea2b
4cea2b
ln -sf /usr/share/awk   %{buildroot}%{_datadir}/gawk
4cea2b
ln -sf /usr/libexec/awk %{buildroot}%{_libexecdir}/gawk
4cea2b
4cea2b
# Install NLS language files:
4cea2b
%find_lang %{name}
4cea2b
4cea2b
# Install the all the documentation in the same folder - /usr/share/doc/gawk:
4cea2b
install -m 0755 -d %{buildroot}%{_docdir}/%{name}/html/gawk/
4cea2b
install -m 0755 -d %{buildroot}%{_docdir}/%{name}/html/gawkinet/
4cea2b
4cea2b
install -m 0644 -p html/gawk/*           %{buildroot}%{_docdir}/%{name}/html/gawk/
4cea2b
install -m 0644 -p html/gawkinet/*       %{buildroot}%{_docdir}/%{name}/html/gawkinet/
4cea2b
4cea2b
install -m 0644 -p doc/gawk.{pdf,ps}     %{buildroot}%{_docdir}/%{name}
4cea2b
install -m 0644 -p doc/gawkinet.{pdf,ps} %{buildroot}%{_docdir}/%{name}
4cea2b
4cea2b
# === PACKAGING INSTRUCTIONS ==================================================
4cea2b
4cea2b
#%files -f %{name}.lang
4cea2b
%files
4cea2b
%{_bindir}/*awk
4cea2b
%{_libdir}/*awk
4cea2b
%{_datadir}/*awk
4cea2b
%{_libexecdir}/*awk
4cea2b
%{_sysconfdir}/profile.d/gawk.*
4cea2b
4cea2b
%{_mandir}/man1/*
4cea2b
%{_mandir}/man3/*
4cea2b
%{_infodir}/*awk*.info*
4cea2b
4cea2b
%doc NEWS README POSIX.STD README_d/README.multibyte
4cea2b
%license COPYING LICENSE.GPLv2 LICENSE.LGPLv2 LICENSE.BSD
4cea2b
4cea2b
# ---------------
4cea2b
%files -f %{name}.lang all-langpacks
4cea2b
# ---------------
4cea2b
4cea2b
%files devel
4cea2b
%{_includedir}/gawkapi.h
4cea2b
4cea2b
# ---------------
4cea2b
4cea2b
# NOTE: For some reason, adding all files in one line causes RPM build to fail.
4cea2b
%files doc
4cea2b
%doc %{_docdir}/%{name}/gawk.{pdf,ps}
4cea2b
%doc %{_docdir}/%{name}/gawkinet.{pdf,ps}
4cea2b
%doc %{_docdir}/%{name}/html
4cea2b
4cea2b
# =============================================================================
4cea2b
4cea2b
%changelog
4cea2b
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.1.0-5
4cea2b
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
4cea2b
  Related: rhbz#1991688
4cea2b
4cea2b
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 5.1.0-4
4cea2b
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
4cea2b
4cea2b
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-3
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4cea2b
4cea2b
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-2
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4cea2b
4cea2b
* Tue Jul 21 2020 Jakub Martisko <jamartis@redhat.com> - 5.1.0-1
4cea2b
- New upstream release
4cea2b
4cea2b
* Tue Feb 18 2020 Jakub Martisko <jamartis@redhat.com> - 5.0.1-8
4cea2b
- Split the package into the main package and locales subpackage
4cea2b
4cea2b
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-7
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4cea2b
4cea2b
* Wed Oct  9 2019 Jerry James <loganjerry@gmail.com> - 5.0.1-6
4cea2b
- Rebuild for mpfr 4
4cea2b
4cea2b
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-5
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4cea2b
4cea2b
* Sat Jul 20 2019 Andrew Schorr <ajschorr@fedoraproject.org> - 5.0.1-4
4cea2b
- Force api_major_version >= 3 because patch is not in tarball yet
4cea2b
4cea2b
* Thu Jul 11 2019 Andrew Schorr <ajschorr@fedoraproject.org> - 5.0.1-3
4cea2b
- Add upstream patch to fix the API version number
4cea2b
4cea2b
* Thu Jun 27 2019 Jakub Martisko <jamartis@redhat.com> - 5.0.1-2
4cea2b
- Fix the bacward compatibility of the inplace extension
4cea2b
- (renaming of some variables due to introduction of namespaces)
4cea2b
  Resolves: #1723359
4cea2b
4cea2b
* Mon Jun 24 2019 Jakub Martisko <jamartis@redhat.com> - 5.0.1-1
4cea2b
- New upstream release
4cea2b
  Resolves: #1674922
4cea2b
4cea2b
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.1-6
4cea2b
- Rebuild for readline 8.0
4cea2b
4cea2b
* Wed Feb 13 2019 Jakub Martisko <jamartis@redhat.com> - 4.2.1-5
4cea2b
- Fix FTBFS caused by missing glibc langpacks required by make check
4cea2b
  Resolves: #1674922
4cea2b
4cea2b
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-4
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4cea2b
4cea2b
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4cea2b
4cea2b
* Thu Jun 21 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.2.1-2
4cea2b
- 5 important patches backported from upstream per their request:
4cea2b
    gawk-4.2.1-000-add-support-for-a-and-A-in-printf.patch
4cea2b
    gawk-4.2.1-001-remove-the-tail-recursion-optimization.patch
4cea2b
    gawk-4.2.1-002-copy-MPZ-MPFR-bits-also-in-r_dupnode.patch
4cea2b
    gawk-4.2.1-003-fix-rebuilding-records-if-using-API-parser.patch
4cea2b
    gawk-4.2.1-004-fix-a-corner-case-with-EPIPE-to-stdout-stderr.patch
4cea2b
4cea2b
* Mon Feb 26 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.2.1-1
4cea2b
- Rebase to latest stable release from upstream
4cea2b
4cea2b
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.0-4
4cea2b
- Escape macros in %%changelog
4cea2b
4cea2b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-3
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4cea2b
4cea2b
* Thu Nov 23 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.2.0-2
4cea2b
- 'noarch' removed from *-devel subpackage
4cea2b
- added arch requirement for *-devel subpackage
4cea2b
- updated the build process to use %%make_build macro
4cea2b
4cea2b
* Tue Nov 07 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.2.0-1
4cea2b
- Update to latest stable release from upstream [new API version - 2.0]
4cea2b
- Added latest relevant patches from upstream's gawk-4.2-stable branch
4cea2b
4cea2b
* Fri Sep 15 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.4-7
4cea2b
- Revert previous change of adding 'awk*' symlinks for info pages (bug #1486924)
4cea2b
- Added patch to correctly fix the info pages issue (bug #1486924)
4cea2b
- specfile content refactored for better readability
4cea2b
- Package now provides its ABI version via gawk(abi)
4cea2b
- Added test for usage of correct gawk(abi) into %%check section
4cea2b
4cea2b
* Thu Aug 31 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.4-6
4cea2b
- Added 'awk*' symlinks for info pages (bug #1486924)
4cea2b
4cea2b
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.4-5
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4cea2b
4cea2b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.4-4
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4cea2b
4cea2b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.4-3
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4cea2b
4cea2b
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.1.4-2
4cea2b
- Rebuild for readline 7.x
4cea2b
4cea2b
* Mon Sep 12 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.4-1
4cea2b
- Update to latest stable release from upstream
4cea2b
4cea2b
* Mon Sep 12 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.3-9
4cea2b
- Build gawk with readline support (useful for gawk debugger)
4cea2b
4cea2b
* Mon Sep 12 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.3-8
4cea2b
- Support for GNU MPFR added (see 'man gawk', look for --bignum option)
4cea2b
- Another round of specfile refactoring
4cea2b
4cea2b
* Sun Sep 11 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.3-7
4cea2b
- Trailing '%%' character removed from doc subpackage's NVR
4cea2b
4cea2b
* Sun Sep 11 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.3-6
4cea2b
- New gawk-doc subpackage created (contains HTML, PDF and PS documentation)
4cea2b
4cea2b
* Thu Sep  8 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.3-5
4cea2b
- New gawk-devel subpackage created (contains gawkapi.h header file)
4cea2b
4cea2b
* Tue Sep  6 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.3-4
4cea2b
- License field updated to more correctly reflect the actual licenses used,
4cea2b
  other licensing issues fixed as well
4cea2b
- Major specfile refactoring to comply with latest Fedora Packaging Guidelines
4cea2b
4cea2b
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.3-3
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4cea2b
4cea2b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-2
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4cea2b
4cea2b
* Thu May 21 2015 jchaloup <jchaloup@redhat.com> - 4.1.3-1
4cea2b
- Update to upstream 4.1.3
4cea2b
  resolves: #1223594
4cea2b
4cea2b
* Wed Apr 29 2015 jchaloup <jchaloup@redhat.com> - 4.1.2-1
4cea2b
- Update to upstream 4.1.2
4cea2b
  resolves: #1217027
4cea2b
4cea2b
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 4.1.1-7
4cea2b
- Rebuilt for Fedora 23 Change
4cea2b
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
4cea2b
4cea2b
* Fri Jan 02 2015 jchaloup <jchaloup@redhat.com> - 4.1.1-6
4cea2b
- No need for build dependency on byacc/bison, fix make check
4cea2b
  resolves: #1176993
4cea2b
  resolves: #1177001
4cea2b
4cea2b
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-5
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4cea2b
4cea2b
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 4.1.1-4
4cea2b
- fix license handling
4cea2b
4cea2b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-3
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4cea2b
4cea2b
* Tue May 13 2014 jchaloup <jchaloup@redhat.com> - 4.1.1-2
4cea2b
- resolves: #1089073
4cea2b
  eval invalid free
4cea2b
4cea2b
* Mon Apr 21 2014 Ondrej Vasik <ovasik@redhat.com> - 4.1.1-1
4cea2b
- Update to upstream 4.1.1 (#1087242)
4cea2b
4cea2b
* Sat Jan 25 2014 Ville Skytta <ville.skytta@iki.fi> - 4.1.0-3
4cea2b
- Own the %%{_libdir}/gawk dir.
4cea2b
- Use xz compressed upstream tarball.
4cea2b
4cea2b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.0-2
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4cea2b
4cea2b
* Mon May 13 2013 Fridolin Pokorny <fpokorny@redhat.com> -  4.1.0-1
4cea2b
- Update to upstream 4.1.0 (#962109)
4cea2b
- Removed FUTURES and LIMITATIONS
4cea2b
- Added unpackaged files
4cea2b
4cea2b
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.2-2
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4cea2b
4cea2b
* Fri Jan 04 2013 Martin Briza <mbriza@redhat.com> - 4.0.2-1
4cea2b
- Update to upstream 4.0.2 (#890559)
4cea2b
4cea2b
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-2
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4cea2b
4cea2b
* Thu Jun 07 2012 Martin Briza <mbriza@redhat.com> -  4.0.1-1
4cea2b
- Update to upstream 4.0.1 (#808005)
4cea2b
- Corrected Source0 link to .tar.gz extension as not all releases are available as .tar.bz2
4cea2b
- Resolves #724817 - gawk-4.0.0 regression in '\' escape handling in gsub()
4cea2b
- Resolves #820550 - gawk: getline in BEGIN skips 2 lines
4cea2b
4cea2b
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 4.0.0-4
4cea2b
- add filesystem guard
4cea2b
4cea2b
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 4.0.0-3
4cea2b
- install everything in /usr
4cea2b
  https://fedoraproject.org/wiki/Features/UsrMove
4cea2b
4cea2b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-2
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4cea2b
4cea2b
* Thu Jul 14 2011 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 4.0.0-1
4cea2b
- Remove gawk-3.1.8-syntax.patch, gawk-3.1.8-double-free-wstptr.patch
4cea2b
- Update to upstream 4.0.0 (#717885)
4cea2b
4cea2b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.8-4
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4cea2b
4cea2b
* Tue Nov 02 2010 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 3.1.8-3
4cea2b
- fix syntax issues #528623, #528625
4cea2b
- add byacc to BuildRequires
4cea2b
- follow updated libsigsegv option in configure script
4cea2b
4cea2b
* Tue Nov 02 2010 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 3.1.8-2
4cea2b
- fix #629196: Double free in free_wstr
4cea2b
- fix license tag, add description
4cea2b
- remove BuildRoot tag
4cea2b
4cea2b
* Fri May  7 2010 Stepan Kasal <kasal@ucw.cz> - 3.1.8-1
4cea2b
- new upstream version
4cea2b
- drop upstreamed patches
4cea2b
4cea2b
* Thu Apr 01 2010 Jan Zeleny <jzeleny@redhat.com> - 3.1.7-3
4cea2b
- fix issue with utf8 precision recognition (#513234)
4cea2b
4cea2b
* Thu Oct  8 2009 Stepan Kasal <skasal@redhat.com> - 3.1.7-2
4cea2b
- in posix mode, make ARGV[0] = argv[0] (#525381)
4cea2b
4cea2b
* Wed Sep  9 2009 Stepan Kasal <skasal@redhat.com> - 3.1.7-1
4cea2b
- new upstream version
4cea2b
- disable libsigsegv
4cea2b
4cea2b
* Fri Jul 24 2009 Fed Rel Eng <rel-eng@lists.fedoraproject.org> - 3.1.6-6
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4cea2b
4cea2b
* Tue Feb 24 2009 Fed Rel Eng <rel-eng@lists.fedoraproject.org> - 3.1.6-5
4cea2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4cea2b
4cea2b
* Fri Jan 30 2009 Stepan Kasal <skasal@redhat.com> - 3.1.6-4
4cea2b
- remove the versioned binaries even if the version is modified by the
4cea2b
  snapshot patch, modify the file list to check this (#476166)
4cea2b
- update the snapshot patch, dropping the upstreamed
4cea2b
  gawk-3.1.5-test-lc_num1.patch
4cea2b
4cea2b
* Thu Dec 11 2008 Stepan Kasal <skasal@redhat.com> - 3.1.6-3
4cea2b
- grab the current stable tree from savannah
4cea2b
4cea2b
* Wed Nov 26 2008 Stepan Kasal <skasal@redhat.com> - 3.1.6-2
4cea2b
- test-lc_num1.patch submitted upstream, link added
4cea2b
4cea2b
* Tue Nov 25 2008 Stepan Kasal <skasal@redhat.com> - 3.1.6-1
4cea2b
- new upstream version
4cea2b
- drop Patch1: gawk-3.1.3-getpgrp_void.patch, it seems to be a workaround
4cea2b
  for a bug in gcc that seemed to exist at Fedora Core 1 times, see #114246
4cea2b
- drop patches 2-13, they have been integrated upstream
4cea2b
4cea2b
* Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.1.5-18
4cea2b
- fix license tag
4cea2b
4cea2b
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1.5-17
4cea2b
- Autorebuild for GCC 4.3
4cea2b
4cea2b
* Wed Oct 31 2007 Stepan Kasal <skasal@redhat.com> - 3.1.5-16
4cea2b
- Add gawk-3.1.5-quote-sticky.patch
4cea2b
- Resolves: #299551
4cea2b
- Add gawk-3.1.5-test-lc_num1.patch, a test for that bug.
4cea2b
- BuldRequire autoconf and automake, for the test patch.
4cea2b
- Add coment explaining why bison is buildrequired.
4cea2b
- Remove BuildRequire: flex.
4cea2b
4cea2b
* Mon Feb 12 2007 Karel Zak <kzak@redhat.com> 3.1.5-15
4cea2b
- fix #225777 - clean up spec file according to Fedora Merge Review
4cea2b
  suggestions (thanks to Dan Horak and Patrice Dumas)
4cea2b
4cea2b
* Mon Jan 15 2007 Karel Zak <kzak@redhat.com> 3.1.5-14
4cea2b
- sync with double-free upstream fixes
4cea2b
- fix #222531: Replace dist by ?dist
4cea2b
4cea2b
* Fri Jan 12 2007 Karel Zak <kzak@redhat.com> 3.1.5-13
4cea2b
- fix MB read 
4cea2b
4cea2b
* Fri Jan 12 2007 Karel Zak <kzak@redhat.com> 3.1.5-13
4cea2b
- improve freewstr patch
4cea2b
4cea2b
* Thu Jan 11 2007 Karel Zak <kzak@redhat.com> 3.1.5-12
4cea2b
- fix #222080 double free or corruption
4cea2b
4cea2b
* Wed Jul 19 2006 Karel Zak <kzak@redhat.com> 3.1.5-11
4cea2b
- spec file cleanup
4cea2b
4cea2b
* Tue Jul 18 2006 Karel Zak <kzak@redhat.com> 3.1.5-10
4cea2b
- add IPv6 support (patch be Jan Pazdziora)
4cea2b
4cea2b
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1.5-9.1
4cea2b
- rebuild
4cea2b
4cea2b
* Mon Jul 10 2006 Karel Zak <kzak@redhat.com> 3.1.5-9
4cea2b
- fix numeric conversion problem (patch by Aharon Robbins)
4cea2b
  http://lists.gnu.org/archive/html/bug-gnu-utils/2006-07/msg00004.html
4cea2b
4cea2b
* Fri Jun 23 2006 Karel Zak <kzak@redhat.com> 3.1.5-8
4cea2b
- fix #194214 - gawk coredumps on syntax error (patch by Aharon Robbins)
4cea2b
4cea2b
* Wed Jun 21 2006 Karel Zak <kzak@redhat.com> 3.1.5-7
4cea2b
- fix internal names like /dev/user, /dev/pid, or /dev/fd/N (patch by Aharon Robbins)
4cea2b
4cea2b
* Tue Feb 14 2006 Karel Zak <kzak@redhat.com> 3.1.5-6.2
4cea2b
- new version of the gawk-3.1.5-wconcat.patch patch
4cea2b
4cea2b
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1.5-6.1
4cea2b
- bump again for double-long bug on ppc(64)
4cea2b
4cea2b
* Fri Feb 10 2006 Karel Zak <kzak@redhat.com> 3.1.5-6
4cea2b
- fix wide characters concatenation
4cea2b
4cea2b
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.1.5-5.1
4cea2b
- rebuilt for new gcc4.1 snapshot and glibc changes
4cea2b
4cea2b
* Thu Dec 22 2005 Karel Zak <kzak@redhat.com> 3.1.5-5
4cea2b
- fix "gawk -v BINMODE=1" (patch by Aharon Robbins)
4cea2b
- fix conversion from large number to string (patch by Aharon Robbins)
4cea2b
4cea2b
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
4cea2b
- rebuilt
4cea2b
4cea2b
* Sun Oct  9 2005 Karel Zak <kzak@redhat.com> 3.1.5-4
4cea2b
- fix off-by-one error in assignment of sentinel value at 
4cea2b
  end of FIELDWIDTHS array. (patch by Aharon Robbins)
4cea2b
4cea2b
* Tue Sep 27 2005 Karel Zak <kzak@redhat.com> 3.1.5-3
4cea2b
- fix #169374 - Invalid Free (patch by Aharon Robbins)
4cea2b
4cea2b
* Tue Sep 20 2005 Karel Zak <kzak@redhat.com> 3.1.5-2
4cea2b
- fix #167181 - gawk owns /usr/share
4cea2b
- fix #160634 - should exclude dirs in spec file
4cea2b
4cea2b
* Tue Sep 20 2005 Karel Zak <kzak@redhat.com> 3.1.5-1
4cea2b
- new upstream version
4cea2b
4cea2b
* Wed Jun 15 2005 Karel Zak <kzak@redhat.com> 3.1.4-6
4cea2b
- fix #160421 - crash when using non-decimal data in command line parameters
4cea2b
4cea2b
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 3.1.4-5
4cea2b
- rebuild with gcc-4
4cea2b
4cea2b
* Fri Nov 12 2004 Karel Zak <kzak@redhat.com> 3.1.4-4
4cea2b
- rebuilt 
4cea2b
4cea2b
* Thu Nov 11 2004 Karel Zak <kzak@redhat.com> 3.1.4-3
4cea2b
- rebuilt to FC4 
4cea2b
4cea2b
* Tue Nov  9 2004 Karel Zak <kzak@redhat.com> 3.1.4-2
4cea2b
- add dfacache.patch for fix LC_ALL=de_DE.UTF-8 ./gawk '/^[ \t]/ { print }',
4cea2b
  (by Aharon Robbins), #135210, #131498
4cea2b
- add flonum.patch for "improved" handling of non-numeric constants,
4cea2b
  second version of patch (by Aharon Robbins)
4cea2b
  http://lists.gnu.org/archive/html/bug-gnu-utils/2004-10/msg00046.html
4cea2b
- add nextc.patch (by Andreas Schwab)
4cea2b
  http://lists.gnu.org/archive/html/bug-gnu-utils/2004-09/msg00093.html
4cea2b
- add uplow.patch for fix the wide char handling (by Stepan Kasal)
4cea2b
  http://lists.gnu.org/archive/html/bug-gnu-utils/2004-10/msg00099.html
4cea2b
4cea2b
* Tue Aug 31 2004 Thomas Woerner <twoerner@redhat.com> 3.1.4-1
4cea2b
- new version 3.1.4
4cea2b
4cea2b
* Mon Jun 28 2004 Thomas Woerner <twoerner@redhat.com> 3.1.3-9
4cea2b
- fixed "read only one input file on 64-bit architectures"
4cea2b
4cea2b
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
4cea2b
- rebuilt
4cea2b
4cea2b
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
4cea2b
- rebuilt
4cea2b
4cea2b
* Mon Jan 26 2004 Thomas Woerner <twoerner@redhat.com> 3.1.3-6
4cea2b
- fixed getpgrp_void problem (#114246)
4cea2b
- removed old patches
4cea2b
4cea2b
* Fri Jan 09 2004 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- add a "make check"
4cea2b
4cea2b
* Mon Dec 08 2003 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- disabled "shutup" patch to warn about wrong awk scripts again
4cea2b
4cea2b
* Mon Sep 22 2003 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- add even more patches from the mailinglist
4cea2b
4cea2b
* Tue Jul 15 2003 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- add first bug-fixes from the mailinglist
4cea2b
4cea2b
* Sun Jul 13 2003 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- update to 3.1.3
4cea2b
- pgawk man-page fix and /proc fix are obsolete
4cea2b
4cea2b
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
4cea2b
- rebuilt
4cea2b
4cea2b
* Wed Jun 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- fix --exclude-docs #92252
4cea2b
4cea2b
* Sun May 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- fix find_lang
4cea2b
4cea2b
* Tue Apr 15 2003 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- fix .so pointer in pgawk man-page
4cea2b
- also read files in /proc correctly that have a filesize of 0
4cea2b
4cea2b
* Sun Mar 30 2003 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- update to 3.1.2
4cea2b
4cea2b
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
4cea2b
- rebuilt
4cea2b
4cea2b
* Mon Dec 02 2002 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- add find_lang to specfile
4cea2b
4cea2b
* Wed Nov 20 2002 Elliot Lee <sopwith@redhat.com> 3.1.1-7
4cea2b
- Add gawk-3.1.1-ngroups.patch, because NGROUPS_MAX comes from 
4cea2b
sys/param.h, and awk.h changes behaviour depending on whether NGROUPS_MAX 
4cea2b
is defined or not. (For ppc64)
4cea2b
4cea2b
* Wed Nov 06 2002 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- remove /usr/share/info/dir
4cea2b
4cea2b
* Sun Nov 03 2002 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- ugly fix to get locale files into the right location #74360
4cea2b
4cea2b
* Sun Aug 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- simplify install part of spec file
4cea2b
- do not package /bin/gawk-<version>  anymore
4cea2b
4cea2b
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
4cea2b
- automated rebuild
4cea2b
4cea2b
* Thu May 23 2002 Tim Powers <timp@redhat.com>
4cea2b
- automated rebuild
4cea2b
4cea2b
* Thu May 09 2002 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- update to 3.1.1
4cea2b
4cea2b
* Sun Mar 17 2002 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- add patch from #61316 to ignore wrong hex numbers and treat them as text
4cea2b
4cea2b
* Tue Jul 31 2001 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- do not warn about unnecessary escaping
4cea2b
4cea2b
* Fri Jun 29 2001 Florian La Roche <Florian.LaRoche@redhat.de>
4cea2b
- fix path of man-pages
4cea2b
4cea2b
* Mon Jun 25 2001 Than Ngo <than@redhat.com> 3.1.0-1
4cea2b
- update to 3.1.0
4cea2b
- remove a uneeded patch
4cea2b
- adapt a patch for 3.1.0
4cea2b
4cea2b
* Fri Jun  1 2001 Preston Brown <pbrown@redhat.com>
4cea2b
- newer version of the mktemp patch from Solar Designer <solar@openwall.com>
4cea2b
4cea2b
* Fri May 11 2001 Preston Brown <pbrown@redhat.com> 3.0.6-2
4cea2b
- use mktemp in igawk shell script, not shell pid variable
4cea2b
4cea2b
* Wed Aug 16 2000 Florian La Roche <Florian.LaRoche@redhat.com>
4cea2b
- update to 3.06
4cea2b
4cea2b
* Tue Aug 15 2000 Trond Eivind Glomsrod <teg@redhat.com>
4cea2b
- /usr/bin/gawk can't point at gawk - infinite symlink
4cea2b
- /usr/bin/awk can't point at gawk - infinite symlink
4cea2b
4cea2b
* Mon Aug 14 2000 Preston Brown <pbrown@redhat.com>
4cea2b
- absolute --> relative symlinks
4cea2b
4cea2b
* Tue Aug  8 2000 Florian La Roche <Florian.LaRoche@redhat.com>
4cea2b
- fix paths for "configure" call
4cea2b
4cea2b
* Thu Jul 13 2000 Florian La Roche <Florian.LaRoche@redhat.com>
4cea2b
- add another bugfix
4cea2b
4cea2b
* Thu Jul 13 2000 Florian La Roche <Florian.LaRoche@redhat.com>
4cea2b
- update to 3.0.5 with bugfix
4cea2b
4cea2b
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
4cea2b
- automatic rebuild
4cea2b
4cea2b
* Fri Jun 30 2000 Matt Wilson <msw@redhat.com>
4cea2b
- revert to 3.0.4.  3.0.5 misgenerates e2fsprogs' test cases
4cea2b
4cea2b
* Wed Jun 28 2000 Florian La Roche <Florian.LaRoche@redhat.com>
4cea2b
- update to 3.0.5
4cea2b
4cea2b
* Mon Jun 19 2000 Florian La Roche <Florian.LaRoche@redhat.com>
4cea2b
- add defattr
4cea2b
4cea2b
* Mon Jun 19 2000 Florian La Roche <Florian.LaRoche@redhat.com>
4cea2b
- FHS
4cea2b
4cea2b
* Tue Mar 14 2000 Florian La Roche <Florian.LaRoche@redhat.com>
4cea2b
- add bug-fix
4cea2b
4cea2b
* Thu Feb  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
4cea2b
- Fix man page symlinks
4cea2b
- Fix description
4cea2b
- Fix download URL
4cea2b
4cea2b
* Wed Jun 30 1999 Jeff Johnson <jbj@redhat.com>
4cea2b
- update to 3.0.4.
4cea2b
4cea2b
* Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
4cea2b
- make sure all binaries are stripped
4cea2b
4cea2b
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
4cea2b
- auto rebuild in the new build environment (release 6)
4cea2b
4cea2b
* Fri Feb 19 1999 Jeff Johnson <jbj@redhat.com>
4cea2b
- Install info pages (#1242).
4cea2b
4cea2b
* Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
4cea2b
- build for glibc 2.1
4cea2b
- don't package /usr/info/dir
4cea2b
4cea2b
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
4cea2b
- translations modified for de, fr, tr
4cea2b
4cea2b
* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
4cea2b
- upgraded to 3.0.3
4cea2b
- added documentation and buildroot
4cea2b
4cea2b
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
4cea2b
- built against glibc