wipe leftovers

This commit is contained in:
alexander stefanov 2020-11-26 21:17:21 +00:00
parent 59b214f027
commit 6df43f5746

View file

@ -1048,6 +1048,11 @@ sed -i 's/CONFIG_DEBUG_WX=y/# CONFIG_DEBUG_WX is not set/' .config
touch %{build_dir}/.config.append
# get rid of unwanted files
find . -name '*~' -o -name '*.orig' -o -name '*.append' -delete
# wipe all .gitignore/.get_maintainer.ignore files
find . -name "*.g*ignore" -delete
# Enable debug info if requested.
sed -i '/CONFIG_DEBUG_INFO/d' .config
%if %build_debug