From ec6bf601339dfb2ee7e39708122132dc0d5ffa05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Tue, 11 Apr 2023 13:52:17 +0200 Subject: [PATCH 01/10] migrate to SPDX license format --- sed.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sed.spec b/sed.spec index 18b58a0..162d6ff 100644 --- a/sed.spec +++ b/sed.spec @@ -3,8 +3,8 @@ Summary: A GNU stream text editor Name: sed Version: 4.8 -Release: 12%{?dist} -License: GPLv3+ +Release: 13%{?dist} +License: GPL-3.0-or-later URL: http://sed.sourceforge.net/ Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz Source1: http://sed.sourceforge.net/sedfaq.txt @@ -65,6 +65,9 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %{_mandir}/man1/sed.1* %changelog +* Tue Apr 11 2023 Lukáš Zaoral - 4.8-13 +- migrate to SPDX license format + * Sat Jan 21 2023 Fedora Release Engineering - 4.8-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From c3618785365bd535fadabc66601eeda7e5e50f9f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 01:22:30 +0000 Subject: [PATCH 02/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sed.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sed.spec b/sed.spec index 162d6ff..1e5c7b5 100644 --- a/sed.spec +++ b/sed.spec @@ -3,7 +3,7 @@ Summary: A GNU stream text editor Name: sed Version: 4.8 -Release: 13%{?dist} +Release: 14%{?dist} License: GPL-3.0-or-later URL: http://sed.sourceforge.net/ Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz @@ -65,6 +65,9 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %{_mandir}/man1/sed.1* %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 4.8-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Apr 11 2023 Lukáš Zaoral - 4.8-13 - migrate to SPDX license format From a211e53e688b173fc87f01ed0f813899a66dcf4e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 02:31:46 +0000 Subject: [PATCH 03/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- sed.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sed.spec b/sed.spec index 1e5c7b5..e619023 100644 --- a/sed.spec +++ b/sed.spec @@ -3,7 +3,7 @@ Summary: A GNU stream text editor Name: sed Version: 4.8 -Release: 14%{?dist} +Release: 15%{?dist} License: GPL-3.0-or-later URL: http://sed.sourceforge.net/ Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz @@ -65,6 +65,9 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %{_mandir}/man1/sed.1* %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 4.8-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 4.8-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From d25bb1b25271bb89acbae9eb6c3486071d0b17ca Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 30 Jan 2024 10:45:06 +0100 Subject: [PATCH 04/10] Rebase to 4.9 Update downstream patches --- .gitignore | 1 + sed-b-flag.patch | 15 ++--- sed-c-flag.patch | 101 ++++++++++++++-------------------- sed-covscan-annotations.patch | 48 ++++++---------- sed.spec | 15 ++--- sources | 2 +- 6 files changed, 75 insertions(+), 107 deletions(-) diff --git a/.gitignore b/.gitignore index bb24a27..c54486c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ sed-4.2.1.tar.bz2 /sed-4.4.tar.xz /sed-4.5.tar.xz /sed-4.8.tar.xz +/sed-4.9.tar.xz diff --git a/sed-b-flag.patch b/sed-b-flag.patch index 809ad9e..f4e6a03 100644 --- a/sed-b-flag.patch +++ b/sed-b-flag.patch @@ -1,17 +1,18 @@ -From 613057152c4f6caba22a15ed2ff0aeb9c4ce6a83 Mon Sep 17 00:00:00 2001 -From: Jakub Martisko -Date: Wed, 5 Feb 2020 15:50:15 +0100 -Subject: [PATCH] enable the -b option on all platforms +From f40556883a40ed7aaa4f44c9c9c95215c95eab9f Mon Sep 17 00:00:00 2001 +From: Paolo Bonzini +Date: Tue, 30 Jan 2024 10:31:57 +0100 +Subject: [PATCH 1/3] enable the -b option on all platforms +Content-Type: text/plain; charset=UTF-8 --- sed/sed.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sed/sed.c b/sed/sed.c -index f75e4b6..1ca5839 100644 +index af83065..bdf590b 100644 --- a/sed/sed.c +++ b/sed/sed.c -@@ -174,7 +174,12 @@ Usage: %s [OPTION]... {script-only-if-no-other-script} [input-file]...\n\ +@@ -153,7 +153,12 @@ Usage: %s [OPTION]... {script-only-if-no-other-script} [input-file]...\n\ fprintf (out, _(" -b, --binary\n\ open files in binary mode (CR+LFs are not" \ " processed specially)\n")); @@ -25,5 +26,5 @@ index f75e4b6..1ca5839 100644 specify the desired line-wrap length for the `l' command\n")); fprintf (out, _(" --posix\n\ -- -2.24.1 +2.43.0 diff --git a/sed-c-flag.patch b/sed-c-flag.patch index 114d5c7..590ccd0 100644 --- a/sed-c-flag.patch +++ b/sed-c-flag.patch @@ -1,50 +1,43 @@ -From f336bde91e3fd9c3c2960aa548b8917eb1216678 Mon Sep 17 00:00:00 2001 -From: Jakub Martisko -Date: Thu, 6 Feb 2020 15:26:33 +0100 -Subject: [PATCH] -c flag +From 100738652ca35e39f21742b8c54c1181efb38a0f Mon Sep 17 00:00:00 2001 +From: Paolo Bonzini +Date: Tue, 30 Jan 2024 10:38:50 +0100 +Subject: [PATCH 2/3] -c flag +Content-Type: text/plain; charset=UTF-8 --- - sed/execute.c | 18 +++++++++-- + sed/execute.c | 10 ++++-- sed/sed.c | 20 +++++++++++- sed/sed.h | 4 +++ sed/utils.c | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++ sed/utils.h | 2 ++ - 5 files changed, 127 insertions(+), 3 deletions(-) + 5 files changed, 119 insertions(+), 3 deletions(-) diff --git a/sed/execute.c b/sed/execute.c -index c5f07cc..4e5f5b3 100644 +index 485bca7..8d0cde7 100644 --- a/sed/execute.c +++ b/sed/execute.c -@@ -670,11 +670,25 @@ closedown (struct input *input) +@@ -673,11 +673,17 @@ closedown (struct input *input) if (strcmp (in_place_extension, "*") != 0) { char *backup_file_name = get_backup_file_name (target_name); -- ck_rename (target_name, backup_file_name, input->out_file_name); +- ck_rename (target_name, backup_file_name); + if (copy_instead_of_rename) -+ { -+ ck_fccopy (target_name, backup_file_name, input->out_file_name); -+ } ++ ck_fccopy (target_name, backup_file_name); + else -+ { -+ ck_rename (target_name, backup_file_name, input->out_file_name); -+ } ++ ck_rename (target_name, backup_file_name); free (backup_file_name); } -- ck_rename (input->out_file_name, target_name, input->out_file_name); +- ck_rename (input->out_file_name, target_name); + if (copy_instead_of_rename) -+ { -+ ck_fcmove (input->out_file_name, target_name, input->out_file_name); -+ } ++ ck_fcmove (input->out_file_name, target_name); + else -+ { -+ ck_rename (input->out_file_name, target_name, input->out_file_name); -+ } ++ ck_rename (input->out_file_name, target_name); cancel_cleanup (); free (input->out_file_name); } diff --git a/sed/sed.c b/sed/sed.c -index 1ca5839..745159e 100644 +index bdf590b..cebef70 100644 --- a/sed/sed.c +++ b/sed/sed.c @@ -67,6 +67,10 @@ bool debug = false; @@ -58,7 +51,7 @@ index 1ca5839..745159e 100644 /* The mode to use to read/write files, either "r"/"w" or "rb"/"wb". */ char const *read_mode = "r"; char const *write_mode = "w"; -@@ -170,6 +174,10 @@ Usage: %s [OPTION]... {script-only-if-no-other-script} [input-file]...\n\ +@@ -149,6 +153,10 @@ Usage: %s [OPTION]... {script-only-if-no-other-script} [input-file]...\n\ #endif fprintf (out, _(" -i[SUFFIX], --in-place[=SUFFIX]\n\ edit files in place (makes backup if SUFFIX supplied)\n")); @@ -69,7 +62,7 @@ index 1ca5839..745159e 100644 #if O_BINARY fprintf (out, _(" -b, --binary\n\ open files in binary mode (CR+LFs are not" \ -@@ -214,7 +222,7 @@ specified, then the standard input is read.\n\ +@@ -193,7 +201,7 @@ specified, then the standard input is read.\n\ int main (int argc, char **argv) { @@ -78,7 +71,7 @@ index 1ca5839..745159e 100644 enum { SANDBOX_OPTION = CHAR_MAX+1, DEBUG_OPTION -@@ -228,6 +236,7 @@ main (int argc, char **argv) +@@ -207,6 +215,7 @@ main (int argc, char **argv) {"file", 1, NULL, 'f'}, {"in-place", 2, NULL, 'i'}, {"line-length", 1, NULL, 'l'}, @@ -86,7 +79,7 @@ index 1ca5839..745159e 100644 {"null-data", 0, NULL, 'z'}, {"zero-terminated", 0, NULL, 'z'}, {"quiet", 0, NULL, 'n'}, -@@ -306,6 +315,10 @@ main (int argc, char **argv) +@@ -285,6 +294,10 @@ main (int argc, char **argv) follow_symlinks = true; break; @@ -97,7 +90,7 @@ index 1ca5839..745159e 100644 case 'i': separate_files = true; IF_LINT (free (in_place_extension)); -@@ -376,6 +389,11 @@ main (int argc, char **argv) +@@ -355,6 +368,11 @@ main (int argc, char **argv) } } @@ -110,10 +103,10 @@ index 1ca5839..745159e 100644 { if (optind < argc) diff --git a/sed/sed.h b/sed/sed.h -index 1c8e83a..0859e72 100644 +index 1c96bc5..2de60ae 100644 --- a/sed/sed.h +++ b/sed/sed.h -@@ -236,6 +236,10 @@ extern countT lcmd_out_line_len; +@@ -241,6 +241,10 @@ extern countT lcmd_out_line_len; /* How do we edit files in-place? (we don't if NULL) */ extern char *in_place_extension; @@ -125,7 +118,7 @@ index 1c8e83a..0859e72 100644 extern char const *read_mode; extern char const *write_mode; diff --git a/sed/utils.c b/sed/utils.c -index 9576dd1..371d5a9 100644 +index 4bd6587..05f7a44 100644 --- a/sed/utils.c +++ b/sed/utils.c @@ -25,6 +25,7 @@ @@ -135,8 +128,8 @@ index 9576dd1..371d5a9 100644 +#include #include "binary-io.h" - #include "unlocked-io.h" -@@ -400,7 +401,92 @@ ck_rename (const char *from, const char *to, const char *unlink_if_fail) + #include "eloop-threshold.h" +@@ -408,7 +409,78 @@ ck_rename (const char *from, const char *to) panic (_("cannot rename %s: %s"), from, strerror (errno)); } @@ -150,20 +143,6 @@ index 9576dd1..371d5a9 100644 + panic (_("cannot remove %s: %s"), name, strerror (errno)); +} + -+/* Attempt to unlink denoted file if operation rd failed. */ -+static int -+_unlink_if_fail (int rd,const char * unlink_if_fail) -+{ -+ if (rd == -1 && unlink_if_fail) -+ { -+ int save_errno = errno; -+ ck_unlink (unlink_if_fail); -+ errno = save_errno; -+ } -+ -+ return rd != -1; -+} -+ +/* Copy contents between files. */ +static int +_copy (from, to) @@ -172,7 +151,7 @@ index 9576dd1..371d5a9 100644 + static char buf[4096]; + + FILE *infile, *outfile; -+ int c, retval = 0; ++ int retval = 0; + errno = 0; + + infile = fopen (from, "r"); @@ -213,35 +192,35 @@ index 9576dd1..371d5a9 100644 + +/* Attempt to copy file contents between the files. */ +void -+ck_fccopy (const char *from,const char *to, const char *unlink_if_fail) ++ck_fccopy (const char *from, const char *to) +{ -+ if (!_unlink_if_fail (_copy (from, to), unlink_if_fail)) -+ panic (_("cannot copy %s to %s: %s"), from, to, strerror (errno)); -+ } ++ if (_copy (from, to) == -1) ++ panic (_("cannot copy %s to %s: %s"), from, to, strerror (errno)); ++} + +/* Copy contents between files, and then unlink the source. */ +void -+ck_fcmove (const char *from, const char *to,const char *unlink_if_fail) ++ck_fcmove (const char *from, const char *to) +{ -+ ck_fccopy (from, to, unlink_if_fail); -+ ck_unlink (from); ++ ck_fccopy (from, to); ++ ck_unlink (from); +} /* Implement a variable sized buffer of `stuff'. We don't know what it is, diff --git a/sed/utils.h b/sed/utils.h -index 47a029e..0aba107 100644 +index cac8a05..93bbcf2 100644 --- a/sed/utils.h +++ b/sed/utils.h -@@ -40,6 +40,8 @@ size_t ck_getdelim (char **text, size_t *buflen, char buffer_delimiter, +@@ -41,6 +41,8 @@ size_t ck_getdelim (char **text, size_t *buflen, char buffer_delimiter, FILE * ck_mkstemp (char **p_filename, const char *tmpdir, const char *base, const char *mode) _GL_ARG_NONNULL ((1, 2, 3, 4)); - void ck_rename (const char *from, const char *to, const char *unlink_if_fail); -+void ck_fccopy (const char *from, const char *to, const char *unlink_if_fail); -+void ck_fcmove (const char *from, const char *to, const char *unlink_if_fail); + void ck_rename (const char *from, const char *to); ++void ck_fccopy (const char *from, const char *to); ++void ck_fcmove (const char *from, const char *to); void *ck_malloc (size_t size); void *ck_realloc (void *ptr, size_t size); -- -2.24.1 +2.43.0 diff --git a/sed-covscan-annotations.patch b/sed-covscan-annotations.patch index 0679ed4..a36eada 100644 --- a/sed-covscan-annotations.patch +++ b/sed-covscan-annotations.patch @@ -1,33 +1,31 @@ -From 87f411a001394948183aaf389c711f3837c361b5 Mon Sep 17 00:00:00 2001 -From: Jakub Martisko -Date: Mon, 15 Nov 2021 16:06:54 +0100 -Subject: [PATCH] covscan annotations +From 7dbe9c0c2b3f2cac602ce352cad11dab4defe896 Mon Sep 17 00:00:00 2001 +From: Paolo Bonzini +Date: Tue, 30 Jan 2024 10:41:40 +0100 +Subject: [PATCH 3/3] covscan annotations +Content-Type: text/plain; charset=UTF-8 --- - lib/malloca.c | 3 ++- + lib/malloca.c | 1 + sed/compile.c | 2 ++ - sed/utils.c | 1 + - 3 files changed, 5 insertions(+), 1 deletion(-) + 2 files changed, 3 insertions(+) diff --git a/lib/malloca.c b/lib/malloca.c -index 975b166..36e2342 100644 +index 1e19978..11783b4 100644 --- a/lib/malloca.c +++ b/lib/malloca.c -@@ -64,7 +64,8 @@ mmalloca (size_t n) +@@ -71,6 +71,7 @@ mmalloca (size_t n) [mem, mem + nplus). */ - ((small_t *) p)[-1] = p - mem; + p[-1] = offset; /* p ≡ sa_alignment_max mod 2*sa_alignment_max. */ -- return p; -+ /* cppcheck-suppress memleak */ -+ return p; ++ /* cppcheck-suppress memleak */ + return p; } } - /* Out of memory. */ diff --git a/sed/compile.c b/sed/compile.c -index 8321d68..df42794 100644 +index f96fbca..52759a5 100644 --- a/sed/compile.c +++ b/sed/compile.c -@@ -829,6 +829,7 @@ setup_replacement (struct subst *sub, const char *text, size_t length) +@@ -830,6 +830,7 @@ setup_replacement (struct subst *sub, const char *text, size_t length) tail->next = NULL; sub->replacement = root.next; @@ -35,26 +33,14 @@ index 8321d68..df42794 100644 } static void -@@ -1312,6 +1313,7 @@ compile_program (struct vector *vector) +@@ -1328,6 +1329,7 @@ compile_program (struct vector *vector) bad_prog (_(Y_CMD_LEN)); IF_LINT (free (src_lens)); -+ /* coverity [leaked_storage] */ ++ /* coverity [leaked_storage] */ } else { -diff --git a/sed/utils.c b/sed/utils.c -index 371d5a9..0d68f60 100644 ---- a/sed/utils.c -+++ b/sed/utils.c -@@ -294,6 +294,7 @@ do_ck_fclose (FILE *fp) - clearerr (fp); - - if (fclose (fp) == EOF) -+ /* coverity[pass_freed_arg] */ - panic ("couldn't close %s: %s", utils_fp_name (fp), strerror (errno)); - } - -- -2.33.0 +2.43.0 diff --git a/sed.spec b/sed.spec index e619023..26b7b26 100644 --- a/sed.spec +++ b/sed.spec @@ -2,8 +2,8 @@ Summary: A GNU stream text editor Name: sed -Version: 4.8 -Release: 15%{?dist} +Version: 4.9 +Release: 1%{?dist} License: GPL-3.0-or-later URL: http://sed.sourceforge.net/ Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz @@ -29,11 +29,7 @@ that sed performs (substitutions, deletions, insertions, etc.) can be specified in a script file or from the command line. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 - +%autosetup -p1 sed -e 's/1729576/EPERM/' \ -i gnulib-tests/test-{strerror_r,perror2}.c @@ -65,6 +61,11 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %{_mandir}/man1/sed.1* %changelog +* Tue Jan 30 2024 Paolo Bonzini - 4.9-1 +- Rebase to 4.9 +- Update downstream patches +- Resolves: rhbz#2140486 + * Sat Jan 27 2024 Fedora Release Engineering - 4.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 63247e0..efafbe0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sed-4.8.tar.xz) = 7de25d9bc2981c63321c2223f3fbcab61d7b0df4fcf7d4394b72400b91993e1288d8bf53948ed5fffcf5a98c75265726a68ad4fb98e1d571bf768603a108c1c8 +SHA512 (sed-4.9.tar.xz) = 36157a4b4a2430cf421b7bd07f1675d680d9f1616be96cf6ad6ee74a9ec0fe695f8d0b1e1f0b008bbb33cc7fcde5e1c456359bbbc63f8aebdd4fedc3982cf6dc From 1b82c7e44fce4d0bb12cd36bca035b1f87776841 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 30 Jan 2024 11:08:03 +0100 Subject: [PATCH 05/10] Install valgrind and langpacks to increase test coverage --- sed.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sed.spec b/sed.spec index 26b7b26..740aee6 100644 --- a/sed.spec +++ b/sed.spec @@ -16,6 +16,12 @@ BuildRequires: glibc-devel, libselinux-devel, libacl-devel, automake, autoconf, BuildRequires: perl-Getopt-Long BuildRequires: perl(FileHandle) +# for tests. More tests require a ja_JP locale, but glibc-langpack-ja gives: +# invalid-mb-seq-UMR.sh: skipped test: locale 'ja_JP' is buggy +# mb-charclass-non-utf8.sh: skipped test: ja_JP shift-jis locale not found +BuildRequires: glibc-langpack-el, glibc-langpack-en +BuildRequires: glibc-langpack-ru, valgrind + Provides: /bin/sed #copylib @@ -31,9 +37,6 @@ specified in a script file or from the command line. %prep %autosetup -p1 -sed -e 's/1729576/EPERM/' \ - -i gnulib-tests/test-{strerror_r,perror2}.c - %build %configure --without-included-regex %make_build @@ -65,6 +68,8 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir - Rebase to 4.9 - Update downstream patches - Resolves: rhbz#2140486 +- Remove change to gnulib tests, they pass anyway +- Install valgrind and langpacks to increase test coverage * Sat Jan 27 2024 Fedora Release Engineering - 4.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From f0eb9d96e82a6b03f50b589779eef96cbbe55306 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Tue, 23 Apr 2024 15:21:27 +0800 Subject: [PATCH 06/10] Properly check valgrind arches --- sed.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sed.spec b/sed.spec index 740aee6..3beccde 100644 --- a/sed.spec +++ b/sed.spec @@ -3,7 +3,7 @@ Summary: A GNU stream text editor Name: sed Version: 4.9 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later URL: http://sed.sourceforge.net/ Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz @@ -20,7 +20,11 @@ BuildRequires: perl(FileHandle) # invalid-mb-seq-UMR.sh: skipped test: locale 'ja_JP' is buggy # mb-charclass-non-utf8.sh: skipped test: ja_JP shift-jis locale not found BuildRequires: glibc-langpack-el, glibc-langpack-en -BuildRequires: glibc-langpack-ru, valgrind +BuildRequires: glibc-langpack-ru + +%ifarch %{valgrind_arches} +BuildRequires: valgrind +%endif Provides: /bin/sed @@ -64,6 +68,9 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %{_mandir}/man1/sed.1* %changelog +* Mon Apr 22 2024 David Abdurachmanov - 4.9-2 +- Properly check valgrind arches (riscv64 is not ported) + * Tue Jan 30 2024 Paolo Bonzini - 4.9-1 - Rebase to 4.9 - Update downstream patches From 8eb562c46858fd1ede606ffab4e97847e4d01a5b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 05:12:57 +0000 Subject: [PATCH 07/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- sed.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sed.spec b/sed.spec index 3beccde..cb11451 100644 --- a/sed.spec +++ b/sed.spec @@ -3,7 +3,7 @@ Summary: A GNU stream text editor Name: sed Version: 4.9 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-3.0-or-later URL: http://sed.sourceforge.net/ Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz @@ -68,6 +68,9 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %{_mandir}/man1/sed.1* %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 4.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Mon Apr 22 2024 David Abdurachmanov - 4.9-2 - Properly check valgrind arches (riscv64 is not ported) From 7ab625db1149e3a966089684f9cd6ff6155e4b56 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 10:22:45 +0000 Subject: [PATCH 08/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- sed.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sed.spec b/sed.spec index cb11451..a49faf2 100644 --- a/sed.spec +++ b/sed.spec @@ -3,7 +3,7 @@ Summary: A GNU stream text editor Name: sed Version: 4.9 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-3.0-or-later URL: http://sed.sourceforge.net/ Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz @@ -68,6 +68,9 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %{_mandir}/man1/sed.1* %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 4.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 4.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 69e852671843dd3688b694fe903debda7878d4fc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 18:07:41 +0000 Subject: [PATCH 09/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- sed.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sed.spec b/sed.spec index a49faf2..33c363e 100644 --- a/sed.spec +++ b/sed.spec @@ -3,7 +3,7 @@ Summary: A GNU stream text editor Name: sed Version: 4.9 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL-3.0-or-later URL: http://sed.sourceforge.net/ Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz @@ -68,6 +68,9 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %{_mandir}/man1/sed.1* %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 4.9-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 4.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 4b1f76b01c2501d0fee4d6fe2c9dd6eea6918d18 Mon Sep 17 00:00:00 2001 From: Jakub Martisko Date: Fri, 24 Oct 2025 11:22:58 +0200 Subject: [PATCH 10/10] The man page should not mention whether SELinux is enabled/disabled Resolves: rhbz#2396649 --- sed.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sed.spec b/sed.spec index 33c363e..ad29b17 100644 --- a/sed.spec +++ b/sed.spec @@ -3,7 +3,7 @@ Summary: A GNU stream text editor Name: sed Version: 4.9 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL-3.0-or-later URL: http://sed.sourceforge.net/ Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz @@ -44,6 +44,11 @@ specified in a script file or from the command line. %build %configure --without-included-regex %make_build + +#rhbz#2396649 +sed -i s/"SELinux is enabled on this system."// ./doc/sed.1 +sed -i s/"SELinux is disabled on this system."// ./doc/sed.1 + install -m 644 -p %{SOURCE1} sedfaq.txt gzip -9 sedfaq.txt @@ -68,6 +73,11 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %{_mandir}/man1/sed.1* %changelog +* Fri Oct 24 2025 Jakub Martisko - 4.9-6 +- The manpage should no longer mention whether the SELinux is enabled/disabled on the system +- It was based on the build system anyway +- Resolves: rhbz#2396649 + * Fri Jul 25 2025 Fedora Release Engineering - 4.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild