Blame SPECS/gawk.spec

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