From 971d1c98e6b2c8e1bb16aff19e6f2c8d339f4e87 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 7 Nov 2020 19:45:44 +0100 Subject: [PATCH] update to version 0.23.11 --- .gitignore | 1 + image-fix-metadata.diff | 25 ++++++++++++++++++++++ rust-image.spec | 47 ++++++++--------------------------------- sources | 2 +- 4 files changed, 36 insertions(+), 39 deletions(-) create mode 100644 image-fix-metadata.diff diff --git a/.gitignore b/.gitignore index b7d8b23..bdb8d4d 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /image-0.23.8.crate /image-0.23.9.crate /image-0.23.10.crate +/image-0.23.11.crate diff --git a/image-fix-metadata.diff b/image-fix-metadata.diff new file mode 100644 index 0000000..9e7d810 --- /dev/null +++ b/image-fix-metadata.diff @@ -0,0 +1,25 @@ +--- image-0.23.11/Cargo.toml 2020-10-25T19:06:08+00:00 ++++ image-0.23.11/Cargo.toml 2020-11-07T18:35:41.522876+00:00 +@@ -70,14 +70,6 @@ + version = "0.16.5" + optional = true + +-[dependencies.ravif] +-version = "0.6.0" +-optional = true +- +-[dependencies.rgb] +-version = "0.8.25" +-optional = true +- + [dependencies.scoped_threadpool] + version = "0.1" + optional = true +@@ -101,7 +93,6 @@ + version = "0.9" + + [features] +-avif = ["ravif", "rgb"] + benchmarks = [] + bmp = [] + dds = ["dxt"] diff --git a/rust-image.spec b/rust-image.spec index 1e7192c..b350978 100644 --- a/rust-image.spec +++ b/rust-image.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 15 %bcond_without check %global debug_package %{nil} %global crate image Name: rust-%{crate} -Version: 0.23.10 +Version: 0.23.11 Release: 1%{?dist} Summary: Imaging library written in Rust @@ -13,6 +13,9 @@ Summary: Imaging library written in Rust License: MIT URL: https://crates.io/crates/image Source: %{crates_source} +# Initial patched metadata +# * remove features with missing dependencies (avif) +Patch0: image-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -53,18 +56,6 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+avif-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+avif-devel %{_description} - -This package contains library source intended for building other packages -which use "avif" feature of "%{crate}" crate. - -%files -n %{name}+avif-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+benchmarks-devel Summary: %{summary} BuildArch: noarch @@ -209,30 +200,6 @@ which use "pnm" feature of "%{crate}" crate. %files -n %{name}+pnm-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+ravif-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+ravif-devel %{_description} - -This package contains library source intended for building other packages -which use "ravif" feature of "%{crate}" crate. - -%files -n %{name}+ravif-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+rgb-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rgb-devel %{_description} - -This package contains library source intended for building other packages -which use "rgb" feature of "%{crate}" crate. - -%files -n %{name}+rgb-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+scoped_threadpool-devel Summary: %{summary} BuildArch: noarch @@ -301,6 +268,10 @@ which use "webp" feature of "%{crate}" crate. %endif %changelog +* Sat Nov 07 2020 Fabio Valentini - 0.23.11-1 +- Update to version 0.23.11. +- Fixes RHBZ#1891340 + * Mon Oct 19 2020 Fabio Valentini - 0.23.10-1 - Update to version 0.23.10. diff --git a/sources b/sources index 48f2057..58c9ffd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (image-0.23.10.crate) = f7cd58c5827ed74fc0244c73421b19e9c63672f143a1ac21ea40b23b3525a55836ee1809258133c0d6a239369784782ee4b6fd1c692d9536c7bead91f467f9cc +SHA512 (image-0.23.11.crate) = 6ef319599d6cca1c4c4b10a017f9ee924d836686c13cd8f663ef42c41ce757ad4c5822120b947902f28fe821707d2150f35fbc08b1b58b83a9908bd19ab5f05a