diff --git a/_service b/_service
index fb2b300..573ed4b 100644
--- a/_service
+++ b/_service
@@ -2,8 +2,8 @@
git
git://github.com/assimp/assimp
- v5.1.0
- 5.1.0
+ v5.1.2
+ 5.1.2
test/models-nonbsd
diff --git a/assimp-5.1.0.tar.xz b/assimp-5.1.0.tar.xz
deleted file mode 100644
index facba49..0000000
--- a/assimp-5.1.0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f85d3612ecdb46c07dad8049ca0469f51af372d6022694e879c13a4006f1b426
-size 24525516
diff --git a/assimp-5.1.2.tar.xz b/assimp-5.1.2.tar.xz
new file mode 100644
index 0000000..2e7f742
--- /dev/null
+++ b/assimp-5.1.2.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6eefe729d31476cc8609eb62dda7bb78f041dc4ca2899ae4b55915e3754a64ba
+size 24524464
diff --git a/assimp.changes b/assimp.changes
index fe467bc..f00befc 100644
--- a/assimp.changes
+++ b/assimp.changes
@@ -1,3 +1,15 @@
+-------------------------------------------------------------------
+Thu Dec 2 12:05:31 UTC 2021 - Christophe Giboudeaux
+
+- Update to 5.1.2. Changes since 5.1.0:
+ * Fixed an incorrect indeiciesType in the glTF2 sparse accessor.
+ * Prevent out-of-range memory writes by sparse accessors
+ * Delete test/models/3DS/UVTransformTest directory
+ * Do not build ziplib when 3MF exporter is disabled.
+ * Collada: Read value, not attribute
+ * Redefine deprecated glTF-specific PBR material macros
+- Fix assimp-devel dependencies. minizip is required.
+
-------------------------------------------------------------------
Sat Nov 13 16:29:32 UTC 2021 - Christophe Giboudeaux
diff --git a/assimp.spec b/assimp.spec
index 814e137..6851851 100644
--- a/assimp.spec
+++ b/assimp.spec
@@ -18,7 +18,7 @@
%define sover 5
Name: assimp
-Version: 5.1.0
+Version: 5.1.2
Release: 0
Summary: Library to load and process 3D scenes from various data formats
License: BSD-3-Clause AND MIT
@@ -40,11 +40,11 @@ materials, bone animations and potential texture data. The library is not design
it is primarily useful for importing assets from various sources once and storing it in a
engine-specific format for easy and fast every-day-loading.
-%package -n lib%{name}%{sover}
+%package -n libassimp%{sover}
Summary: Library to load and process 3D scenes from various data formats
Group: System/Libraries
-%description -n lib%{name}%{sover}
+%description -n libassimp%{sover}
Assimp is a library to load and process geometric scenes from various data formats.
It is tailored at typical game scenarios by supporting a node hierarchy, static or skinned meshes,
materials, bone animations and potential texture data. The library is not designed for speed,
@@ -52,11 +52,12 @@ it is primarily useful for importing assets from various sources once and storin
engine-specific format for easy and fast every-day-loading.
%package devel
-Summary: Headers, docs and command-line utility for %{name}
+Summary: Headers, docs and command-line utility for assimp
Group: Development/Libraries/C and C++
Requires: glibc-devel
-Requires: lib%{name}%{sover} = %{version}
+Requires: libassimp%{sover} = %{version}
Requires: libstdc++-devel
+Requires: pkgconfig(minizip)
%description devel
Assimp is a library to load and process geometric scenes from various data formats.