Blame rust-mio.spec

be5ab04
# Generated by rust2rpm
be5ab04
# Doctests require networking
be5ab04
%bcond_without check
be5ab04
%global debug_package %{nil}
be5ab04
be5ab04
%global crate mio
be5ab04
be5ab04
Name:           rust-%{crate}
34848fb
Version:        0.6.15
34848fb
Release:        1%{?dist}
be5ab04
Summary:        Lightweight non-blocking IO
be5ab04
be5ab04
License:        MIT
be5ab04
URL:            https://crates.io/crates/mio
be5ab04
Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
be5ab04
# Initial patched metadata
ae1cc9b
# * No windows or fuchsia
efb9f07
# * Bump lazycell to 1, https://github.com/carllerche/mio/pull/847
34848fb
Patch0:         mio-0.6.15-fix-metadata.diff
be5ab04
be5ab04
ExclusiveArch:  %{rust_arches}
be5ab04
be5ab04
BuildRequires:  rust-packaging
be5ab04
# [dependencies]
be5ab04
BuildRequires:  (crate(iovec) >= 0.1.1 with crate(iovec) < 0.2.0)
efb9f07
BuildRequires:  (crate(lazycell) >= 1.0.0 with crate(lazycell) < 2.0.0)
34848fb
BuildRequires:  (crate(libc) >= 0.2.42 with crate(libc) < 0.3.0)
ae1cc9b
BuildRequires:  (crate(log) >= 0.4.0 with crate(log) < 0.5.0)
be5ab04
BuildRequires:  (crate(net2) >= 0.2.29 with crate(net2) < 0.3.0)
be5ab04
BuildRequires:  (crate(slab) >= 0.4.0 with crate(slab) < 0.5.0)
be5ab04
%if %{with check}
be5ab04
# [dev-dependencies]
be5ab04
BuildRequires:  (crate(bytes) >= 0.3.0 with crate(bytes) < 0.4.0)
be5ab04
BuildRequires:  (crate(env_logger) >= 0.4.0 with crate(env_logger) < 0.5.0)
be5ab04
BuildRequires:  (crate(tempdir) >= 0.3.4 with crate(tempdir) < 0.4.0)
be5ab04
%endif
be5ab04
be5ab04
%description
be5ab04
%{summary}.
be5ab04
be5ab04
%package        devel
be5ab04
Summary:        %{summary}
be5ab04
BuildArch:      noarch
be5ab04
be5ab04
%description    devel
be5ab04
Lightweight non-blocking IO.
be5ab04
be5ab04
This package contains library source intended for building other packages
be5ab04
which use %{crate} from crates.io.
be5ab04
be5ab04
%prep
be5ab04
%autosetup -n %{crate}-%{version} -p1
be5ab04
%cargo_prep
be5ab04
be5ab04
%build
be5ab04
%cargo_build
be5ab04
be5ab04
%install
be5ab04
%cargo_install
be5ab04
be5ab04
%if %{with check}
be5ab04
%check
be5ab04
%cargo_test
be5ab04
%endif
be5ab04
be5ab04
%files          devel
be5ab04
%license LICENSE
be5ab04
%doc README.md CHANGELOG.md
be5ab04
%{cargo_registry}/%{crate}-%{version}/
be5ab04
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci}
be5ab04
be5ab04
%changelog
34848fb
* Wed Jul 11 2018 Josh Stone <jistone@redhat.com> - 0.6.15-1
34848fb
- Update to 0.6.15
34848fb
efb9f07
* Fri Jun 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.14-2
efb9f07
- Bump lazycell to 1
efb9f07
ae1cc9b
* Fri Mar 09 2018 Josh Stone <jistone@redhat.com> - 0.6.14-1
ae1cc9b
- Update to 0.6.14
ae1cc9b
cf763eb
* Wed Feb 07 2018 Josh Stone <jistone@redhat.com> - 0.6.13-1
cf763eb
- Update to 0.6.13
cf763eb
be5ab04
* Wed Jan 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.12-1
be5ab04
- Update to 0.6.12
be5ab04
be5ab04
* Fri Dec 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.11-1
be5ab04
- Update to 0.6.11
be5ab04
be5ab04
* Fri Jun 16 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.9-1
be5ab04
- Initial package