Tweak CRLF line ending related details

f41
Joonas Sarajärvi 12 years ago
parent 60b09e2ac1
commit 27a95d6221

@ -2,12 +2,12 @@ diff -up glm-0.9.3.4/CMakeLists.txt.secondary glm-0.9.3.4/CMakeLists.txt
--- glm-0.9.3.4/CMakeLists.txt.secondary 2012-09-04 13:03:58.000000000 +0200
+++ glm-0.9.3.4/CMakeLists.txt 2012-09-04 13:04:14.000000000 +0200
@@ -53,9 +53,6 @@ elseif(NOT GLM_TEST_ENABLE_SIMD)
add_definitions(-DGLM_FORCE_PURE)
- if(CMAKE_COMPILER_IS_GNUCXX)
- add_definitions(-mfpmath=387)
- endif()
endif()
option(GLM_TEST_ENABLE_FAST_MATH "Enable fast math optimizations" OFF)
add_definitions(-DGLM_FORCE_PURE)
- if(CMAKE_COMPILER_IS_GNUCXX)
- add_definitions(-mfpmath=387)
- endif()
endif()
option(GLM_TEST_ENABLE_FAST_MATH "Enable fast math optimizations" OFF)

@ -63,12 +63,16 @@ a programming manual for the %{name}-devel package.
# A couple of files had CRLF line-ends in them.
# Check with rpmlint after updating the package that we are not
# forgetting to convert line endings in some files.
sed -i 's/\r//' copying.txt
sed -i 's/\r//' readme.txt
sed -i 's/\r//' doc/api/doxygen.css
sed -i 's/\r//' doc/api/dynsections.js
sed -i 's/\r//' doc/api/jquery.js
sed -i 's/\r//' doc/api/tabs.css
#
# This release of glm seems to have shipped with no CRLF file
# endings at all, so these are commented out.
# sed -i 's/\r//' copying.txt
# sed -i 's/\r//' readme.txt
# sed -i 's/\r//' doc/api/doxygen.css
# sed -i 's/\r//' doc/api/dynsections.js
# sed -i 's/\r//' doc/api/jquery.js
# sed -i 's/\r//' doc/api/tabs.css
# sed -i 's/\r//' CMakeLists.txt
%ifnarch %{ix86} x86_64
%patch0 -p1 -b .secondary

Loading…
Cancel
Save