Compare commits

..

2 Commits
rawhide ... f36

Author SHA1 Message Date
Fabio Valentini 3a33964748
Ensure default Rust compiler flags apply to the shared library build 2023-02-19 16:43:33 +01:00
Fabio Valentini 5825e2aa49
Disambiguate code which is ambiguous with Rust 1.67+ 2023-02-19 16:43:09 +01:00
6 changed files with 205 additions and 259 deletions

1
.gitignore vendored
View File

@ -6,4 +6,3 @@
/rav1e-0.4.0.crate
/rav1e-0.4.1.crate
/rav1e-0.5.0.crate
/rav1e-0.5.1.crate

View File

@ -1,23 +0,0 @@
From d56fe642bbbd8fe3d20c851b950db3fcaea53c7a Mon Sep 17 00:00:00 2001
From: redzic <48274562+redzic@users.noreply.github.com>
Date: Thu, 29 Sep 2022 15:17:00 -0500
Subject: [PATCH] Fix UB in pred_max test
---
src/predict.rs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/predict.rs b/src/predict.rs
index 85cdd69abb..75140830db 100644
--- a/src/predict.rs
+++ b/src/predict.rs
@@ -1558,8 +1558,7 @@ mod test {
}
}
- // SAFETY: ???
- let above_left = unsafe { *above.as_ptr().offset(-1) };
+ let above_left = max12bit;
pred_paeth(
&mut o.as_region_mut(),

View File

@ -1,25 +0,0 @@
--- rav1e-0.5.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ rav1e-0.5.1/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -232,22 +232,6 @@
tracing = ["rust_hawktracer/profiling_enabled"]
unstable = []
wasm = ["wasm-bindgen"]
-[target."cfg(any(decode_test, decode_test_dav1d))".dependencies.system-deps]
-version = "~3.1.2"
-[target."cfg(fuzzing)".dependencies.arbitrary]
-version = "0.4"
-
-[target."cfg(fuzzing)".dependencies.interpolate_name]
-version = "0.2.2"
-
-[target."cfg(fuzzing)".dependencies.libfuzzer-sys]
-version = "0.3"
-
-[target."cfg(fuzzing)".dependencies.rand]
-version = "0.8"
-
-[target."cfg(fuzzing)".dependencies.rand_chacha]
-version = "0.3"
[target."cfg(unix)".dependencies.signal-hook]
version = "0.3"
optional = true

View File

@ -1,68 +1,25 @@
--- rav1e-0.5.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ rav1e-0.5.1/Cargo.toml 2022-08-08T18:36:33.822505+00:00
@@ -22,7 +22,7 @@
default-run = "rav1e"
description = "The fastest and safest AV1 encoder"
readme = "README.md"
-license = "BSD-2-Clause"
+license = "BSD-2-Clause AND ISC"
repository = "https://github.com/xiph/rav1e/"
[package.metadata.docs.rs]
no-default-features = true
@@ -90,7 +90,7 @@
default-features = false
[dependencies.console]
-version = "0.14"
+version = "0.15"
optional = true
[dependencies.crossbeam]
@@ -98,7 +98,7 @@
optional = true
[dependencies.dav1d-sys]
-version = "0.3.4"
+version = "0.5"
optional = true
[dependencies.fern]
@@ -139,9 +139,6 @@
[dependencies.rayon]
version = "1.0"
-[dependencies.rust_hawktracer]
-version = "0.7.0"
-
[dependencies.scan_fmt]
version = "0.2.3"
optional = true
@@ -165,18 +162,11 @@
[dependencies.v_frame]
version = "0.2.5"
-[dependencies.wasm-bindgen]
-version = "0.2.63"
-optional = true
-
[dependencies.y4m]
version = "0.7"
optional = true
[dev-dependencies.assert_cmd]
version = "2.0"
-
-[dev-dependencies.criterion]
-version = "0.3"
[dev-dependencies.interpolate_name]
version = "0.2.2"
@@ -229,9 +219,7 @@
scenechange = []
serialize = ["serde", "toml", "v_frame/serialize", "arrayvec/serde"]
signal_support = ["signal-hook"]
-tracing = ["rust_hawktracer/profiling_enabled"]
--- rav1e-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ rav1e-0.5.0/Cargo.toml 2021-11-21T03:36:51.742045+00:00
@@ -233,21 +233,7 @@
unstable = []
-wasm = ["wasm-bindgen"]
wasm = ["wasm-bindgen"]
[target."cfg(any(decode_test, decode_test_dav1d))".dependencies.system-deps]
-version = "~3.1.2"
-[target."cfg(fuzzing)".dependencies.arbitrary]
-version = "0.4"
-
-[target."cfg(fuzzing)".dependencies.interpolate_name]
-version = "0.2.2"
-
-[target."cfg(fuzzing)".dependencies.libfuzzer-sys]
-version = "0.3"
-
-[target."cfg(fuzzing)".dependencies.rand]
-version = "0.8"
-
-[target."cfg(fuzzing)".dependencies.rand_chacha]
-version = "0.3"
+version = "6"
[target."cfg(unix)".dependencies.signal-hook]
version = "0.3"
optional = true

View File

@ -1,37 +1,34 @@
# Generated by rust2rpm 22
# Generated by rust2rpm 18
%bcond_without check
# Apache-2.0 OR MIT
# BSD-2-Clause
# BSD-2-Clause AND ISC
# MIT
# MIT OR Apache-2.0
%global binary_license BSD-2-Clause AND ISC AND MIT
# Install all deps (without check), grab their licenses and make it simple
# * ASL 2.0
# * ASL 2.0 or MIT
# * BSD
# * ISC
# * MIT
# * MIT or ASL 2.0
# * Unlicense or MIT
# * zlib
# * zlib or ASL 2.0 or MIT
%global binary_license BSD and ASL 2.0 and ISC and MIT and zlib
%global crate rav1e
Name: rust-rav1e
Version: 0.5.1
Name: rust-%{crate}
Version: 0.5.0
Release: %autorelease
Summary: Fastest and safest AV1 encoder
# Upstream license specification: BSD-2-Clause
# src/ext/x86/x86inc.asm is under ISC, https://github.com/xiph/rav1e/issues/2181
License: BSD-2-Clause AND ISC
License: BSD and ISC
URL: https://crates.io/crates/rav1e
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: rav1e-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * Fix license in Cargo.toml
# * Bump console from 0.14 to 0.15
# * Bump dav1d-sys from 0.3.4 to 0.5
# * Remove useless rust_hawktracer dependency
# * Remove unused wasm-bindgen dependency
# * Remove unused criterion dev-dependency
# * Drop unused tracing feature
# * Drop unused wasm feature
Patch: rav1e-fix-metadata.diff
# Initial patched metadata
# * Remove fuzzing dependencies
# * Bump system-deps dependency from 3.1.2 to 6
Patch0: rav1e-fix-metadata.diff
# * Remove useless / no-op hawktracer macros
Patch: 0001-remove-unused-hawktracer-usage.patch
# * Backported patch to fix UB / crash in test code
@ -42,14 +39,18 @@ Patch: 0002-Fix-UB-in-pred_max-test.patch
Patch: 0003-Disambiguate-ILog-ilog-calls-from-integer-ilog-from-.patch
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging >= 21
BuildRequires: rust-packaging
%global _description %{expand:
Fastest and safest AV1 encoder.}
%description %{_description}
%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
License: %{binary_license}
@ -57,8 +58,7 @@ License: %{binary_license}
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%license PATENTS
%license PATENTS LICENSE
%doc README.md
%{_bindir}/rav1e
@ -70,22 +70,21 @@ License: %{binary_license}
Library files for rav1e, the fastest and safest AV1 encoder.
%files -n %{crate}-libs
%license LICENSE
%license PATENTS
%doc README.md
%license LICENSE PATENTS
%{_libdir}/librav1e.so.0*
%package -n %{crate}-devel
Summary: %{summary}
License: %{binary_license}
Summary: Development files for rav1e
Requires: %{crate}-libs%{?_isa} = %{version}-%{release}
%description -n %{crate}-devel %{_description}
%description -n %{crate}-devel
Development files for rav1e, the fastest and safest AV1 encoder.
%files -n %{crate}-devel
%{_includedir}/rav1e/
%{_libdir}/librav1e.so
%{_libdir}/pkgconfig/rav1e.pc
%endif
%package devel
Summary: %{summary}
@ -93,14 +92,13 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%license %{crate_instdir}/PATENTS
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%license PATENTS LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -108,11 +106,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+aom-sys-devel
Summary: %{summary}
@ -120,11 +118,11 @@ BuildArch: noarch
%description -n %{name}+aom-sys-devel %{_description}
This package contains library source intended for building other packages which
use the "aom-sys" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "aom-sys" feature of "%{crate}" crate.
%files -n %{name}+aom-sys-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+asm-devel
Summary: %{summary}
@ -132,11 +130,11 @@ BuildArch: noarch
%description -n %{name}+asm-devel %{_description}
This package contains library source intended for building other packages which
use the "asm" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "asm" feature of "%{crate}" crate.
%files -n %{name}+asm-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+av-metrics-devel
Summary: %{summary}
@ -144,11 +142,11 @@ BuildArch: noarch
%description -n %{name}+av-metrics-devel %{_description}
This package contains library source intended for building other packages which
use the "av-metrics" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "av-metrics" feature of "%{crate}" crate.
%files -n %{name}+av-metrics-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+backtrace-devel
Summary: %{summary}
@ -156,11 +154,11 @@ BuildArch: noarch
%description -n %{name}+backtrace-devel %{_description}
This package contains library source intended for building other packages which
use the "backtrace" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "backtrace" feature of "%{crate}" crate.
%files -n %{name}+backtrace-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+bench-devel
Summary: %{summary}
@ -168,11 +166,11 @@ BuildArch: noarch
%description -n %{name}+bench-devel %{_description}
This package contains library source intended for building other packages which
use the "bench" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "bench" feature of "%{crate}" crate.
%files -n %{name}+bench-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+binaries-devel
Summary: %{summary}
@ -180,11 +178,11 @@ BuildArch: noarch
%description -n %{name}+binaries-devel %{_description}
This package contains library source intended for building other packages which
use the "binaries" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "binaries" feature of "%{crate}" crate.
%files -n %{name}+binaries-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+byteorder-devel
Summary: %{summary}
@ -192,11 +190,11 @@ BuildArch: noarch
%description -n %{name}+byteorder-devel %{_description}
This package contains library source intended for building other packages which
use the "byteorder" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "byteorder" feature of "%{crate}" crate.
%files -n %{name}+byteorder-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+capi-devel
Summary: %{summary}
@ -204,11 +202,11 @@ BuildArch: noarch
%description -n %{name}+capi-devel %{_description}
This package contains library source intended for building other packages which
use the "capi" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "capi" feature of "%{crate}" crate.
%files -n %{name}+capi-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+cc-devel
Summary: %{summary}
@ -216,11 +214,11 @@ BuildArch: noarch
%description -n %{name}+cc-devel %{_description}
This package contains library source intended for building other packages which
use the "cc" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "cc" feature of "%{crate}" crate.
%files -n %{name}+cc-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+channel-api-devel
Summary: %{summary}
@ -228,11 +226,11 @@ BuildArch: noarch
%description -n %{name}+channel-api-devel %{_description}
This package contains library source intended for building other packages which
use the "channel-api" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "channel-api" feature of "%{crate}" crate.
%files -n %{name}+channel-api-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+check_asm-devel
Summary: %{summary}
@ -240,11 +238,11 @@ BuildArch: noarch
%description -n %{name}+check_asm-devel %{_description}
This package contains library source intended for building other packages which
use the "check_asm" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "check_asm" feature of "%{crate}" crate.
%files -n %{name}+check_asm-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+clap-devel
Summary: %{summary}
@ -252,11 +250,11 @@ BuildArch: noarch
%description -n %{name}+clap-devel %{_description}
This package contains library source intended for building other packages which
use the "clap" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "clap" feature of "%{crate}" crate.
%files -n %{name}+clap-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+console-devel
Summary: %{summary}
@ -264,11 +262,11 @@ BuildArch: noarch
%description -n %{name}+console-devel %{_description}
This package contains library source intended for building other packages which
use the "console" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "console" feature of "%{crate}" crate.
%files -n %{name}+console-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+crossbeam-devel
Summary: %{summary}
@ -276,11 +274,11 @@ BuildArch: noarch
%description -n %{name}+crossbeam-devel %{_description}
This package contains library source intended for building other packages which
use the "crossbeam" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "crossbeam" feature of "%{crate}" crate.
%files -n %{name}+crossbeam-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+dav1d-sys-devel
Summary: %{summary}
@ -288,11 +286,11 @@ BuildArch: noarch
%description -n %{name}+dav1d-sys-devel %{_description}
This package contains library source intended for building other packages which
use the "dav1d-sys" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "dav1d-sys" feature of "%{crate}" crate.
%files -n %{name}+dav1d-sys-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+decode_test-devel
Summary: %{summary}
@ -300,11 +298,11 @@ BuildArch: noarch
%description -n %{name}+decode_test-devel %{_description}
This package contains library source intended for building other packages which
use the "decode_test" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "decode_test" feature of "%{crate}" crate.
%files -n %{name}+decode_test-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+decode_test_dav1d-devel
Summary: %{summary}
@ -312,11 +310,11 @@ BuildArch: noarch
%description -n %{name}+decode_test_dav1d-devel %{_description}
This package contains library source intended for building other packages which
use the "decode_test_dav1d" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "decode_test_dav1d" feature of "%{crate}" crate.
%files -n %{name}+decode_test_dav1d-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+desync_finder-devel
Summary: %{summary}
@ -324,11 +322,11 @@ BuildArch: noarch
%description -n %{name}+desync_finder-devel %{_description}
This package contains library source intended for building other packages which
use the "desync_finder" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "desync_finder" feature of "%{crate}" crate.
%files -n %{name}+desync_finder-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+dump_ivf-devel
Summary: %{summary}
@ -336,11 +334,11 @@ BuildArch: noarch
%description -n %{name}+dump_ivf-devel %{_description}
This package contains library source intended for building other packages which
use the "dump_ivf" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "dump_ivf" feature of "%{crate}" crate.
%files -n %{name}+dump_ivf-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+dump_lookahead_data-devel
Summary: %{summary}
@ -348,11 +346,11 @@ BuildArch: noarch
%description -n %{name}+dump_lookahead_data-devel %{_description}
This package contains library source intended for building other packages which
use the "dump_lookahead_data" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "dump_lookahead_data" feature of "%{crate}" crate.
%files -n %{name}+dump_lookahead_data-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+fern-devel
Summary: %{summary}
@ -360,11 +358,11 @@ BuildArch: noarch
%description -n %{name}+fern-devel %{_description}
This package contains library source intended for building other packages which
use the "fern" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "fern" feature of "%{crate}" crate.
%files -n %{name}+fern-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+image-devel
Summary: %{summary}
@ -372,11 +370,11 @@ BuildArch: noarch
%description -n %{name}+image-devel %{_description}
This package contains library source intended for building other packages which
use the "image" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "image" feature of "%{crate}" crate.
%files -n %{name}+image-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+ivf-devel
Summary: %{summary}
@ -384,11 +382,11 @@ BuildArch: noarch
%description -n %{name}+ivf-devel %{_description}
This package contains library source intended for building other packages which
use the "ivf" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "ivf" feature of "%{crate}" crate.
%files -n %{name}+ivf-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+nasm-rs-devel
Summary: %{summary}
@ -396,11 +394,11 @@ BuildArch: noarch
%description -n %{name}+nasm-rs-devel %{_description}
This package contains library source intended for building other packages which
use the "nasm-rs" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "nasm-rs" feature of "%{crate}" crate.
%files -n %{name}+nasm-rs-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+quick_test-devel
Summary: %{summary}
@ -408,11 +406,11 @@ BuildArch: noarch
%description -n %{name}+quick_test-devel %{_description}
This package contains library source intended for building other packages which
use the "quick_test" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "quick_test" feature of "%{crate}" crate.
%files -n %{name}+quick_test-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+regex-devel
Summary: %{summary}
@ -420,11 +418,11 @@ BuildArch: noarch
%description -n %{name}+regex-devel %{_description}
This package contains library source intended for building other packages which
use the "regex" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "regex" feature of "%{crate}" crate.
%files -n %{name}+regex-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+scan_fmt-devel
Summary: %{summary}
@ -432,11 +430,11 @@ BuildArch: noarch
%description -n %{name}+scan_fmt-devel %{_description}
This package contains library source intended for building other packages which
use the "scan_fmt" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "scan_fmt" feature of "%{crate}" crate.
%files -n %{name}+scan_fmt-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+scenechange-devel
Summary: %{summary}
@ -444,11 +442,11 @@ BuildArch: noarch
%description -n %{name}+scenechange-devel %{_description}
This package contains library source intended for building other packages which
use the "scenechange" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "scenechange" feature of "%{crate}" crate.
%files -n %{name}+scenechange-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@ -456,11 +454,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "serde" feature of "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serialize-devel
Summary: %{summary}
@ -468,11 +466,11 @@ BuildArch: noarch
%description -n %{name}+serialize-devel %{_description}
This package contains library source intended for building other packages which
use the "serialize" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "serialize" feature of "%{crate}" crate.
%files -n %{name}+serialize-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+signal-hook-devel
Summary: %{summary}
@ -480,11 +478,11 @@ BuildArch: noarch
%description -n %{name}+signal-hook-devel %{_description}
This package contains library source intended for building other packages which
use the "signal-hook" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "signal-hook" feature of "%{crate}" crate.
%files -n %{name}+signal-hook-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+signal_support-devel
Summary: %{summary}
@ -492,11 +490,11 @@ BuildArch: noarch
%description -n %{name}+signal_support-devel %{_description}
This package contains library source intended for building other packages which
use the "signal_support" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "signal_support" feature of "%{crate}" crate.
%files -n %{name}+signal_support-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+toml-devel
Summary: %{summary}
@ -504,11 +502,23 @@ BuildArch: noarch
%description -n %{name}+toml-devel %{_description}
This package contains library source intended for building other packages which
use the "toml" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "toml" feature of "%{crate}" crate.
%files -n %{name}+toml-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tracing-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tracing-devel %{_description}
This package contains library source intended for building other packages
which use "tracing" feature of "%{crate}" crate.
%files -n %{name}+tracing-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unstable-devel
Summary: %{summary}
@ -516,11 +526,35 @@ BuildArch: noarch
%description -n %{name}+unstable-devel %{_description}
This package contains library source intended for building other packages which
use the "unstable" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "unstable" feature of "%{crate}" crate.
%files -n %{name}+unstable-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+wasm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+wasm-devel %{_description}
This package contains library source intended for building other packages
which use "wasm" feature of "%{crate}" crate.
%files -n %{name}+wasm-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+wasm-bindgen-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+wasm-bindgen-devel %{_description}
This package contains library source intended for building other packages
which use "wasm-bindgen" feature of "%{crate}" crate.
%files -n %{name}+wasm-bindgen-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+y4m-devel
Summary: %{summary}
@ -528,11 +562,11 @@ BuildArch: noarch
%description -n %{name}+y4m-devel %{_description}
This package contains library source intended for building other packages which
use the "y4m" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "y4m" feature of "%{crate}" crate.
%files -n %{name}+y4m-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
@ -564,8 +598,12 @@ rm -v %{buildroot}%{_libdir}/librav1e.a
%if %{with check}
%check
# * work around codegen issues when compiling doctests with LLVM 13:
# https://bugzilla.redhat.com/show_bug.cgi?id=2045116
%ifnarch %{arm}
%cargo_test
%endif
%endif
%changelog
%autochangelog

View File

@ -1 +1 @@
SHA512 (rav1e-0.5.1.crate) = 83a5117f82840575fe6d62b7d959cec94d0e86a9b6f89e400b261ac681f821b6be1a65689b75c12fd2f2e4f0f49daa05a1e0d020612ef790ba66722288115365
SHA512 (rav1e-0.5.0.crate) = 7ffec9130c94c4eb2c8a5ab44894cc733abacf3cbf7951c5d7203802bd4b8a23dbf7874ab7b29ecec29ebeb98a1acfdd7a7fc15d7efb41dc1127e3340f58e4b8