Hello community,

here is the log from the commit of package glm for openSUSE:Factory checked in 
at 2019-03-27 16:13:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glm (Old)
 and      /work/SRC/openSUSE:Factory/.glm.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glm"

Wed Mar 27 16:13:56 2019 rev:9 rq:688281 version:0.9.9.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/glm/glm.changes  2016-07-01 09:55:42.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.glm.new.25356/glm.changes       2019-03-27 
16:14:00.947627574 +0100
@@ -1,0 +2,16 @@
+Mon Mar 25 13:59:02 UTC 2019 - Martin Hauke <[email protected]>
+
+- Upstream does not package a dedicated LICENSE file.
+  Make a note the license terms are included in manual.md
+- Use %fdupes macro also for docs/api/
+
+-------------------------------------------------------------------
+Tue Mar 19 19:52:46 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 0.9.9.4
+  See https://github.com/g-truc/glm/releases for the changelog
+- Update patch:
+  * glm-cmake-config.patch
+- Run spec-cleaner
+
+-------------------------------------------------------------------

Old:
----
  glm-0.9.7.5.zip

New:
----
  glm-0.9.9.4.tar.gz

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

Other differences:
------------------
++++++ glm.spec ++++++
--- /var/tmp/diff_new_pack.ycRJ6Y/_old  2019-03-27 16:14:02.055627292 +0100
+++ /var/tmp/diff_new_pack.ycRJ6Y/_new  2019-03-27 16:14:02.063627289 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package glm
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,25 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           glm
-Version:        0.9.7.5
+Version:        0.9.9.4
 Release:        0
 Summary:        Header only C++ mathematics library for graphics
 License:        MIT
 Group:          Development/Libraries/C and C++
-Url:            http://glm.g-truc.net/
-Source0:        
https://github.com/g-truc/glm/releases/download/%{version}/%{name}-%{version}.zip
+URL:            https://glm.g-truc.net/
+#Git-Clone:     https://github.com/g-truc/glm.git
+Source:         
https://github.com/g-truc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE glm-cmake-config.patch -- Fix cmake config location
 Patch1:         glm-cmake-config.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  unzip
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
 
 %description
 OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics
@@ -62,12 +62,8 @@
 This package provides the documentation for GLM library.
 
 %prep
-%setup -q -n %{name}
-# Fix wrong-file-end-of-line-encoding
-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
+%setup -q
+%patch1 -p1
 %ifarch %{ix86}
 sed -i '/glmCreateTestGTC(core_func_exponential)/d' test/core/CMakeLists.txt
 # https://github.com/g-truc/glm/issues/212
@@ -80,31 +76,30 @@
 sed -i '/glmCreateTestGTC(gtx_common)/d' test/gtx/CMakeLists.txt
 %endif
 %endif
-%patch1
 
 %build
 %cmake \
   -DCMAKE_CXX_FLAGS="%{optflags} -fPIC -fno-strict-aliasing" \
   -DGLM_TEST_ENABLE=ON
-make %{?_smp_mflags}
+%make_jobs
 
 %install
 %cmake_install
 %fdupes -s %{buildroot}
+%fdupes -s doc/api
 
 %check
 %ctest
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/glm/
 %{_libdir}/cmake/%{name}/
-%doc copying.txt
+%{_libdir}/pkgconfig/%{name}.pc
 
 %files doc
-%defattr(-,root,root,-)
+# See https://github.com/g-truc/glm/blob/master/manual.md#-licenses for 
license details
+%license readme.md
 %doc doc/api
-%doc doc/glm.pdf
-%doc readme.md
+%doc manual.md readme.md
 
 %changelog

++++++ glm-cmake-config.patch ++++++
--- /var/tmp/diff_new_pack.ycRJ6Y/_old  2019-03-27 16:14:02.079627285 +0100
+++ /var/tmp/diff_new_pack.ycRJ6Y/_new  2019-03-27 16:14:02.079627285 +0100
@@ -1,23 +1,20 @@
-Index: CMakeLists.txt
-===================================================================
---- CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -168,15 +168,15 @@ configure_file(
- # install tree package config
- configure_package_config_file(
-     cmake/glmConfig.cmake.in
--    ${GLM_INSTALL_CONFIGDIR}/glmConfig.cmake
--    INSTALL_DESTINATION ${GLM_INSTALL_CONFIGDIR}
-+    ${CMAKE_CURRENT_BINARY_DIR}/glmConfig.cmake
-+    INSTALL_DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
-     PATH_VARS CMAKE_INSTALL_INCLUDEDIR
-     NO_CHECK_REQUIRED_COMPONENTS_MACRO
- )
- 
- install(
-     FILES 
--        "${CMAKE_CURRENT_BINARY_DIR}/${GLM_INSTALL_CONFIGDIR}/glmConfig.cmake"
-+        "${CMAKE_CURRENT_BINARY_DIR}/glmConfig.cmake"
-         "${CMAKE_CURRENT_BINARY_DIR}/glmVersion.cmake"
-     DESTINATION ${GLM_INSTALL_CONFIGDIR}
- )
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 10bb1af..7514d3a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -253,13 +253,12 @@ configure_file(cmake/glmBuildConfig.cmake.in 
glmConfig.cmake @ONLY)
+ # install tree package config
+ configure_package_config_file(
+       cmake/glmConfig.cmake.in
+-      ${GLM_INSTALL_CONFIGDIR}/glmConfig.cmake
+-      INSTALL_DESTINATION ${GLM_INSTALL_CONFIGDIR}
++      CMAKE_CURRENT_BINARY_DIR}/glmConfig.cmake
++      INSTALL_DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
+       PATH_VARS CMAKE_INSTALL_INCLUDEDIR
+       NO_CHECK_REQUIRED_COMPONENTS_MACRO)
+ 
+ install(FILES
+-      "${CMAKE_CURRENT_BINARY_DIR}/${GLM_INSTALL_CONFIGDIR}/glmConfig.cmake"
+       "${CMAKE_CURRENT_BINARY_DIR}/glmConfigVersion.cmake"
+       DESTINATION ${GLM_INSTALL_CONFIGDIR})
+ 


Reply via email to