Hello community,

here is the log from the commit of package glm for openSUSE:Factory checked in 
at 2014-05-16 18:08:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glm (Old)
 and      /work/SRC/openSUSE:Factory/.glm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/glm/glm.changes  2013-08-06 06:55:51.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.glm.new/glm.changes     2014-05-16 
18:08:19.000000000 +0200
@@ -1,0 +2,19 @@
+Fri May 16 09:09:02 UTC 2014 - [email protected]
+
+- Version bump to 0.9.5.3
+- Add a patch to disable gtc_packing test that fails on some i586
+  systems:
+  * glm-0.9.5.3-no_gtc_packing_test.patch
+- Add %fdupes to reduce size
+
+-------------------------------------------------------------------
+Mon Mar 24 14:40:23 UTC 2014 - [email protected]
+
+- Version bump to 0.9.5.2:
+  * Various bug fixes
+  * MIT only license
+- Remove no longer needed patch:
+  * glm-nonx86.patch
+- Use cmake macros to build
+
+-------------------------------------------------------------------

Old:
----
  glm-0.9.4.4.zip
  glm-nonx86.patch

New:
----
  glm-0.9.5.3-no_gtc_packing_test.patch
  glm-0.9.5.3.zip

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glm.spec ++++++
--- /var/tmp/diff_new_pack.3jmblF/_old  2014-05-16 18:08:20.000000000 +0200
+++ /var/tmp/diff_new_pack.3jmblF/_new  2014-05-16 18:08:20.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package glm
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,21 @@
 
 
 Name:           glm
-Version:        0.9.4.4
+Version:        0.9.5.3
 Release:        0
 Summary:        Header only C++ mathematics library for graphics
-License:        MIT and GPL-2.0+
+License:        MIT
 Group:          Development/Libraries/C and C++
 Url:            http://glm.g-truc.net/
-Source0:        
http://downloads.sourceforge.net/ogl-math/%{name}-%{version}/%{name}-%{version}.zip
-Patch0:         glm-nonx86.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
+Source0:        
http://downloads.sourceforge.net/ogl-math/%{name}-%{version}.zip
+Patch0:         glm-0.9.5.3-no_gtc_packing_test.patch
 BuildRequires:  cmake
 BuildRequires:  dos2unix
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  unzip
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildArch:      noarch
 
 %description
 OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics
@@ -59,35 +60,25 @@
 %description    doc
 This package provides the documentation for GLM library.
 
-
 %prep
-%setup -q
+%setup -q -n %{name}
 # Fix wrong-file-end-of-line-encoding
 find ./ -type f -print0 |xargs -0 dos2unix -q 
-
-%ifnarch %{ix86} x86_64
 %patch0 -p1
-%endif
 
 %build
-mkdir build
-cd build
-cmake \
-      -DGLM_TEST_ENABLE=ON \
-      -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-      ..
-
+%cmake \
+      -DGLM_TEST_ENABLE=ON
 make %{?_smp_mflags}
 
 %install
-cd build
-make install DESTDIR="%buildroot"
-cd ..
+%cmake_install
 install -D -m 644 util/FindGLM.cmake 
%{buildroot}%{_datadir}/cmake/Modules/FindGLM.cmake
+%fdupes -s %{buildroot}
 
 %check
 cd build
-ctest %{_smp_mflags} --output-on-failure
+ctest %{?_smp_mflags} --output-on-failure
 
 %files devel
 %defattr(-,root,root,-)

++++++ glm-0.9.5.3-no_gtc_packing_test.patch ++++++
--- glm/test/gtc/CMakeLists.txt 2013-12-26 01:01:14.000000000 +0100
+++ glm/test/gtc/CMakeLists.txt 2014-05-16 11:19:51.156369208 +0200
@@ -5,7 +5,7 @@
 glmCreateTestGTC(gtc_matrix_inverse)
 glmCreateTestGTC(gtc_matrix_transform)
 glmCreateTestGTC(gtc_noise)
-glmCreateTestGTC(gtc_packing)
+#glmCreateTestGTC(gtc_packing)
 glmCreateTestGTC(gtc_quaternion)
 glmCreateTestGTC(gtc_random)
 glmCreateTestGTC(gtc_reciprocal)
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to