diff --git a/.gitignore b/.gitignore index fe593fd..8db7bab 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /async-compression-0.3.6.crate /async-compression-0.3.7.crate /async-compression-0.3.8.crate +/async-compression-0.3.10.crate diff --git a/async-compression-fix-metadata.diff b/async-compression-fix-metadata.diff index 4c5a4a1..62437e5 100644 --- a/async-compression-fix-metadata.diff +++ b/async-compression-fix-metadata.diff @@ -1,15 +1,6 @@ ---- async-compression-0.3.8/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ async-compression-0.3.8/Cargo.toml 2021-11-22T19:06:56.535432+00:00 -@@ -91,7 +91,7 @@ - default-features = false - - [dependencies.libzstd] --version = "0.7.0" -+version = "0.9.0" - optional = true - default-features = false - package = "zstd" -@@ -113,18 +113,12 @@ +--- async-compression-0.3.10/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-compression-0.3.10/Cargo.toml 2022-01-26T15:24:13.085999+00:00 +@@ -112,12 +112,6 @@ default-features = false package = "tokio" @@ -22,14 +13,7 @@ [dependencies.xz2] version = "0.1.6" optional = true - - [dependencies.zstd-safe] --version = "3.0.0" -+version = "4.1.0" - optional = true - default-features = false - [dev-dependencies.bytes] -@@ -171,12 +165,6 @@ +@@ -170,12 +164,6 @@ default-features = false package = "tokio" @@ -42,7 +26,7 @@ [dev-dependencies.tokio-util-03] version = "0.3.0" features = ["codec"] -@@ -204,7 +192,7 @@ +@@ -203,7 +191,7 @@ [features] all = ["all-implementations", "all-algorithms"] all-algorithms = ["brotli", "bzip2", "deflate", "gzip", "lzma", "xz", "zlib", "zstd"] diff --git a/rust-async-compression.spec b/rust-async-compression.spec index 5265c6e..ff27724 100644 --- a/rust-async-compression.spec +++ b/rust-async-compression.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 # * ntest crates are not packaged yet %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate async-compression Name: rust-%{crate} -Version: 0.3.8 +Version: 0.3.10 Release: %autorelease Summary: Adaptors between compression crates and Rust's modern asynchronous IO types @@ -16,15 +16,9 @@ URL: https://crates.io/crates/async-compression Source: %{crates_source} # Initial patched metadata # * drop tokio 0.3 support (Fedora only ships tokio 0.1, 0.2, and 1.0) -# * bump zstd from 0.7 to 0.9 -# * bump zstd-safe from 3.0.1 to 4.1.0 -# https://github.com/Nemo157/async-compression/pull/120 Patch0: async-compression-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -39,11 +33,11 @@ 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 +%license LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -53,8 +47,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 @@ -65,8 +59,8 @@ BuildArch: noarch %description -n %{name}+all-devel %{_description} -This package contains library source intended for building other packages -which use "all" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "all" feature of the "%{crate}" crate. %files -n %{name}+all-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -77,8 +71,8 @@ BuildArch: noarch %description -n %{name}+all-algorithms-devel %{_description} -This package contains library source intended for building other packages -which use "all-algorithms" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "all-algorithms" feature of the "%{crate}" crate. %files -n %{name}+all-algorithms-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -89,8 +83,8 @@ BuildArch: noarch %description -n %{name}+all-implementations-devel %{_description} -This package contains library source intended for building other packages -which use "all-implementations" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "all-implementations" feature of the "%{crate}" crate. %files -n %{name}+all-implementations-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -101,8 +95,8 @@ BuildArch: noarch %description -n %{name}+brotli-devel %{_description} -This package contains library source intended for building other packages -which use "brotli" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "brotli" feature of the "%{crate}" crate. %files -n %{name}+brotli-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -113,8 +107,8 @@ BuildArch: noarch %description -n %{name}+bytes-05-devel %{_description} -This package contains library source intended for building other packages -which use "bytes-05" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "bytes-05" feature of the "%{crate}" crate. %files -n %{name}+bytes-05-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -125,8 +119,8 @@ BuildArch: noarch %description -n %{name}+bzip2-devel %{_description} -This package contains library source intended for building other packages -which use "bzip2" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "bzip2" feature of the "%{crate}" crate. %files -n %{name}+bzip2-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -137,8 +131,8 @@ 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. +This package contains library source intended for building other packages which +use the "deflate" feature of the "%{crate}" crate. %files -n %{name}+deflate-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -149,8 +143,8 @@ BuildArch: noarch %description -n %{name}+flate2-devel %{_description} -This package contains library source intended for building other packages -which use "flate2" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "flate2" feature of the "%{crate}" crate. %files -n %{name}+flate2-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -161,8 +155,8 @@ BuildArch: noarch %description -n %{name}+futures-bufread-devel %{_description} -This package contains library source intended for building other packages -which use "futures-bufread" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "futures-bufread" feature of the "%{crate}" crate. %files -n %{name}+futures-bufread-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -173,8 +167,8 @@ BuildArch: noarch %description -n %{name}+futures-io-devel %{_description} -This package contains library source intended for building other packages -which use "futures-io" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "futures-io" feature of the "%{crate}" crate. %files -n %{name}+futures-io-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -185,8 +179,8 @@ BuildArch: noarch %description -n %{name}+futures-write-devel %{_description} -This package contains library source intended for building other packages -which use "futures-write" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "futures-write" feature of the "%{crate}" crate. %files -n %{name}+futures-write-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -197,8 +191,8 @@ BuildArch: noarch %description -n %{name}+gzip-devel %{_description} -This package contains library source intended for building other packages -which use "gzip" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "gzip" feature of the "%{crate}" crate. %files -n %{name}+gzip-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -209,8 +203,8 @@ BuildArch: noarch %description -n %{name}+libzstd-devel %{_description} -This package contains library source intended for building other packages -which use "libzstd" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "libzstd" feature of the "%{crate}" crate. %files -n %{name}+libzstd-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -221,8 +215,8 @@ BuildArch: noarch %description -n %{name}+lzma-devel %{_description} -This package contains library source intended for building other packages -which use "lzma" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "lzma" feature of the "%{crate}" crate. %files -n %{name}+lzma-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -233,8 +227,8 @@ BuildArch: noarch %description -n %{name}+stream-devel %{_description} -This package contains library source intended for building other packages -which use "stream" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "stream" feature of the "%{crate}" crate. %files -n %{name}+stream-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -245,8 +239,8 @@ BuildArch: noarch %description -n %{name}+tokio-devel %{_description} -This package contains library source intended for building other packages -which use "tokio" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "tokio" feature of the "%{crate}" crate. %files -n %{name}+tokio-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -257,8 +251,8 @@ BuildArch: noarch %description -n %{name}+tokio-02-devel %{_description} -This package contains library source intended for building other packages -which use "tokio-02" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "tokio-02" feature of the "%{crate}" crate. %files -n %{name}+tokio-02-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -269,8 +263,8 @@ BuildArch: noarch %description -n %{name}+xz-devel %{_description} -This package contains library source intended for building other packages -which use "xz" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "xz" feature of the "%{crate}" crate. %files -n %{name}+xz-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -281,8 +275,8 @@ BuildArch: noarch %description -n %{name}+xz2-devel %{_description} -This package contains library source intended for building other packages -which use "xz2" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "xz2" feature of the "%{crate}" crate. %files -n %{name}+xz2-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -293,8 +287,8 @@ BuildArch: noarch %description -n %{name}+zlib-devel %{_description} -This package contains library source intended for building other packages -which use "zlib" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "zlib" feature of the "%{crate}" crate. %files -n %{name}+zlib-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -305,8 +299,8 @@ BuildArch: noarch %description -n %{name}+zstd-devel %{_description} -This package contains library source intended for building other packages -which use "zstd" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "zstd" feature of the "%{crate}" crate. %files -n %{name}+zstd-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -317,8 +311,8 @@ BuildArch: noarch %description -n %{name}+zstd-safe-devel %{_description} -This package contains library source intended for building other packages -which use "zstd-safe" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "zstd-safe" feature of the "%{crate}" crate. %files -n %{name}+zstd-safe-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 6689817..d7884e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-compression-0.3.8.crate) = 8ef6c186d3d5131034322540dedce6d8108bf1f00f9e73433772c06a77eb33567124f303a217f77f6daeb697f26fe9d6dd8ed6b9ae1e16ddb6e0f3053ab2bb06 +SHA512 (async-compression-0.3.10.crate) = b51a36bac92055cf7c817c1b8d615d92c2e7b72b0f2c89b3d7ab94f895cc2e12979248b8b7c9a3e83b3a1bfe7ac8a97f1d7dd590cea4d5757024f065de1a3214