From fda41fb06c2e18a584b4a92c4ba5fc99208d8126cfae8022f36c82c37d90132d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 20 Jan 2020 14:37:08 +0000 Subject: [PATCH] Accepting request 765550 from home:AndreasStieger:branches:Base:System GNU sed 4.8 OBS-URL: https://build.opensuse.org/request/show/765550 OBS-URL: https://build.opensuse.org/package/show/Base:System/sed?expand=0&rev=42 --- disable-null-ptr-argument.patch | 14 -------------- sed-4.7.tar.xz | 3 --- sed-4.7.tar.xz.sig | 16 ---------------- sed-4.8.tar.xz | 3 +++ sed-4.8.tar.xz.sig | 16 ++++++++++++++++ sed.changes | 9 +++++++++ sed.spec | 8 +++----- 7 files changed, 31 insertions(+), 38 deletions(-) delete mode 100644 disable-null-ptr-argument.patch delete mode 100644 sed-4.7.tar.xz delete mode 100644 sed-4.7.tar.xz.sig create mode 100644 sed-4.8.tar.xz create mode 100644 sed-4.8.tar.xz.sig diff --git a/disable-null-ptr-argument.patch b/disable-null-ptr-argument.patch deleted file mode 100644 index 23b4b47..0000000 --- a/disable-null-ptr-argument.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/gnulib-tests/test-canonicalize-lgpl.c b/gnulib-tests/test-canonicalize-lgpl.c -index 4cec490..c91aa1f 100644 ---- a/gnulib-tests/test-canonicalize-lgpl.c -+++ b/gnulib-tests/test-canonicalize-lgpl.c -@@ -71,9 +71,6 @@ main (void) - ASSERT (result == NULL); - ASSERT (errno == ENOENT); - errno = 0; -- result = canonicalize_file_name (null_ptr ()); -- ASSERT (result == NULL); -- ASSERT (errno == EINVAL); - } - - /* Check that a non-directory with trailing slash yields NULL. */ diff --git a/sed-4.7.tar.xz b/sed-4.7.tar.xz deleted file mode 100644 index cf4df0f..0000000 --- a/sed-4.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2885768cd0a29ff8d58a6280a270ff161f6a3deb5690b2be6c49f46d4c67bd6a -size 1298316 diff --git a/sed-4.7.tar.xz.sig b/sed-4.7.tar.xz.sig deleted file mode 100644 index 772e712..0000000 --- a/sed-4.7.tar.xz.sig +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEEFV0/xQDINEhtHupnf9n8ywAL7u4FAlwcgnQACgkQf9n8ywAL -7u4SXRAArgoIS1j1lfOAFuSCx5akRrvDu/np/F8QsvOyeQxJ7xybY+BnaInlnpcT -ADVP2NwlKvvbWY/jrZSysoHCW2Z3Lr/dvMvq66KAVMDPKUhane0L0x2b8ExQmuOR -HSJM3TqgVeEBDX5uuGaulaN0zMrTEsza8iaUfenvAkmd6z0S3vxLNCfcs/tBQRKa -TAB71TlC4WbKL9P5xWmryqRcNVfCQFJSpKlnI8lhSK27w7cV9TX0jkFj4zWLVkak -SU3z+JhwCWfdrIWzwL+0eGJwvGaH5Gxh10x4fLGBh3QEri+1UPvcGUDKroVSeWtD -KWa3gi2qGxjCiPDa+unHBAbIVNb/NDhTPeqxLfQvA+ng4kNjKBI16rBmqqXqVDHJ -D0uFNRAgYYMDGtb6QT9+jQfNIg9ZkYapeJqNBfmPquICAyBVqWEENHShODKjIWii -nmr7GORFMFL+mMsos4Bh+PyssmvRPk5suDzUxJxnIPgPxiCPBZSQdZ9TzT+UFerE -IdgzA9n2ysG2zDOqSzSOGoTfHzpnqIdEiX9E64vVCIrdMkR17MRKUYC2m5qlOXlD -2tGFGSJEV+CHbAXAO0Y5X9KOeOnrQzzsBkIGfd1jpc0CiVHhv23EYDaLyoZztH04 -9ES0L5PdlJZMZWSilZln0RL+1LcYIaQCfTSptMm6nlHW3oYy9hM= -=3J3U ------END PGP SIGNATURE----- diff --git a/sed-4.8.tar.xz b/sed-4.8.tar.xz new file mode 100644 index 0000000..d989742 --- /dev/null +++ b/sed-4.8.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f79b0cfea71b37a8eeec8490db6c5f7ae7719c35587f21edb0617f370eeff633 +size 1348048 diff --git a/sed-4.8.tar.xz.sig b/sed-4.8.tar.xz.sig new file mode 100644 index 0000000..ec3c650 --- /dev/null +++ b/sed-4.8.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEFV0/xQDINEhtHupnf9n8ywAL7u4FAl4ekRoACgkQf9n8ywAL +7u62aA//a9WOFsQR4oTCAX5yYw/RDD4600hMdWmhoV4gSTZxaPWlA5MX0hdT4Y3X +GZ3/QFckfJ1k8U5ZEsCPkCCh0U2k8031+Sc4a5Jn8NEIqeP2VGPoB0APZOkEJFdm +tWwD3cAyyDX6S2HCA1OqQsbeSmBIzn/iZU7jPTplih2VO4mzglcv2eJiDIICipSI +FRnQ9QqHA5kyO4ndNB51ESpUGvCgQ7dGe85kozaM6xbhoTdIVLvxjUuAGQNaeSNa +fqnFqEfEfWE5qfw0hPoUU2WVdayRq+3Sm977hIcdy8FzM4k4zU66GZnYd6aSfVEj +RpAwJRFG8GkLIf+ALMeGUcIWDX64E5XLjFXFM9zV9ffI+Snlpqz745ru3SXBF9js +6Xvab+tAkP17Okj1SzfWjUHs5PAaF59dt/SQGpa+8CroYZJo0/xT05oI4EuNRL0n +gfb9PQPYcF+aQNsBEU1av+x/cui1uQKxFzJ8TdvJsLjKux7tPOyQA/QLGF969JwO +sjaNyTpGk7dkOX/7dCtXAFXRsJVTKCc6p8LzEWnMV0rEhzznq0Ey42n2xEJF6NGL +ipV5uKRXoD/6ok6ZIfSTbyY3N4pdBAlkz5o3s1ikbQ1D/eiqq7v3Rpsy5lvpvQeZ +5GsHowlh6BmlK5kYcavDmr7RKoBUwQttkEu3OuDOrFhVIIKWB8Q= +=XavH +-----END PGP SIGNATURE----- diff --git a/sed.changes b/sed.changes index 280901c..b85f018 100644 --- a/sed.changes +++ b/sed.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Jan 19 09:27:45 UTC 2020 - Andreas Stieger + +- GNU sed 4.8: + * "sed -i" now creates temporary files with correct umask + (limited to u=rwx), to avoid prolems with fuse-like file systems + * improved DFA performance through gnulib update +- drop disable-null-ptr-argument.patch, upstream + ------------------------------------------------------------------- Wed Nov 20 09:09:47 UTC 2019 - Martin Liška diff --git a/sed.spec b/sed.spec index 506aac0..87dfdce 100644 --- a/sed.spec +++ b/sed.spec @@ -1,7 +1,7 @@ # # spec file for package sed # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: sed -Version: 4.7 +Version: 4.8 Release: 0 Summary: A Stream-Oriented Non-Interactive Text Editor License: GPL-3.0-or-later @@ -28,7 +28,6 @@ Source1: https://ftp.gnu.org/gnu/sed/%{name}-%{version}.tar.xz.sig Source2: %{name}.keyring # PATCH-FIX-SLE sed-dont_close_twice.patch bnc@880817 tcech@suse.cz -- Fix double close. Patch0: sed-dont_close_twice.patch -Patch1: disable-null-ptr-argument.patch BuildRequires: libacl-devel BuildRequires: libselinux-devel Requires(post): %{install_info_prereq} @@ -46,7 +45,6 @@ occurrences of a string within a file. %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security @@ -56,7 +54,7 @@ export LDFLAGS="-pie" --without-included-regex %if 0%{?do_profiling} make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_generate}" V=1 - make CFLAGS="$CFLAGS %{cflags_profile_generate}" check + make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_generate}" check make %{?_smp_mflags} clean make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_feedback}" V=1 %else