You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-hyper/rust-hyper.spec

127 lines
4.3 KiB

# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate hyper
Name: rust-%{crate}
Version: 0.12.12
Release: 1%{?dist}
Summary: Fast and correct HTTP library
License: MIT
URL: https://crates.io/crates/hyper
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(bytes) >= 0.4.4 with crate(bytes) < 0.5.0)
BuildRequires: (crate(futures) >= 0.1.21 with crate(futures) < 0.2.0)
BuildRequires: (crate(futures-cpupool) >= 0.1.6 with crate(futures-cpupool) < 0.2.0)
BuildRequires: (crate(h2) >= 0.1.10 with crate(h2) < 0.2.0)
BuildRequires: (crate(http) >= 0.1.13 with crate(http) < 0.2.0)
BuildRequires: (crate(httparse) >= 1.0.0 with crate(httparse) < 2.0.0)
BuildRequires: (crate(iovec) >= 0.1.0 with crate(iovec) < 0.2.0)
BuildRequires: (crate(itoa) >= 0.4.1 with crate(itoa) < 0.5.0)
BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0)
BuildRequires: (crate(net2) >= 0.2.32 with crate(net2) < 0.3.0)
BuildRequires: (crate(time) >= 0.1.0 with crate(time) < 0.2.0)
BuildRequires: (crate(tokio) >= 0.1.7 with crate(tokio) < 0.2.0)
BuildRequires: (crate(tokio-executor) >= 0.1.0 with crate(tokio-executor) < 0.2.0)
BuildRequires: (crate(tokio-io) >= 0.1.0 with crate(tokio-io) < 0.2.0)
BuildRequires: (crate(tokio-reactor) >= 0.1.0 with crate(tokio-reactor) < 0.2.0)
BuildRequires: (crate(tokio-tcp) >= 0.1.0 with crate(tokio-tcp) < 0.2.0)
BuildRequires: (crate(tokio-timer) >= 0.2.0 with crate(tokio-timer) < 0.3.0)
BuildRequires: (crate(want) >= 0.0.6 with crate(want) < 0.0.7)
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(futures-timer) >= 0.1.0 with crate(futures-timer) < 0.2.0)
BuildRequires: (crate(num_cpus) >= 1.0.0 with crate(num_cpus) < 2.0.0)
BuildRequires: (crate(pretty_env_logger) >= 0.2.0 with crate(pretty_env_logger) < 0.3.0)
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
BuildRequires: (crate(spmc) >= 0.2.0 with crate(spmc) < 0.3.0)
BuildRequires: (crate(tokio-fs) >= 0.1.0 with crate(tokio-fs) < 0.2.0)
BuildRequires: (crate(tokio-mockstream) >= 1.1.0 with crate(tokio-mockstream) < 2.0.0)
BuildRequires: (crate(url) >= 1.0.0 with crate(url) < 2.0.0)
%endif
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
A fast and correct HTTP library.
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
# Test files are missing
%cargo_test -- --doc
%endif
%files devel
%license LICENSE
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Mon Oct 22 2018 Josh Stone <jistone@redhat.com> - 0.12.12-1
- Update to 0.12.12
* Fri Sep 28 2018 Josh Stone <jistone@redhat.com> - 0.12.11-1
- Update to 0.12.11
* Mon Sep 17 2018 Josh Stone <jistone@redhat.com> - 0.12.10-1
- Update to 0.12.10
6 years ago
* Sat Sep 08 2018 Josh Stone <jistone@redhat.com> - 0.12.9-1
- Update to 0.12.9
* Sat Aug 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.8-1
- Update to 0.12.8
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.7-2
- Rebuild to trigger tests
* Tue Jul 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.7-1
- Update to 0.12.7
* Fri Jul 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.6-1
- Update to 0.12.6
* Wed Jul 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.5-1
- Update to 0.12.5
* Sun May 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.26-1
- Update to 0.11.26
* Thu Apr 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.25-1
- Update to 0.11.25
* Fri Mar 23 2018 Josh Stone <jistone@redhat.com> - 0.11.24-1
- Update to 0.11.24
* Thu Mar 22 2018 Josh Stone <jistone@redhat.com> - 0.11.23-1
- Update to 0.11.23
* Fri Mar 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.22-1
- Initial package