rm thirdparty in spec skips all dirs fix: -rm -rf `ls -1 thirdparty | grep -Ev "(khronos|md5|libbacktrace)"` +rm -rf `ls -1d thirdparty/* | grep -Ev "(khronos|md5|libbacktrace)"`
Uhm where do you observe that it does not correctly delete the folders? The latest build log [1] shows that it is working as expected: ++ ls -1 thirdparty ++ grep -Ev '(khronos|md5|libbacktrace)' + rm -rf devcon directxtex dxerr getopt gradlew gtest libpng mingw snappy zlib [1] https://kojipkgs.fedoraproject.org//packages/apitrace/7.1/7.fc27/data/logs/x86_64/build.log
(In reply to Sandro Mani from comment #1) > Uhm where do you observe that it does not correctly delete the folders? The > latest build log [1] shows that it is working as expected: Just add -v key rm and see an empty output. > ++ ls -1 thirdparty > ++ grep -Ev '(khronos|md5|libbacktrace)' > + rm -rf devcon directxtex dxerr getopt gradlew gtest libpng mingw snappy > zlib rm tried removes these dirs in current directory, not in thirdparty directory. > [1] > https://kojipkgs.fedoraproject.org//packages/apitrace/7.1/7.fc27/data/logs/ > x86_64/build.log
Aah got it, thanks!
Fixed in apitrace-7.1-8.fc28
apitrace-7.1-8.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4f82d60db8
apitrace-7.1-8.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.