From ca0fd16660742067dec94e22b84437b0f642f6d05ef5b12a010e6bf6931aa35c Mon Sep 17 00:00:00 2001 From: Christof Hanke Date: Wed, 12 Sep 2018 12:46:35 +0000 Subject: [PATCH] Accepting request 635321 from home:jengelh:branches:filesystems - Quote "*.c", and avoid unnecessary pass through xargs. OBS-URL: https://build.opensuse.org/request/show/635321 OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=28 --- openafs.changes | 5 +++++ openafs.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/openafs.changes b/openafs.changes index 7087a6f..b9def9e 100644 --- a/openafs.changes +++ b/openafs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 12 12:37:15 UTC 2018 - Jan Engelhardt + +- Quote "*.c", and avoid unnecessary pass through xargs. + ------------------------------------------------------------------- Wed Sep 12 10:41:43 UTC 2018 - christof.hanke@mpcdf.mpg.de diff --git a/openafs.spec b/openafs.spec index 12bd8c4..2aba070 100644 --- a/openafs.spec +++ b/openafs.spec @@ -369,7 +369,7 @@ for flavor in %flavors_to_build; do rm -rf obj/$flavor cp -a libafs_tree obj/$flavor pushd obj/$flavor - find . -name *.c -print0 | xargs -0 sed -i '/MODULE_LICENSE(/a MODULE_INFO(retpoline, "Y");' + find . -name "*.c" -exec sed -i '/MODULE_LICENSE(/a MODULE_INFO(retpoline, "Y");' "{}" "+" ./configure --with-linux-kernel-build=/usr/src/linux-obj/%{_target_cpu}/$flavor --with-linux-kernel-headers=/usr/src/linux \ --disable-transarc-paths export EXTRA_CFLAGS='-DVERSION=\"%version\"'