|
|
|
@ -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
|
|
|
|
|