From 1c4335a6e00e2020baaa1af4d4c032fcc31e87d7 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 14 Dec 2022 17:47:54 +0000 Subject: [PATCH] Use xargs --no-run-if-empty to avoid error Recent Boost releases seem to have no executable headers, so the find command returns no results. --- boost.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boost.spec b/boost.spec index d545fe8..e4287d8 100644 --- a/boost.spec +++ b/boost.spec @@ -673,7 +673,7 @@ a number of significant features and is now developed independently. %prep %setup -q -n %{toplev_dirname} -find ./boost -name '*.hpp' -perm /111 | xargs chmod a-x +find ./boost -name '*.hpp' -perm /111 | xargs --no-run-if-empty chmod a-x %patch15 -p0 %patch51 -p1