From ea830ace0824f8b71b0f6f85b58673ad9592d62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Mon, 29 Mar 2021 20:08:06 +0200 Subject: [PATCH] Update to 0.4.0 Close: rhbz#1915864 --- .gitignore | 1 + rav1e-fix-metadata.diff | 34 ++++++++++++---------------------- rust-rav1e.spec | 35 +++++++++++++++++++---------------- sources | 2 +- 4 files changed, 33 insertions(+), 39 deletions(-) diff --git a/.gitignore b/.gitignore index 9e4dabc..22d09cd 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /rav1e-0.3.3.crate /rav1e-0.3.4.crate /rav1e-0.4.0-alpha.crate +/rav1e-0.4.0.crate diff --git a/rav1e-fix-metadata.diff b/rav1e-fix-metadata.diff index d2c748a..acc4edd 100644 --- a/rav1e-fix-metadata.diff +++ b/rav1e-fix-metadata.diff @@ -1,30 +1,20 @@ ---- rav1e-0.4.0-alpha/Cargo.toml 2020-09-16T09:47:19+00:00 -+++ rav1e-0.4.0-alpha/Cargo.toml 2020-12-10T22:04:35.188724+00:00 -@@ -65,7 +65,7 @@ - features = ["array-sizes-33-128"] - - [dependencies.av-metrics] --version = "0.5.1" -+version = "0.6.0" - optional = true - default-features = false - -@@ -232,17 +232,7 @@ - tracing = ["rust_hawktracer"] - unstable = [] - wasm = ["wasm-bindgen"] --[target."cfg(fuzzing)".dependencies.arbitrary] --version = "0.4" -- +--- rav1e-0.4.0/Cargo.toml 2021-01-13T14:04:36+00:00 ++++ rav1e-0.4.0/Cargo.toml 2021-03-29T14:15:55.770501+00:00 +@@ -235,17 +235,6 @@ + [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.7" +-version = "0.8" - -[target."cfg(fuzzing)".dependencies.rand_chacha] --version = "0.2" -+ +-version = "0.3" [target."cfg(unix)".dependencies.signal-hook] - version = "0.1.9" + version = "0.3" optional = true diff --git a/rust-rav1e.spec b/rust-rav1e.spec index 72f74ec..00a8d23 100644 --- a/rust-rav1e.spec +++ b/rust-rav1e.spec @@ -16,8 +16,8 @@ %global crate rav1e Name: rust-%{crate} -Version: 0.4.0~alpha -Release: 0.3%{?dist} +Version: 0.4.0 +Release: 1%{?dist} Summary: Fastest and safest AV1 encoder # Upstream license specification: BSD-2-Clause @@ -27,7 +27,6 @@ URL: https://crates.io/crates/rav1e Source: %{crates_source} # Initial patched metadata # * Remove fuzzing dependencies -# * Bump av-metrics to 0.6.0, Patch0: rav1e-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -88,7 +87,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%license LICENSE PATENTS +%license PATENTS LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -416,18 +415,6 @@ which use "regex" feature of "%{crate}" crate. %files -n %{name}+regex-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+rust_hawktracer-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rust_hawktracer-devel %{_description} - -This package contains library source intended for building other packages -which use "rust_hawktracer" feature of "%{crate}" crate. - -%files -n %{name}+rust_hawktracer-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+scan_fmt-devel Summary: %{summary} BuildArch: noarch @@ -440,6 +427,18 @@ which use "scan_fmt" feature of "%{crate}" crate. %files -n %{name}+scan_fmt-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+scenechange-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+scenechange-devel %{_description} + +This package contains library source intended for building other packages +which use "scenechange" feature of "%{crate}" crate. + +%files -n %{name}+scenechange-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch @@ -600,6 +599,10 @@ rm -v %{buildroot}%{_libdir}/librav1e.a %endif %changelog +* Mon Mar 29 16:18:27 CEST 2021 Robert-André Mauchin - 0.4.0-1 +- Update to 0.4.0 +- Close: rhbz#1915864 + * Wed Jan 27 2021 Fedora Release Engineering - 0.4.0~alpha-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 1237015..f1e5ba2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rav1e-0.4.0-alpha.crate) = 533ec02d78677441816ad1dcaf6133a6fb04fc2fbdbc2ee55f7a9649cddbdfd3f20cdb86590144e9dba527095afb6c501de9bb037b2fb1575e94b7c9fa256a88 +SHA512 (rav1e-0.4.0.crate) = 2928f15afaab92f71517dac2281b39b38ee88f7cd5ddf4268bb7553168ac000cbfd959e428661b44f8f64eef2d0b0fcb7dd2663252b07115bf087466a994b7be