diff --git a/.gitignore b/.gitignore index f975cb9..abbdcb0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /y4m-0.3.3.crate /y4m-0.4.0.crate /y4m-0.5.0.crate +/y4m-0.6.0.crate diff --git a/rust-y4m.spec b/rust-y4m.spec index cbbd90e..f7a663b 100644 --- a/rust-y4m.spec +++ b/rust-y4m.spec @@ -1,18 +1,21 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate y4m Name: rust-%{crate} -Version: 0.5.0 -Release: 2%{?dist} +Version: 0.6.0 +Release: 1%{?dist} Summary: YUV4MPEG2 (.y4m) Encoder/Decoder # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/y4m Source: %{crates_source} +# Initial patched metadata +# * Update resize to 0.4, https://github.com/image-rs/y4m/pull/26 +Patch0: y4m-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -36,9 +39,9 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%doc README.md %license LICENSE -%{cargo_registry}/%{crate}-%{version}/ +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +53,7 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -71,6 +74,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon May 18 10:57:23 CEST 2020 Igor Raits - 0.6.0-1 +- Update to 0.6.0 + * Thu Jan 30 2020 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 23bb811..045fedb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (y4m-0.5.0.crate) = 8699ed4ea5ec7ab126621aa3140bcde1d65e56adac8282501f8e6862e6703723e33939032f2d6a9c4ebdac82793d8b5804937a0430c77be63325a1fcc33e76e5 +SHA512 (y4m-0.6.0.crate) = df29f4b614eaa08e213d54bf44318d22950d990c5c80a8ab36b91b97254a54d3f16d0383a8709d038cdd20f908b3f6c179017f771e2a8a447dc3a0822ee88193 diff --git a/y4m-fix-metadata.diff b/y4m-fix-metadata.diff new file mode 100644 index 0000000..6af8046 --- /dev/null +++ b/y4m-fix-metadata.diff @@ -0,0 +1,8 @@ +--- y4m-0.6.0/Cargo.toml 2020-05-12T12:18:30+00:00 ++++ y4m-0.6.0/Cargo.toml 2020-05-18T08:57:23.425264+00:00 +@@ -22,4 +22,4 @@ + license = "MIT" + repository = "https://github.com/image-rs/y4m.git" + [dev-dependencies.resize] +-version = "0.3.0" ++version = "0.4"