diff --git a/glm-0.9.7.4.zip b/glm-0.9.7.4.zip deleted file mode 100644 index d6a11af..0000000 --- a/glm-0.9.7.4.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d48a0d732776b0fbfd17f01c830a08b50f07a3226f0cab95fcca5591982a43f2 -size 4347932 diff --git a/glm-0.9.7.5.zip b/glm-0.9.7.5.zip new file mode 100644 index 0000000..dabc717 --- /dev/null +++ b/glm-0.9.7.5.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f39a908c6519e70ea1e91a8732e69aed84d28c46bc01cc3dedf71ca88b06716f +size 4347932 diff --git a/glm-cmake-config.patch b/glm-cmake-config.patch index 4835af9..83784ca 100644 --- a/glm-cmake-config.patch +++ b/glm-cmake-config.patch @@ -1,7 +1,7 @@ -Index: glm/CMakeLists.txt +Index: CMakeLists.txt =================================================================== ---- glm.orig/CMakeLists.txt -+++ glm/CMakeLists.txt +--- CMakeLists.txt.orig ++++ CMakeLists.txt @@ -168,15 +168,15 @@ configure_file( # install tree package config configure_package_config_file( diff --git a/glm.changes b/glm.changes index 82f20e1..be75561 100644 --- a/glm.changes +++ b/glm.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Jun 29 08:39:39 UTC 2016 - mpluskal@suse.com + +- Update to 0.9.7.5 + * Added Visual C++ Clang toolset detection + * Fixed uaddCarry warning #497 + * Fixed roundPowerOfTwo and floorPowerOfTwo #503 + * Fixed Visual C++ SIMD instruction set automatic detection in 64 + bits + * Fixed to_string when used with GLM_FORCE_INLINE #506 + * Fixed GLM_FORCE_INLINE with binary vec4 operators + ------------------------------------------------------------------- Mon Mar 21 19:13:24 UTC 2016 - dmitry_r@opensuse.org diff --git a/glm.spec b/glm.spec index bb7f2c2..1adf8b1 100644 --- a/glm.spec +++ b/glm.spec @@ -17,7 +17,7 @@ Name: glm -Version: 0.9.7.4 +Version: 0.9.7.5 Release: 0 Summary: Header only C++ mathematics library for graphics License: MIT @@ -68,7 +68,7 @@ sed -i 's/\r//' copying.txt sed -i 's/\r//' readme.md sed -i 's/\r//' doc/api/doxygen.css sed -i 's/\r//' doc/api/tabs.css -%ifarch %ix86 +%ifarch %{ix86} sed -i '/glmCreateTestGTC(core_func_exponential)/d' test/core/CMakeLists.txt # https://github.com/g-truc/glm/issues/212 sed -i '/glmCreateTestGTC(gtc_packing)/d' test/gtc/CMakeLists.txt @@ -80,12 +80,12 @@ sed -i '/glmCreateTestGTC(gtc_integer)/d' test/gtc/CMakeLists.txt sed -i '/glmCreateTestGTC(gtx_common)/d' test/gtx/CMakeLists.txt %endif %endif -%patch1 -p1 +%patch1 %build %cmake \ - -DCMAKE_CXX_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ - -DGLM_TEST_ENABLE=ON + -DCMAKE_CXX_FLAGS="%{optflags} -fPIC -fno-strict-aliasing" \ + -DGLM_TEST_ENABLE=ON make %{?_smp_mflags} %install