|
|
ff4439c |
# Generated by rust2rpm-9-1.fc30
|
|
|
c293ce3 |
%bcond_with check
|
|
|
be5ab04 |
%global debug_package %{nil}
|
|
|
be5ab04 |
|
|
|
be5ab04 |
%global crate mio
|
|
|
be5ab04 |
|
|
|
be5ab04 |
Name: rust-%{crate}
|
|
|
ff4439c |
Version: 0.6.19
|
|
|
ff4439c |
Release: 1%{?dist}
|
|
|
be5ab04 |
Summary: Lightweight non-blocking IO
|
|
|
be5ab04 |
|
|
|
be5ab04 |
License: MIT
|
|
|
be5ab04 |
URL: https://crates.io/crates/mio
|
|
|
c293ce3 |
Source: %{crates_source}
|
|
|
be5ab04 |
# Initial patched metadata
|
|
|
ae1cc9b |
# * No windows or fuchsia
|
|
|
f180f88 |
Patch0: mio-fix-metadata.diff
|
|
|
be5ab04 |
|
|
|
be5ab04 |
ExclusiveArch: %{rust_arches}
|
|
|
be5ab04 |
|
|
|
be5ab04 |
BuildRequires: rust-packaging
|
|
|
c293ce3 |
BuildRequires: (crate(iovec/default) >= 0.1.1 with crate(iovec/default) < 0.2.0)
|
|
|
c293ce3 |
BuildRequires: (crate(libc/default) >= 0.2.42 with crate(libc/default) < 0.3.0)
|
|
|
c293ce3 |
BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
|
|
|
c293ce3 |
BuildRequires: (crate(net2/default) >= 0.2.29 with crate(net2/default) < 0.3.0)
|
|
|
c293ce3 |
BuildRequires: (crate(slab/default) >= 0.4.0 with crate(slab/default) < 0.5.0)
|
|
|
be5ab04 |
%if %{with check}
|
|
|
c293ce3 |
BuildRequires: (crate(bytes/default) >= 0.3.0 with crate(bytes/default) < 0.4.0)
|
|
|
be5ab04 |
BuildRequires: (crate(env_logger) >= 0.4.0 with crate(env_logger) < 0.5.0)
|
|
|
c293ce3 |
BuildRequires: (crate(tempdir/default) >= 0.3.4 with crate(tempdir/default) < 0.4.0)
|
|
|
be5ab04 |
%endif
|
|
|
be5ab04 |
|
|
|
c293ce3 |
%global _description \
|
|
|
c293ce3 |
Lightweight non-blocking IO.
|
|
|
c293ce3 |
|
|
|
c293ce3 |
%description %{_description}
|
|
|
be5ab04 |
|
|
|
be5ab04 |
%package devel
|
|
|
be5ab04 |
Summary: %{summary}
|
|
|
be5ab04 |
BuildArch: noarch
|
|
|
be5ab04 |
|
|
|
c293ce3 |
%description devel %{_description}
|
|
|
c293ce3 |
|
|
|
c293ce3 |
This package contains library source intended for building other packages
|
|
|
c293ce3 |
which use "%{crate}" crate.
|
|
|
c293ce3 |
|
|
|
c293ce3 |
%files devel
|
|
|
c293ce3 |
%license LICENSE
|
|
|
c293ce3 |
%doc README.md CHANGELOG.md
|
|
|
c293ce3 |
%{cargo_registry}/%{crate}-%{version}/
|
|
|
ff4439c |
%exclude %{cargo_registry}/%{crate}-%{version}/{azure-pipelines.yml,.cirrus.yml,ci}
|
|
|
c293ce3 |
|
|
|
c293ce3 |
%package -n %{name}+default-devel
|
|
|
c293ce3 |
Summary: %{summary}
|
|
|
c293ce3 |
BuildArch: noarch
|
|
|
c293ce3 |
|
|
|
c293ce3 |
%description -n %{name}+default-devel %{_description}
|
|
|
be5ab04 |
|
|
|
be5ab04 |
This package contains library source intended for building other packages
|
|
|
c293ce3 |
which use "default" feature of "%{crate}" crate.
|
|
|
c293ce3 |
|
|
|
c293ce3 |
%files -n %{name}+default-devel
|
|
|
c293ce3 |
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
c293ce3 |
|
|
|
c293ce3 |
%package -n %{name}+with-deprecated-devel
|
|
|
c293ce3 |
Summary: %{summary}
|
|
|
c293ce3 |
BuildArch: noarch
|
|
|
c293ce3 |
|
|
|
c293ce3 |
%description -n %{name}+with-deprecated-devel %{_description}
|
|
|
c293ce3 |
|
|
|
c293ce3 |
This package contains library source intended for building other packages
|
|
|
c293ce3 |
which use "with-deprecated" feature of "%{crate}" crate.
|
|
|
c293ce3 |
|
|
|
c293ce3 |
%files -n %{name}+with-deprecated-devel
|
|
|
c293ce3 |
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
be5ab04 |
|
|
|
be5ab04 |
%prep
|
|
|
c293ce3 |
%autosetup -n %{crate}-%{version_no_tilde} -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 |
%changelog
|
|
|
ff4439c |
* Sat Jun 01 2019 Josh Stone <jistone@redhat.com> - 0.6.19-1
|
|
|
ff4439c |
- Update to 0.6.19
|
|
|
ff4439c |
|
|
|
c293ce3 |
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.16-3
|
|
|
c293ce3 |
- Adapt to new packaging
|
|
|
c293ce3 |
|
|
|
95917bd |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.16-2
|
|
|
95917bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
95917bd |
|
|
|
f180f88 |
* Sat Sep 08 2018 Josh Stone <jistone@redhat.com> - 0.6.16-1
|
|
|
f180f88 |
- Update to 0.6.16
|
|
|
f180f88 |
|
|
|
e424a91 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.15-2
|
|
|
e424a91 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e424a91 |
|
|
|
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
|