Blame rust-mio0.6.spec

0f8cc75
# Generated by rust2rpm 13
0f8cc75
%bcond_with check
be5ab04
%global debug_package %{nil}
be5ab04
be5ab04
%global crate mio
be5ab04
38fd32a
Name:           rust-%{crate}0.6
db66d8b
Version:        0.6.22
8b42be5
Release:        3%{?dist}
be5ab04
Summary:        Lightweight non-blocking IO
be5ab04
0e2fadb
# Upstream license specification: MIT
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}
0e2fadb
%if %{__cargo_skip_build}
0e2fadb
BuildArch:      noarch
0e2fadb
%endif
be5ab04
be5ab04
BuildRequires:  rust-packaging
be5ab04
0e2fadb
%global _description %{expand:
0e2fadb
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
0f8cc75
%{cargo_registry}/%{crate}-%{version_no_tilde}/
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
0f8cc75
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
0f8cc75
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
be5ab04
be5ab04
%prep
c293ce3
%autosetup -n %{crate}-%{version_no_tilde} -p1
be5ab04
%cargo_prep
be5ab04
0e2fadb
%generate_buildrequires
0e2fadb
%cargo_generate_buildrequires
0e2fadb
be5ab04
%build
be5ab04
%cargo_build
be5ab04
be5ab04
%install
be5ab04
%cargo_install
be5ab04
be5ab04
%if %{with check}
be5ab04
%check
68f4375
# Tests below depend on having networking present
7b9dbe0
%cargo_test -- -- --skip poll::Poll --skip poll::Poll::deregister --skip poll::Poll::register --skip poll::Poll::reregister --skip sys::unix::ready::UnixReady --skip test_multicast::test_multicast
be5ab04
%endif
be5ab04
be5ab04
%changelog
8b42be5
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.22-3
8b42be5
- Second attempt - Rebuilt for
8b42be5
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
8b42be5
c8d9098
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.22-2
c8d9098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c8d9098
db66d8b
* Tue May 05 2020 Josh Stone <cuviper@gmail.com> - 0.6.22-1
db66d8b
- Update to 0.6.22
db66d8b
0f8cc75
* Thu Apr 30 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.6.21-2
0f8cc75
- Regenerate
0f8cc75
38fd32a
* Wed Apr 29 21:19:34 CEST 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.6.21-1
38fd32a
- Fork from rust-mio package for 0.6 branch