Update to version 3.3.1; Fixes RHBZ#2303330

epel10 imports/epel10/rust-dolby_vision-3.3.1-1.el10
Fabio Valentini 3 months ago
parent 756c530997
commit 387a43e368
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,20 +1,21 @@
--- dolby_vision-3.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ dolby_vision-3.3.0/Cargo.toml 2024-04-19T13:18:11.600532+00:00
@@ -39,10 +39,7 @@
[lib]
--- dolby_vision-3.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ dolby_vision-3.3.1/Cargo.toml 2024-12-09T16:42:38.838749+00:00
@@ -46,11 +46,7 @@
name = "dolby_vision"
path = "src/lib.rs"
doctest = false
-
-[[bench]]
-name = "bench_main"
-path = "benches/bench_main.rs"
-harness = false
+crate-type = ["lib", "cdylib"]
[dependencies.anyhow]
version = "1.0.81"
@@ -76,9 +73,6 @@
features = ["preserve_order"]
optional = true
version = "1.0.86"
@@ -88,9 +84,6 @@
version = "1.6.0"
features = ["rustc_1_55"]
-[dev-dependencies.criterion]
-version = "0.5.1"

@ -1,10 +1,10 @@
# Generated by rust2rpm 26
%bcond_without check
# Generated by rust2rpm 27
%bcond check 1
%global crate dolby_vision
Name: rust-dolby_vision
Version: 3.3.0
Version: 3.3.1
Release: %autorelease
Summary: Dolby Vision metadata parsing and writing
@ -12,7 +12,7 @@ License: MIT
URL: https://crates.io/crates/dolby_vision
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
# * drop unused, benchmark-only criterion dev-dependency
# * explicitly mark library as a "cdylib" type to fix spec generation
Patch: dolby_vision-fix-metadata.diff
@ -30,7 +30,9 @@ Summary: %{summary}
# Apache-2.0 OR MIT
# MIT
# MIT OR Apache-2.0
License: MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT)
# Unlicense OR MIT
# Zlib OR Apache-2.0 OR MIT
License: MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
# LICENSE.dependencies contains a full license breakdown
%description -n libdovi %{_description}
@ -166,7 +168,10 @@ rm %{buildroot}/%{_libdir}/libdovi.a
%if %{with check}
%check
# * skip tests that require files that are not included in published crates
%cargo_test -a -- -- --skip rpu::generate::tests::config_with_frame_edits --skip xml::tests::parse
%{cargo_test -a -- -- %{shrink:
--skip rpu::generate::tests::config_with_frame_edits
--skip xml::tests::parse
}}
%endif
%changelog

@ -1,12 +1,13 @@
[package]
bin-package-name = "libdovi"
cargo-toml-patch-comments = [
"drop unused, benchmark-only criterion dev-dependency to speed up builds",
"drop unused, benchmark-only criterion dev-dependency",
"explicitly mark library as a \"cdylib\" type to fix spec generation",
]
extra-files = [
"%{_libdir}/libdovi.so.3{,.*}",
]
suppress-cdylib-install-fixme = true
[features]
enable-all = true

@ -1 +1 @@
SHA512 (dolby_vision-3.3.0.crate) = 0096aa233565932c4631715c5a9ff83e4215b55ef96ab7dbf854eb4f18fd47fb10e91ff5d01b144cfc50b9fd177748db9326f0bc4f0e9f7aa15391c21c7217e9
SHA512 (dolby_vision-3.3.1.crate) = f75f3e5641146b1728486ffd03d301d8cdad8c1c5599cf9ee7683c09e3fc8e791c9f163f41845ce674b45409dda546080a3298e43422253f90a2bfab78bbf63f

Loading…
Cancel
Save