SHA256
1
0
forked from pool/openafs

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
This commit is contained in:
Christof Hanke 2018-09-12 12:46:35 +00:00 committed by Git OBS Bridge
parent 50a70779f9
commit ca0fd16660
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 12 12:37:15 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Quote "*.c", and avoid unnecessary pass through xargs.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 12 10:41:43 UTC 2018 - christof.hanke@mpcdf.mpg.de Wed Sep 12 10:41:43 UTC 2018 - christof.hanke@mpcdf.mpg.de

View File

@ -369,7 +369,7 @@ for flavor in %flavors_to_build; do
rm -rf obj/$flavor rm -rf obj/$flavor
cp -a libafs_tree obj/$flavor cp -a libafs_tree obj/$flavor
pushd 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 \ ./configure --with-linux-kernel-build=/usr/src/linux-obj/%{_target_cpu}/$flavor --with-linux-kernel-headers=/usr/src/linux \
--disable-transarc-paths --disable-transarc-paths
export EXTRA_CFLAGS='-DVERSION=\"%version\"' export EXTRA_CFLAGS='-DVERSION=\"%version\"'