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