diff --git a/_service b/_service
index 7caa1fc..30be2b9 100644
--- a/_service
+++ b/_service
@@ -1,26 +1,26 @@
-
+
https://github.com/xiph/rav1e.git
@PARENT_TAG@+@TAG_OFFSET@
git
- v0.6.4
+ v0.6.6
*
- v(\d+\.\d+\.\d+)
+ v(.*)\+0
\1
- enable
+
-
-
+
+
*.tar
- xz
+ zst
-
-
+
+
rav1e
- xz
+ zst
true
-
+
rav1e
diff --git a/_servicedata b/_servicedata
deleted file mode 100644
index 12b6f9c..0000000
--- a/_servicedata
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- https://github.com/xiph/rav1e.git
- 7121c0df0fd2443887b6ba5bd8eacfde60874d0c
\ No newline at end of file
diff --git a/baselibs.conf b/baselibs.conf
index bf86ead..4d1a7dc 100644
--- a/baselibs.conf
+++ b/baselibs.conf
@@ -1 +1 @@
-librav1e0
+librav1e0_6
diff --git a/rav1e-0.6.4+0.tar.xz b/rav1e-0.6.4+0.tar.xz
deleted file mode 100644
index 4ad3f25..0000000
--- a/rav1e-0.6.4+0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:51cc4a72eb27ba70fd1b4809d0c2d924a7760c504982c9796e0d82e2e68b07e9
-size 2323200
diff --git a/rav1e-0.6.6.obscpio b/rav1e-0.6.6.obscpio
new file mode 100644
index 0000000..6c6784c
--- /dev/null
+++ b/rav1e-0.6.6.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:26fcca27827aa8b3b3c2785e369870e0d039d7272d96d9f4f9a497e6b9444db3
+size 12052493
diff --git a/rav1e.changes b/rav1e.changes
index 01277c7..9de1967 100644
--- a/rav1e.changes
+++ b/rav1e.changes
@@ -1,3 +1,18 @@
+-------------------------------------------------------------------
+Thu Oct 19 08:38:11 UTC 2023 - bjorn.lie@gmail.com
+
+- Update to version 0.6.6:
+ * Sync the assembly with dav1d
+ * Additional improvements and cleanups
+ * Overall speed-up typically 5.2%
+- Change soname to 0_6, and at the same time set min version for
+ cargo-c BuildRequires to > 0.9.26, as this is needed for the new
+ soname to be built correctly.
+- Modernize _service and spec to more current way of doing rust
+ packaging.
+- Use ldconfig_scriptlets macro for post(un) handling.
+- Fix license tag to BSD-2-Clause AND ISC
+
-------------------------------------------------------------------
Thu Apr 20 07:28:40 UTC 2023 - Frederic Crozat
diff --git a/rav1e.obsinfo b/rav1e.obsinfo
index f5fba24..1794fa4 100644
--- a/rav1e.obsinfo
+++ b/rav1e.obsinfo
@@ -1,4 +1,4 @@
name: rav1e
-version: 0.6.4+0
-mtime: 1681053966
-commit: 7121c0df0fd2443887b6ba5bd8eacfde60874d0c
+version: 0.6.6
+mtime: 1684219782
+commit: 7c9db10494c2fffa98a572027d756e55bf754036
diff --git a/rav1e.spec b/rav1e.spec
index 8c6894f..4bdeb8b 100644
--- a/rav1e.spec
+++ b/rav1e.spec
@@ -18,22 +18,24 @@
Name: rav1e
-Version: 0.6.4+0
+Version: 0.6.6
Release: 0
Summary: Fastest and safest AV1 encoder
-License: BSD-2-Clause and AOMPL-1.0
+# rav1e is published under the terms of the BSD-2-Clause license,
+# with the exception of one file: "src/ext/x86/x86inc.asm" (ISC license)
+License: BSD-2-Clause AND ISC
Group: Productivity/Multimedia/Video/Editors and Convertors
URL: https://github.com/xiph/rav1e
#
-Source0: %{name}-%{version}.tar.xz
-Source1: vendor.tar.xz
+Source0: %{name}-%{version}.tar.zst
+Source1: vendor.tar.zst
Source2: cargo_config
Source98: README.suse-maint
Source99: baselibs.conf
#
Patch0: rav1e-cargo-no-git-default.patch
#
-BuildRequires: cargo-c
+BuildRequires: cargo-c > 0.9.26
BuildRequires: cargo-packaging
BuildRequires: nasm
@@ -60,11 +62,11 @@ rav1e features:
* Variable speed settings
* Near real-time encoding at high speed levels
-%package -n librav1e0
+%package -n librav1e0_6
Summary: AV1 encoder library
Group: System/Libraries
-%description -n librav1e0
+%description -n librav1e0_6
rav1e is an AV1 video encoder libary. It is designed to eventually cover all
use cases, though in its current form it is most suitable for cases where
libaom (the reference encoder) is too slow.
@@ -72,7 +74,7 @@ libaom (the reference encoder) is too slow.
%package devel
Summary: Development files for rav1e
Group: Development/Libraries/C and C++
-Requires: librav1e0 = %{version}
+Requires: librav1e0_6 = %{version}
%description devel
The rav1e-devel package contains libraries and header files for
@@ -80,27 +82,19 @@ developing applications that use rav1e.
%prep
%autosetup -a1 -p1
-
-install -d -m 0755 .cargo
-cat >.cargo/config <