From bc86a69f32424f32f24e6aca94fbb97c11003a89 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 5 Nov 2020 22:41:05 +0100 Subject: [PATCH] update to version 1.0.19 --- .gitignore | 1 + flate2-fix-metadata.diff | 10 +++++----- rust-flate2.spec | 21 +++++++-------------- sources | 2 +- 4 files changed, 14 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 97aaeeb..4b6ef83 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /flate2-1.0.13.crate /flate2-1.0.14.crate /flate2-1.0.18.crate +/flate2-1.0.19.crate diff --git a/flate2-fix-metadata.diff b/flate2-fix-metadata.diff index c6b29e8..1fe85f3 100644 --- a/flate2-fix-metadata.diff +++ b/flate2-fix-metadata.diff @@ -1,9 +1,9 @@ ---- flate2-1.0.18/Cargo.toml 2020-09-30T21:45:12+00:00 -+++ flate2-1.0.18/Cargo.toml 2020-10-26T22:12:57.539320+00:00 +--- flate2-1.0.19/Cargo.toml 2020-11-02T14:50:20+00:00 ++++ flate2-1.0.19/Cargo.toml 2020-11-05T21:35:46.544215+00:00 @@ -25,10 +25,6 @@ repository = "https://github.com/rust-lang/flate2-rs" [dependencies.cfg-if] - version = "0.1.6" + version = "1.0.0" - -[dependencies.cloudflare-zlib-sys] -version = "0.2.0" @@ -11,7 +11,7 @@ [dependencies.crc32fast] version = "1.2.0" -@@ -78,12 +74,8 @@ +@@ -78,12 +74,7 @@ [features] any_zlib = [] @@ -20,7 +20,7 @@ rust_backend = ["miniz_oxide"] tokio = ["tokio-io", "futures"] zlib = ["any_zlib", "libz-sys"] - zlib-ng-compat = ["zlib", "libz-sys/zlib-ng"] +-zlib-ng-compat = ["zlib", "libz-sys/zlib-ng"] -[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.miniz_oxide] -version = "0.4.0" -default-features = false diff --git a/rust-flate2.spec b/rust-flate2.spec index ac7b3a1..8d14e5e 100644 --- a/rust-flate2.spec +++ b/rust-flate2.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 15 %bcond_without check %global debug_package %{nil} %global crate flate2 Name: rust-%{crate} -Version: 1.0.18 +Version: 1.0.19 Release: 1%{?dist} Summary: DEFLATE compression and decompression exposed as Read/BufRead/Write streams @@ -16,6 +16,7 @@ Source: %{crates_source} # Initial patched metadata # * No wasm32 # * No cloudflare-zlib-sys +# * No zlib-ng support in libz-sys Patch0: flate2-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -166,18 +167,6 @@ which use "zlib" feature of "%{crate}" crate. %files -n %{name}+zlib-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+zlib-ng-compat-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+zlib-ng-compat-devel %{_description} - -This package contains library source intended for building other packages -which use "zlib-ng-compat" feature of "%{crate}" crate. - -%files -n %{name}+zlib-ng-compat-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -197,6 +186,10 @@ which use "zlib-ng-compat" feature of "%{crate}" crate. %endif %changelog +* Thu Nov 05 2020 Fabio Valentini - 1.0.19-1 +- Update to version 1.0.19. +- Fixes RHBZ#1893770 + * Mon Oct 26 2020 Fabio Valentini - 1.0.18-1 - Update to version 1.0.18. diff --git a/sources b/sources index a794653..5c68430 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (flate2-1.0.18.crate) = 3695e7de578da3bc935988fdc67b22ded26f00bcae6818eaa6313c47628a19b66ad589b06e164ddc4c30c49eeec2011e41031287071a43460a8c5bf8e7cb5cef +SHA512 (flate2-1.0.19.crate) = 6e802f351085ce8804afad32d9502980269e2c03e2315349b9dcdbbb6895f61c89fbde822e31504eb00d94e665e1a8186ea3d128b5b612c61323494a8dd4332e