Accepting request 535340 from home:AndreasSchwab:f
- Update to gawk 4.2.0 * If not in POSIX mode, changes to ENVIRON are reflected into gawk's environment * The series of numbers returned by rand() should now be "more random" than previously * Multiple changes related to the pretty printer * The igawk script and igawk.1 man page are no longer installed * Gawk now processes a maximum of two hexadecimal digits in \x escape sequences inside strings * Setting PROCINFO["redirection", "NONFATAL"] to true makes I/O errors for "redirection" not fatal * Gawk now supports retryable I/O via PROCINFO[input-file, "RETRY"] * Revisions in the POSIX standard remove the special case for POSIX mode when FS = " " where newline was not a field separator * Gawk now supports strongly typed regexp constants * The new typeof() function can be used to indicate if a variable or array element is an array, regexp, string or number * Optimizations are now enabled by default * Passing negative operands to any of the bitwise functions now produces a fatal error * The mktime function now accepts an optional second argument * The FIELDWIDTHS parsing syntax has been enhanced to allow specifying how many characters to skip before a field starts * The PROCINFO["argv"] array records all of gawk's command line arguments as gawk received them - gawk_ppc64le_ignore_transient_test_time_failure.patch: removed OBS-URL: https://build.opensuse.org/request/show/535340 OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=67
This commit is contained in:
parent
123f411d52
commit
7a772246ef
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:53e184e2d0f90def9207860531802456322be091c7b48f23fdc79cda65adc266
|
|
||||||
size 2367832
|
|
@ -1,11 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v1
|
|
||||||
|
|
||||||
iQEcBAABAgAGBQJXvzSWAAoJEN9ZeBWTfsDSPP8H/1Naw13ybArprjJDgwU7kQ5X
|
|
||||||
Yrwt40pQwehaxk+21kVlA+19O7qamHbKhX1etyRB4+KaBjTf9s3tOCdIIo4b3oTi
|
|
||||||
XCMSXhyBRzOs47+p2l6MVtQLPNuQ5nNhqeuP6tmlSi0QyI43EAcP3cix0nsYriUH
|
|
||||||
EAv2VffhdYawUrKgZE1sssRlDD47YoEelS4Gs1kC1HBRp/LnvuISItiP43JVGGeX
|
|
||||||
+SjgPh14oe8F7yVxIyAUFnK4zKEaNM/KDKvvZ7tDz1n7NtLxihtJPnvsticLhvDC
|
|
||||||
w+upaY41YUx0nnIy2QXF2lLNRtceJJ5zhl/QMxME5nWnN1dNGZLAVnBQYUbU7oU=
|
|
||||||
=8yeI
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
gawk-4.2.0.tar.xz
Normal file
3
gawk-4.2.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d4f3cd31c001fd0ed52832d4fbfbdfeaa38ad541c182f80ff8fdf87324a6a9f2
|
||||||
|
size 2948108
|
11
gawk-4.2.0.tar.xz.sig
Normal file
11
gawk-4.2.0.tar.xz.sig
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1
|
||||||
|
|
||||||
|
iQEcBAABAgAGBQJZ6PEYAAoJEN9ZeBWTfsDSBtQH/RaqjTVMNIpoqJRXyfnx+Lu7
|
||||||
|
Mnm3qkcvjn0PdaYT9pCSakZmbz75Y9Ra+FuDzMUGdXdeVsJhJ5N57Ao/5z52E4cA
|
||||||
|
G2612gJJbgeT69aAS1oKN49wbW8/ukjbHRGZkO/8WDnBHvo6WlbnoMIsw4WCANTR
|
||||||
|
GOBU9+QDCD1KwS2os+TWaEUZKLGWFHKzbryQnxpDes/5fsVFWPhFsI1t6Zu6/T0w
|
||||||
|
YimlDnEh+7S4KfKmxl3JIgj1tFBI9ftaZNNy9LqO3h3eYTRqpcfEgPZBG+G4mHRj
|
||||||
|
hhfu+LiSly9wB46+ca0mCqkP3oTyZ9YQkBIJSdDnRpSb6tvPGy1+AteijtyZlWE=
|
||||||
|
=UJep
|
||||||
|
-----END PGP SIGNATURE-----
|
30
gawk.changes
30
gawk.changes
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 19 21:54:47 UTC 2017 - schwab@linux-m68k.org
|
||||||
|
|
||||||
|
- Update to gawk 4.2.0
|
||||||
|
* If not in POSIX mode, changes to ENVIRON are reflected into
|
||||||
|
gawk's environment
|
||||||
|
* The series of numbers returned by rand() should now be "more
|
||||||
|
random" than previously
|
||||||
|
* Multiple changes related to the pretty printer
|
||||||
|
* The igawk script and igawk.1 man page are no longer installed
|
||||||
|
* Gawk now processes a maximum of two hexadecimal digits in \x
|
||||||
|
escape sequences inside strings
|
||||||
|
* Setting PROCINFO["redirection", "NONFATAL"] to true makes I/O
|
||||||
|
errors for "redirection" not fatal
|
||||||
|
* Gawk now supports retryable I/O via PROCINFO[input-file, "RETRY"]
|
||||||
|
* Revisions in the POSIX standard remove the special case for POSIX
|
||||||
|
mode when FS = " " where newline was not a field separator
|
||||||
|
* Gawk now supports strongly typed regexp constants
|
||||||
|
* The new typeof() function can be used to indicate if a variable or
|
||||||
|
array element is an array, regexp, string or number
|
||||||
|
* Optimizations are now enabled by default
|
||||||
|
* Passing negative operands to any of the bitwise functions now
|
||||||
|
produces a fatal error
|
||||||
|
* The mktime function now accepts an optional second argument
|
||||||
|
* The FIELDWIDTHS parsing syntax has been enhanced to allow specifying
|
||||||
|
how many characters to skip before a field starts
|
||||||
|
* The PROCINFO["argv"] array records all of gawk's command line arguments
|
||||||
|
as gawk received them
|
||||||
|
- gawk_ppc64le_ignore_transient_test_time_failure.patch: removed
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 11 11:40:41 UTC 2017 - astieger@suse.com
|
Wed Oct 11 11:40:41 UTC 2017 - astieger@suse.com
|
||||||
|
|
||||||
|
15
gawk.spec
15
gawk.spec
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: gawk
|
Name: gawk
|
||||||
Version: 4.1.4
|
Version: 4.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GNU awk
|
Summary: GNU awk
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
@ -27,7 +27,6 @@ Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
|||||||
Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
||||||
Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring
|
Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring
|
||||||
Source4: gawk.rpmlintrc
|
Source4: gawk.rpmlintrc
|
||||||
Patch1: gawk_ppc64le_ignore_transient_test_time_failure.patch
|
|
||||||
BuildRequires: update-alternatives
|
BuildRequires: update-alternatives
|
||||||
Requires(post): %{install_info_prereq}
|
Requires(post): %{install_info_prereq}
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
@ -42,20 +41,12 @@ almost completely POSIX 1003.2 compliant.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
chmod -x COPYING
|
|
||||||
# skip strftime time
|
|
||||||
sed -ie 's/ strftime / /g' test/Makefile.in
|
|
||||||
# apply only for the arch that experienced previously transient failure
|
|
||||||
%ifarch ppc64le ppc64
|
|
||||||
%patch1 -p1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --libexecdir=%{_libdir}
|
%configure --libexecdir=%{_libdir}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# strftime test skipped via prep section
|
|
||||||
make check %{?_smp_mflags}
|
make check %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -91,6 +82,8 @@ fi
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%config %{_sysconfdir}/profile.d/gawk.csh
|
||||||
|
%config %{_sysconfdir}/profile.d/gawk.sh
|
||||||
#UsrMerge
|
#UsrMerge
|
||||||
/bin/awk
|
/bin/awk
|
||||||
#EndUsrMerge
|
#EndUsrMerge
|
||||||
@ -104,14 +97,12 @@ fi
|
|||||||
/bin/gawk
|
/bin/gawk
|
||||||
#EndUsrMerge
|
#EndUsrMerge
|
||||||
%{_bindir}/gawk
|
%{_bindir}/gawk
|
||||||
%{_bindir}/igawk
|
|
||||||
%{_libdir}/awk
|
%{_libdir}/awk
|
||||||
%{_libdir}/gawk
|
%{_libdir}/gawk
|
||||||
%{_datadir}/awk
|
%{_datadir}/awk
|
||||||
%{_includedir}/gawkapi.h
|
%{_includedir}/gawkapi.h
|
||||||
%{_infodir}/*.info.gz
|
%{_infodir}/*.info.gz
|
||||||
%{_mandir}/man1/gawk.1%{?ext_man}
|
%{_mandir}/man1/gawk.1%{?ext_man}
|
||||||
%{_mandir}/man1/igawk.1%{?ext_man}
|
|
||||||
%{_mandir}/man3/*%{?ext_man}
|
%{_mandir}/man3/*%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
From: Michel Normand <normand@linux.vnet.ibm.com>
|
|
||||||
Subject: gawk ppc64le ignore transient test time failure
|
|
||||||
Date: Wed, 04 May 2016 17:46:51 +0200
|
|
||||||
|
|
||||||
gawk ignore test/time.awk transient failure
|
|
||||||
I experienced it one time on ppc64le with gawk version 4.1.3
|
|
||||||
===
|
|
||||||
[ 50s] ============== _time =============
|
|
||||||
[ 50s] *** time.ok Sun Apr 5 08:13:50 2015
|
|
||||||
[ 50s] --- _time Wed May 4 05:51:05 2016
|
|
||||||
[ 50s] ***************
|
|
||||||
[ 50s] *** 1,3 ****
|
|
||||||
[ 50s] ! gettimeofday - systime = 0
|
|
||||||
[ 50s] sleep(1.3) = 0
|
|
||||||
[ 50s] gettimeofday - systime = 0
|
|
||||||
[ 50s] --- 1,3 ----
|
|
||||||
[ 50s] ! gettimeofday - systime = 1
|
|
||||||
[ 50s] sleep(1.3) = 0
|
|
||||||
[ 50s] gettimeofday - systime = 0
|
|
||||||
[ 50s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/gawk-4.1.3/test'
|
|
||||||
[ 50s] Makefile:1583: recipe for target 'check' failed
|
|
||||||
[ 50s] make[1]: *** [check] Error 1
|
|
||||||
===
|
|
||||||
|
|
||||||
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
|
|
||||||
---
|
|
||||||
test/Makefile.in | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
Index: gawk-4.1.3/test/Makefile.in
|
|
||||||
===================================================================
|
|
||||||
--- gawk-4.1.3.orig/test/Makefile.in
|
|
||||||
+++ gawk-4.1.3/test/Makefile.in
|
|
||||||
@@ -3921,7 +3921,7 @@ rwarray:
|
|
||||||
time:
|
|
||||||
@echo $@
|
|
||||||
@AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
|
|
||||||
- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
|
|
||||||
+ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ || { echo "WARNING ignore diff:"; $(CMP) "$(srcdir)"/$@.ok _$@; rm -f _$@; }
|
|
||||||
|
|
||||||
# end of file Maketests
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user