Update to version 0.4.1; Fixes RHBZ#2196926

epel9
Fabio Valentini 2 years ago
parent 20715a780d
commit cb544779dd
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -7,3 +7,4 @@
/async-compression-0.3.12.crate
/async-compression-0.3.14.crate
/async-compression-0.3.15.crate
/async-compression-0.4.1.crate

@ -1,55 +0,0 @@
--- async-compression-0.3.15/Cargo.toml 1970-01-01T00:00:01+00:00
+++ async-compression-0.3.15/Cargo.toml 2023-02-23T18:32:38.772398+00:00
@@ -119,7 +119,7 @@
default-features = false
[dependencies.libzstd]
-version = "0.11.1"
+version = "0.12"
optional = true
default-features = false
package = "zstd"
@@ -141,18 +141,12 @@
default-features = false
package = "tokio"
-[dependencies.tokio-03]
-version = "0.3.0"
-optional = true
-default-features = false
-package = "tokio"
-
[dependencies.xz2]
version = "0.1.6"
optional = true
[dependencies.zstd-safe]
-version = "5.0.1"
+version = "6"
optional = true
default-features = false
@@ -197,15 +191,6 @@
"stream",
"macros",
"io-std",
-]
-default-features = false
-package = "tokio"
-
-[dev-dependencies.tokio-03]
-version = "0.3.0"
-features = [
- "io-util",
- "stream",
]
default-features = false
package = "tokio"
@@ -253,7 +238,6 @@
"futures-io",
"stream",
"tokio-02",
- "tokio-03",
"tokio",
]
default = []

@ -1,21 +1,18 @@
# Generated by rust2rpm 24
# * missing dev-dependency: ntest
# * tests can only be run in-tree
%bcond_with check
%global debug_package %{nil}
%global crate async-compression
Name: rust-async-compression
Version: 0.3.15
Version: 0.4.1
Release: %autorelease
Summary: Adaptors between compression crates and Rust's modern asynchronous IO types
License: MIT OR Apache-2.0
URL: https://crates.io/crates/async-compression
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop tokio 0.3 support (Fedora only ships tokio 0.1, 0.2, and 1.0)
Patch: async-compression-fix-metadata.diff
BuildRequires: rust-packaging >= 21
@ -37,6 +34,7 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
@ -100,18 +98,6 @@ use the "brotli" feature of the "%{crate}" crate.
%files -n %{name}+brotli-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bytes-05-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bytes-05-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+bzip2-devel
Summary: %{summary}
BuildArch: noarch
@ -148,18 +134,6 @@ use the "flate2" feature of the "%{crate}" crate.
%files -n %{name}+flate2-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+futures-bufread-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-bufread-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+futures-io-devel
Summary: %{summary}
BuildArch: noarch
@ -172,18 +146,6 @@ use the "futures-io" feature of the "%{crate}" crate.
%files -n %{name}+futures-io-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+futures-write-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-write-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+gzip-devel
Summary: %{summary}
BuildArch: noarch
@ -220,18 +182,6 @@ use the "lzma" feature of the "%{crate}" crate.
%files -n %{name}+lzma-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+stream-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+stream-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-devel
Summary: %{summary}
BuildArch: noarch
@ -244,18 +194,6 @@ use the "tokio" feature of the "%{crate}" crate.
%files -n %{name}+tokio-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-02-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-02-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+xz-devel
Summary: %{summary}
BuildArch: noarch
@ -316,6 +254,18 @@ use the "zstd-safe" feature of the "%{crate}" crate.
%files -n %{name}+zstd-safe-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+zstdmt-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+zstdmt-devel %{_description}
This package contains library source intended for building other packages which
use the "zstdmt" feature of the "%{crate}" crate.
%files -n %{name}+zstdmt-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep

@ -1 +1 @@
SHA512 (async-compression-0.3.15.crate) = 8d7f8f35e71cd89048732c451c3935401d1ac415a5a7169b5f52fa19e4a83f6a4448b37bf915f738cd8be639252e317ae44ec28ea2c7ba38bc436ccc7aea80e0
SHA512 (async-compression-0.4.1.crate) = cfc2a992656b1ed51de8f638327d382119864f9eb3e3e65e908cb5b99e433ca8b5187870b4570b91898690ed12678580c4de221b7b2fb8268698043ad4f6288a

Loading…
Cancel
Save