No files need CRNL line ending fixes anymore

(We still ignore C# sources and related files.)
This commit is contained in:
Benjamin A. Beasley 2021-08-20 12:31:31 -04:00
parent 791e0d22f9
commit 8680b21905

View File

@ -229,8 +229,6 @@ BuildRequires: ca-certificates
# For converting absolute symlinks in the buildroot to relative ones
BuildRequires: symlinks
BuildRequires: dos2unix
# Apply Fedora system crypto policies. Since this is Fedora-specific, the patch
# is not suitable for upstream.
# https://docs.fedoraproject.org/en-US/packaging-guidelines/CryptoPolicies/#_cc_applications
@ -677,13 +675,6 @@ find . -type f -perm /0111 -exec gawk \
'{}' '+' |
xargs -r sed -r -i '1{s|^(#!/usr/bin/)env[[:blank:]]+([^[:blank:]]+)|\1\2|}' \
echo '===== Fixing line endings =====' 2>&1
# Fix some CRNL line endings:
dos2unix \
examples/cpp/helloworld/CMakeLists.txt \
examples/cpp/helloworld/cmake_externalproject/CMakeLists.txt
# We leave those under examples/csharp alone.
echo '===== Fixing hard-coded C++ standard =====' 2>&1
# We need to adjust the C++ standard to avoid abseil-related linker errors. For
# the main C++ build, we can use CMAKE_CXX_STANDARD. For extensions, examples,