From 0f3a8c71cf3d059e5029560b9b7b8847b3ef0624 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 30 Mar 2023 22:38:44 +0200 Subject: [PATCH] Update to version 0.17.7; Fixes RHBZ#2138662 --- .gitignore | 1 + README.md | 3 --- png-fix-metadata.diff | 6 +++--- rust-png.spec | 6 ++---- sources | 2 +- 5 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 0a38938..cf7c1b8 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /png-0.17.2.crate /png-0.17.5.crate /png-0.17.6.crate +/png-0.17.7.crate diff --git a/README.md b/README.md deleted file mode 100644 index 38ae059..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-png - -The rust-png package \ No newline at end of file diff --git a/png-fix-metadata.diff b/png-fix-metadata.diff index c6e5a62..409f79a 100644 --- a/png-fix-metadata.diff +++ b/png-fix-metadata.diff @@ -1,8 +1,8 @@ ---- png-0.17.6/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ png-0.17.6/Cargo.toml 2022-09-05T21:16:45.130408+00:00 +--- png-0.17.7/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ png-0.17.7/Cargo.toml 2023-03-30T20:35:11.002464+00:00 @@ -46,9 +46,6 @@ [dependencies.miniz_oxide] - version = "0.5.0" + version = "0.6.0" -[dev-dependencies.criterion] -version = "0.3.1" diff --git a/rust-png.spec b/rust-png.spec index de5a960..130806b 100644 --- a/rust-png.spec +++ b/rust-png.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 # * glium is not packaged %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate png Name: rust-png -Version: 0.17.6 +Version: 0.17.7 Release: %autorelease Summary: PNG decoding and encoding library in pure Rust @@ -17,8 +17,6 @@ Source: %{crates_source} # * drop unused, benchmark-only criterion dev-dependency to speed up builds Patch: png-fix-metadata.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: diff --git a/sources b/sources index 5e6bfa3..129d0eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (png-0.17.6.crate) = 16a3c657efb1a23b47b2bd51f635ef35338c3b9920b604f216dd6d0ac3a8b21e12e854591739bded2947036f4fc1abde0604d9a8ae5a6639562a46e98d29ee9e +SHA512 (png-0.17.7.crate) = f8009925a6948d8b9c82007f31eefd18d2173274816c0329673e48ef725aec52ca3aab2b91e8fc4f776c8f7f17475a3e065835e578a632445e1bd70794b18270