# Generated by rust2rpm %bcond_without check %global debug_package %{nil} %global crate futures Name: rust-%{crate}0.1 Version: 0.1.21 Release: 1%{?dist} Summary: Implementation of futures and streams featuring zero allocations License: MIT or ASL 2.0 URL: https://crates.io/crates/futures Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %description %{summary}. %package devel Summary: %{summary} BuildArch: noarch %description devel An implementation of futures and streams featuring zero allocations, composability, and iterator-like interfaces. This package contains library source intended for building other packages which use %{crate} from crates.io. %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %build %cargo_build %install %cargo_install %if %{with check} %check # https://bugzilla.redhat.com/show_bug.cgi?id=1563393 %cargo_test \ %ifarch ppc64 || : %else ; %endif %endif %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md CHANGELOG.md %{cargo_registry}/%{crate}-%{version}/ %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog * Tue Apr 03 2018 Josh Stone - 0.1.21-1 - Update to 0.1.21 * Fri Mar 23 2018 Josh Stone - 0.1.19-1 - Update to 0.1.19 * Fri Feb 09 2018 Fedora Release Engineering - 0.1.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 26 2018 Igor Gnatenko - 0.1.18-2 - Stop running useless chmod * Fri Jan 26 2018 Josh Stone - 0.1.18-1 - Update to 0.1.18 * Mon Jan 08 2018 Igor Gnatenko - 0.1.17-2 - Rebuild for rust-packaging v5 * Thu Jun 15 2017 Igor Gnatenko - 0.1.14-1 - Initial package