https://bugzilla.redhat.com/show_bug.cgi?id=2175012 --- Comment #2 from Tom Stellard <tstellar@xxxxxxxxxx> --- > clang_major_ver=$(clang --version | grep version | cut -f3 -d" " | cut -f1 -d".") Use the %clang_major_version macro instead. This is defined in macros.clang which is part of clang-devel. > for test in ${failed_tests_add_include_argument[@]};do > sed -i "/===\/\//a\/\/ IWYU_ARGS: -I %{_libdir}/clang/${clang_major_ver}/include/" tests/cxx/$test > done > for test in ${failed_tests_additional_include_argument[@]};do > sed -i "s|-I .|-I . -I %{_libdir}/clang/${clang_major_ver}/include|g" tests/cxx/$test > done There is also a %clang_resource_dir amcro you can use here instead. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2175012 _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue