|
|
|
@ -6,10 +6,11 @@
|
|
|
|
|
%global crate xz2
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.1.5
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.1.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Rust bindings to liblzma
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/xz2
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
@ -19,12 +20,12 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
# [dependencies]
|
|
|
|
|
BuildRequires: (crate(futures) >= 0.1.0 with crate(futures) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(lzma-sys) >= 0.1.0 with crate(lzma-sys) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(lzma-sys) >= 0.1.11 with crate(lzma-sys) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(tokio-io) >= 0.1.0 with crate(tokio-io) < 0.2.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
# [dev-dependencies]
|
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.6.0 with crate(quickcheck) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.7.0 with crate(quickcheck) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(rand) >= 0.5.0 with crate(rand) < 0.6.0)
|
|
|
|
|
BuildRequires: (crate(tokio-core) >= 0.1.0 with crate(tokio-core) < 0.2.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -65,6 +66,9 @@ sed -i -e "/fn standard_files/i #[ignore]" tests/xz.rs
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Oct 11 2018 Josh Stone <jistone@redhat.com> - 0.1.6-1
|
|
|
|
|
- Update to 0.1.6
|
|
|
|
|
|
|
|
|
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.5-4
|
|
|
|
|
- Rebuild to trigger tests
|
|
|
|
|
|
|
|
|
|