From 4328f34b399bff47722522a82079f381a2b0299751bf965474c0da7b31fb6f63 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 27 Aug 2021 11:50:18 +0000 Subject: [PATCH] Accepting request 913734 from home:mnhauke - Update to version 2.0.0rc8+git.20210821: * Add new object oriented API. 1.x API is still provided. * Support line primitive. * Support points primitive. * Support multiple search path for .mtl(v1 API). * Support vertex weight `vw`(as an tinyobj extension) * Support escaped whitespece in mtllib * Add robust triangulation using Mapbox earcut(TINYOBJLOADER_USE_MAPBOX_EARCUT). * Fix CVE-2020-28589: tinyobjloader: An improper array index validation could lead to code execution. OBS-URL: https://build.opensuse.org/request/show/913734 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tinyobjloader?expand=0&rev=4 --- _service | 16 ++++++++++++++++ _servicedata | 4 ++++ tinyobjloader-1.0.6.tar.gz | 3 --- tinyobjloader-2.0.0rc8+git.20210821.tar.xz | 3 +++ tinyobjloader.changes | 15 +++++++++++++++ tinyobjloader.spec | 11 ++++++----- 6 files changed, 44 insertions(+), 8 deletions(-) create mode 100644 _service create mode 100644 _servicedata delete mode 100644 tinyobjloader-1.0.6.tar.gz create mode 100644 tinyobjloader-2.0.0rc8+git.20210821.tar.xz diff --git a/_service b/_service new file mode 100644 index 0000000..0a3095b --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + https://github.com/tinyobjloader/tinyobjloader.git + yes + master + git + enable + 2.0.0rc8+git.%cd + + + *.tar + xz + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..6bde488 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/tinyobjloader/tinyobjloader.git + 1e794e9c641ffbf46d7e6e3b445e4b1c2bda10bb \ No newline at end of file diff --git a/tinyobjloader-1.0.6.tar.gz b/tinyobjloader-1.0.6.tar.gz deleted file mode 100644 index 234933f..0000000 --- a/tinyobjloader-1.0.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:19ee82cd201761954dd833de551edb570e33b320d6027e0d91455faf7cd4c341 -size 973418 diff --git a/tinyobjloader-2.0.0rc8+git.20210821.tar.xz b/tinyobjloader-2.0.0rc8+git.20210821.tar.xz new file mode 100644 index 0000000..f359127 --- /dev/null +++ b/tinyobjloader-2.0.0rc8+git.20210821.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1972b88dea03ae262f45da6d0de0b100ab998a398051cf768ee4f0682c1789bb +size 4453920 diff --git a/tinyobjloader.changes b/tinyobjloader.changes index bd09667..8a24606 100644 --- a/tinyobjloader.changes +++ b/tinyobjloader.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Aug 23 09:51:21 UTC 2021 - mardnh@gmx.de + +- Update to version 2.0.0rc8+git.20210821: + * Add new object oriented API. 1.x API is still provided. + * Support line primitive. + * Support points primitive. + * Support multiple search path for .mtl(v1 API). + * Support vertex weight `vw`(as an tinyobj extension) + * Support escaped whitespece in mtllib + * Add robust triangulation using Mapbox + earcut(TINYOBJLOADER_USE_MAPBOX_EARCUT). + * Fix CVE-2020-28589: tinyobjloader: An improper array index + validation could lead to code execution. + ------------------------------------------------------------------- Mon Aug 6 22:41:02 UTC 2018 - jengelh@inai.de diff --git a/tinyobjloader.spec b/tinyobjloader.spec index b23aa9d..b7d6dd1 100644 --- a/tinyobjloader.spec +++ b/tinyobjloader.spec @@ -1,7 +1,8 @@ # # spec file for package tinyobjloader # -# Copyright (c) 2018, Martin Hauke +# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2018-2021, Martin Hauke # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,20 +13,20 @@ # 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/ # -%define sover 1 +%define sover 2 %define lname libtinyobjloader%{sover} Name: tinyobjloader -Version: 1.0.6 +Version: 2.0.0rc8+git.20210821 Release: 0 Summary: Wavefront .obj file loader License: MIT Group: Development/Languages/C and C++ URL: https://github.com/syoyo/tinyobjloader -Source: https://github.com/syoyo/tinyobjloader/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source: %{name}-%{version}.tar.xz Patch0: tinyobjloader-fix-cmake-path.patch BuildRequires: cmake BuildRequires: gcc-c++