|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 16
|
|
|
|
|
# Generated by rust2rpm 17
|
|
|
|
|
# * futures-test, ntest are not packaged
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
%global crate async-compression
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.3.7
|
|
|
|
|
Version: 0.3.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Adaptors between compression crates and Rust's modern asynchronous IO types
|
|
|
|
|
|
|
|
|
@ -15,7 +15,10 @@ License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/async-compression
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * drop tokio 0.3 support (we skipped 0.3 and went from 0.2 to 1.0 directly)
|
|
|
|
|
# * drop tokio 0.3 support (Fedora only ships tokio 0.1, 0.2, and 1.0)
|
|
|
|
|
# * bump zstd from 0.7 to 0.8
|
|
|
|
|
# * bump zstd-safe from 3.0.1 to 4.0.0
|
|
|
|
|
# https://github.com/Nemo157/async-compression/pull/120
|
|
|
|
|
Patch0: async-compression-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
@ -325,20 +328,24 @@ which use "zstd-safe" feature of "%{crate}" crate.
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires -a
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
%cargo_build -a
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cargo_install
|
|
|
|
|
%cargo_install -a
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
%cargo_test
|
|
|
|
|
%cargo_test -a
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon May 10 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.8-1
|
|
|
|
|
- Update to version 0.3.8.
|
|
|
|
|
- Bump zstd to 0.8 and zstd-safe to 4.0.0.
|
|
|
|
|
|
|
|
|
|
* Sat Mar 06 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.7-1
|
|
|
|
|
- Update to version 0.3.7.
|
|
|
|
|
|
|
|
|
|