Blame rust-tokio-io.spec

98dde3b
# Generated by rust2rpm
98dde3b
%bcond_without check
98dde3b
%global debug_package %{nil}
98dde3b
98dde3b
%global crate tokio-io
98dde3b
98dde3b
Name:           rust-%{crate}
8cb69f8
Version:        0.1.7
a7fa8fb
Release:        2%{?dist}
98dde3b
Summary:        Core I/O primitives for asynchronous I/O in Rust
98dde3b
8cb69f8
License:        MIT
98dde3b
URL:            https://crates.io/crates/tokio-io
98dde3b
Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
98dde3b
98dde3b
ExclusiveArch:  %{rust_arches}
98dde3b
98dde3b
BuildRequires:  rust-packaging
98dde3b
# [dependencies]
8cb69f8
BuildRequires:  (crate(bytes) >= 0.4.7 with crate(bytes) < 0.5.0)
43c6df6
BuildRequires:  (crate(futures) >= 0.1.18 with crate(futures) < 0.2.0)
90075ee
BuildRequires:  (crate(log) >= 0.4.0 with crate(log) < 0.5.0)
98dde3b
98dde3b
%description
98dde3b
%{summary}.
98dde3b
98dde3b
%package        devel
98dde3b
Summary:        %{summary}
98dde3b
BuildArch:      noarch
98dde3b
98dde3b
%description    devel
98dde3b
Core I/O primitives for asynchronous I/O in Rust.
98dde3b
98dde3b
This package contains library source intended for building other packages
98dde3b
which use %{crate} from crates.io.
98dde3b
98dde3b
%prep
8cb69f8
%autosetup -n %{crate}-%{version} -p1
98dde3b
%cargo_prep
98dde3b
98dde3b
%build
98dde3b
%cargo_build
98dde3b
98dde3b
%install
98dde3b
%cargo_install
98dde3b
98dde3b
%if %{with check}
98dde3b
%check
98dde3b
%cargo_test
98dde3b
%endif
98dde3b
98dde3b
%files          devel
8cb69f8
%license LICENSE
98dde3b
%doc README.md CHANGELOG.md
98dde3b
%{cargo_registry}/%{crate}-%{version}/
98dde3b
98dde3b
%changelog
a7fa8fb
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-2
a7fa8fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a7fa8fb
8cb69f8
* Thu Jun 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-1
8cb69f8
- Update to 0.1.7
8cb69f8
d08cb33
* Thu May 03 2018 Josh Stone <jistone@redhat.com> - 0.1.6-2
d08cb33
- Stop using deprecated APIs
d08cb33
43c6df6
* Fri Mar 09 2018 Josh Stone <jistone@redhat.com> - 0.1.6-1
43c6df6
- Update to 0.1.6
43c6df6
90075ee
* Thu Feb 08 2018 Josh Stone <jistone@redhat.com> - 0.1.5-1
90075ee
- Update to 0.1.5
90075ee
970f9d4
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-2
970f9d4
- Rebuild for rust-packaging v5
970f9d4
98dde3b
* Wed Nov 22 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-1
98dde3b
- Update to 0.1.4
98dde3b
98dde3b
* Fri Jun 16 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.2-1
98dde3b
- Initial package