From 3750d38b9ac605791a01e213a6369fda0a5cbc16 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 2 Feb 2022 22:55:02 +0100 Subject: [PATCH] Update to version 0.17.2; Fixes RHBZ#1993638 --- .gitignore | 1 + rust-png.spec | 51 ++++++++++++--------------------------------------- sources | 2 +- 3 files changed, 14 insertions(+), 40 deletions(-) diff --git a/.gitignore b/.gitignore index bf52173..046b977 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /png-0.16.6.crate /png-0.16.7.crate /png-0.16.8.crate +/png-0.17.2.crate diff --git a/rust-png.spec b/rust-png.spec index 6200880..3bf427c 100644 --- a/rust-png.spec +++ b/rust-png.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 20 # * glium is not packaged %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate png Name: rust-%{crate} -Version: 0.16.8 +Version: 0.17.2 Release: %autorelease Summary: PNG decoding and encoding library in pure Rust @@ -16,9 +16,6 @@ URL: https://crates.io/crates/png Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,12 +30,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGES.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -47,8 +44,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -59,44 +56,20 @@ BuildArch: noarch %description -n %{name}+benchmarks-devel %{_description} -This package contains library source intended for building other packages -which use "benchmarks" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "benchmarks" feature of the "%{crate}" crate. %files -n %{name}+benchmarks-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+deflate-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+deflate-devel %{_description} - -This package contains library source intended for building other packages -which use "deflate" feature of "%{crate}" crate. - -%files -n %{name}+deflate-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+png-encoding-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+png-encoding-devel %{_description} - -This package contains library source intended for building other packages -which use "png-encoding" feature of "%{crate}" crate. - -%files -n %{name}+png-encoding-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+unstable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-devel %{_description} -This package contains library source intended for building other packages -which use "unstable" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 5a17d8d..17adb81 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (png-0.16.8.crate) = df96f8580d8cc11df54788ff64ab3269b14369a467d7c29964a5b19add5e7a82258e6bfda40eedf135bffa98a2a86afbb725cd085cf37f6c433abf9a7485edee +SHA512 (png-0.17.2.crate) = 4f163517a1a9267e3e974c431c75695d8e78f99db10fe351b02d37edb570444565eda750ab3b9fdf3d8752115541e3f30397d49426b551fa83628e561539c1cb