diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a7e0e80 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/futures-0.1.21.crate diff --git a/rust-futures0.1.spec b/rust-futures0.1.spec new file mode 100644 index 0000000..afa5bbd --- /dev/null +++ b/rust-futures0.1.spec @@ -0,0 +1,81 @@ +# 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 diff --git a/sources b/sources new file mode 100644 index 0000000..5d3205e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (futures-0.1.21.crate) = b6079674974489fc325182404896ddd6c2fb3a3a230d0a5ebb611a418a404378442550c92c9895aad9742a6d305a90f3099c9d6ca5bdce55ed1dab2b3e01e755