Compare commits

..

No commits in common. 'c9' and 'cs10' have entirely different histories.
c9 ... cs10

@ -1 +1 @@
02408f1be58747a0d8c16ef1d191398b4260c638 SOURCES/gawk-5.1.0.tar.xz
98c37c82d0d7370354e4e789406d6060c75c402a SOURCES/gawk-5.3.0.tar.xz

2
.gitignore vendored

@ -1 +1 @@
SOURCES/gawk-5.1.0.tar.xz
SOURCES/gawk-5.3.0.tar.xz

@ -0,0 +1,27 @@
From 5ef029c1d69d2b2d802928c4b80d000b87e97548 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Mon, 22 May 2023 17:48:35 +0200
Subject: [PATCH] Disable the pma test
---
test/Makefile.in | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/Makefile.am b/test/Makefile.am
index 3ed140c..65e2f9c 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -2246,9 +2246,7 @@ makepmafile: makepmafile.c
pma:
@echo $@
- @GAWK_PERSIST_FILE=test.pma $(AWK) 'BEGIN { print ++i }' > _$@ 2>&1
- @GAWK_PERSIST_FILE=test.pma $(AWK) 'BEGIN { print ++i }' >> _$@ 2>&1
- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+ @echo Skipping pma tests
@-$(RM) -f test.pma
--
2.40.0

@ -1,22 +0,0 @@
diff --git a/io.c b/io.c
index 1d440c1..07d8368 100644
--- a/io.c
+++ b/io.c
@@ -2599,7 +2599,7 @@ wait_any(int interesting) /* pid of interest, if any */
for (redp = red_head; redp != NULL; redp = redp->next)
if (interesting == redp->pid) {
redp->pid = -1;
- redp->status = status;
+ redp->status = sanitize_exit_status(status);
break;
}
}
@@ -2629,7 +2629,7 @@ wait_any(int interesting) /* pid of interest, if any */
for (redp = red_head; redp != NULL; redp = redp->next)
if (pid == redp->pid) {
redp->pid = -1;
- redp->status = status;
+ redp->status = sanitize_exit_status(status);
break;
}
}

@ -46,10 +46,10 @@
Name: gawk
Summary: The GNU version of the AWK text processing utility
Version: 5.1.0
Release: 6%{?dist}
Version: 5.3.0
Release: 4%{?dist}
License: GPLv3+ and GPLv2+ and LGPLv2+ and BSD
License: GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause
URL: https://www.gnu.org/software/gawk/
Source0: https://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.xz
@ -73,7 +73,6 @@ BuildRequires: grep
BuildRequires: ghostscript
# Extending GAWK possibilities:
BuildRequires: libsigsegv-devel
BuildRequires: mpfr-devel
BuildRequires: readline-devel
@ -115,7 +114,7 @@ BuildRequires: make
# Upstream patches -- official upstream patches released by upstream since the
# ---------------- last rebase that are necessary for any reason:
#Patch000: example000.patch
Patch001: proc-rv.patch
#Parts of the patch dealing with .info files, were removed, some parts of documentation might be broken
#Patch008: gawk-api-version.patch
@ -138,6 +137,8 @@ Patch001: proc-rv.patch
# --------------------- some point in the future:
#Patch200: gawk-4.2.1-200-fix-build-for-f29.patch
#Pma is en experimental feature added in 5.2.0, and the tests is currently not very stable.
Patch201: disable-the-pma-test.patch
%description
The gawk package contains the GNU version of AWK text processing utility. AWK is
@ -247,18 +248,21 @@ ln -sf /usr/libexec/awk %{buildroot}%{_libexecdir}/gawk
# Install the all the documentation in the same folder - /usr/share/doc/gawk:
install -m 0755 -d %{buildroot}%{_docdir}/%{name}/html/gawk/
install -m 0755 -d %{buildroot}%{_docdir}/%{name}/html/gawkinet/
install -m 0755 -d %{buildroot}%{_docdir}/%{name}/eg/data/
install -m 0644 -p html/gawk/* %{buildroot}%{_docdir}/%{name}/html/gawk/
install -m 0644 -p html/gawkinet/* %{buildroot}%{_docdir}/%{name}/html/gawkinet/
install -m 0644 -p doc/gawk.{pdf,ps} %{buildroot}%{_docdir}/%{name}
install -m 0644 -p doc/gawkinet.{pdf,ps} %{buildroot}%{_docdir}/%{name}
install -m 0644 -p awklib/eg/data/* %{buildroot}%{_docdir}/%{name}/eg/data/
# === PACKAGING INSTRUCTIONS ==================================================
#%files -f %{name}.lang
%files
%{_bindir}/*awk
%{_bindir}/gawkbug
%{_libdir}/*awk
%{_datadir}/*awk
%{_libexecdir}/*awk
@ -285,20 +289,56 @@ install -m 0644 -p doc/gawkinet.{pdf,ps} %{buildroot}%{_docdir}/%{name}
%doc %{_docdir}/%{name}/gawk.{pdf,ps}
%doc %{_docdir}/%{name}/gawkinet.{pdf,ps}
%doc %{_docdir}/%{name}/html
%doc %{_docdir}/%{name}/eg
%doc %{_infodir}/gawk_*
# =============================================================================
%changelog
* Wed Feb 16 2022 Jakub Martisko <jamartis@redhat.com> - 5.1.0-6
Fix the issue with incorect handling of return values of some processes
Resolves: rhbz#2055107
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.3.0-4
- Bump release for June 2024 mass rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 11 2024 Jakub Martisko <jamartis@redhat.com> - 5.3.0-1
- New upstream release - 5.3.0
- libsigsegv should no longer be needed for the build
Resolves rhbz#2247650
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon May 22 2023 Jakub Martisko <jamartis@redhat.com> - 5.2.2-1
- New upstream release - 5.2.2
- Disable the pma test for now (it breaks the build right now).
Resolves rhbz#2124101
* Tue Apr 11 2023 Lukáš Zaoral <lzaoral@redhat.com> - 5.1.1-6
- migrate to SPDX license format
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Mar 30 2022 Jakub Martisko <jamartis@redhat.com> - 5.1.1-3
- Include the sample data files in the gawk-doc subpackage
Resolves: rhbz#2069821
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.1.0-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Mon Nov 01 2021 Jakub Martisko <jamartis@redhat.com> - 5.1.1-1
- New upstream release - 5.1.1
Resolves rhbz#2018296
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 5.1.0-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save