From 2c038f7e2d053478b2db0422760180084b104863 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Fri, 14 Dec 2018 11:35:52 +0000 Subject: [PATCH] Add CentOS fix: %define debug_package %{nil} The last commit disabled automatic addition of commands to the %install scriptlet. That in turn broke the build on a debugfiles.list missing from the %files section. Added %define debug_package %{nil} to the SPEC file to work around that. Signed-off-by: Jan Lindemann --- scripts/create-mkspec.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/create-mkspec.sh b/scripts/create-mkspec.sh index 4f1d0b4c..c13c0da2 100644 --- a/scripts/create-mkspec.sh +++ b/scripts/create-mkspec.sh @@ -59,6 +59,8 @@ url=`cfg_value global.url` [ "$url" ] || url="https://janware.com" _cat <<- EOT + |echo "%define debug_package %{nil}" + |# --------------------------------------- |echo "Name: \$NAME" |echo "Summary: `cfg_value summary`" |echo "Version: \$VERSION"