From 293b7d027d5b3bbb34c99f15f69d191a53ffa8810b01aacb26c2b261f8064998 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 12 Jan 2023 09:47:51 +0000 Subject: [PATCH] Accepting request 1057807 from home:dimstar:Factory - Replace usage of deprecated fgrep with grep -F. OBS-URL: https://build.opensuse.org/request/show/1057807 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=486 --- util-linux.changes | 5 +++++ util-linux.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/util-linux.changes b/util-linux.changes index 46beace..b8dcae6 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 11 07:58:00 UTC 2023 - Dominique Leuenberger + +- Replace usage of deprecated fgrep with grep -F. + ------------------------------------------------------------------- Mon Jan 9 16:13:18 UTC 2023 - Fabian Vogt diff --git a/util-linux.spec b/util-linux.spec index 0f4462e..546b083 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -442,7 +442,7 @@ bash ./util-linux-login_defs-check.sh # # WARNING: Never edit following line without doing all suggested in the echo below! UTIL_LINUX_KNOWN_SYSTEMD_DEPS='./login-utils/lslogins.c ./misc-utils/findmnt.c ./misc-utils/logger.c ./misc-utils/lsblk-properties.c ./misc-utils/uuidd.c ' -UTIL_LINUX_FOUND_SYSTEMD_DEPS=$(grep -rl 'HAVE_LIB\(SYSTEMD\|UDEV\)' . | fgrep '.c' | LC_ALL=C sort | tr '\n' ' ') +UTIL_LINUX_FOUND_SYSTEMD_DEPS=$(grep -rl 'HAVE_LIB\(SYSTEMD\|UDEV\)' . | grep -F '.c' | LC_ALL=C sort | tr '\n' ' ') if test "$UTIL_LINUX_KNOWN_SYSTEMD_DEPS" != "$UTIL_LINUX_FOUND_SYSTEMD_DEPS" ; then echo "List of utilities depending on systemd have changed. Please check the new util-linux-systemd file list, file removal and update of Conflicts for safe update!