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.
266 lines
7.5 KiB
266 lines
7.5 KiB
# Generated by rust2rpm 16
|
|
%bcond_without check
|
|
%global debug_package %{nil}
|
|
|
|
%global crate mio
|
|
|
|
Name: rust-%{crate}
|
|
Version: 0.7.7
|
|
Release: 2%{?dist}
|
|
Summary: Lightweight non-blocking IO
|
|
|
|
# Upstream license specification: MIT
|
|
License: MIT
|
|
URL: https://crates.io/crates/mio
|
|
Source: %{crates_source}
|
|
# Initial patched metadata
|
|
# * No windows deps
|
|
Patch0: mio-fix-metadata.diff
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
%if %{__cargo_skip_build}
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%global _description %{expand:
|
|
Lightweight non-blocking IO.}
|
|
|
|
%description %{_description}
|
|
|
|
%package devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "%{crate}" crate.
|
|
|
|
%files devel
|
|
%license LICENSE
|
|
%doc README.md CHANGELOG.md
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%package -n %{name}+default-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+default-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+extra-docs-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+extra-docs-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "extra-docs" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+extra-docs-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+net-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+net-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "net" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+net-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+os-ext-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+os-ext-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "os-ext" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+os-ext-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+os-poll-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+os-poll-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "os-poll" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+os-poll-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+os-util-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+os-util-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "os-util" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+os-util-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+pipe-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+pipe-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "pipe" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+pipe-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+tcp-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+tcp-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "tcp" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+tcp-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+udp-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+udp-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "udp" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+udp-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+uds-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+uds-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "uds" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+uds-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%prep
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
%cargo_prep
|
|
|
|
%generate_buildrequires
|
|
%cargo_generate_buildrequires -a
|
|
|
|
%build
|
|
%cargo_build -a
|
|
|
|
%install
|
|
%cargo_install -a
|
|
|
|
%if %{with check}
|
|
%check
|
|
export RUST_BACKTRACE=1
|
|
%cargo_test -a
|
|
%endif
|
|
|
|
%changelog
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Thu Dec 31 2020 Fabio Valentini <decathorpe@gmail.com> - 0.7.7-1
|
|
- Update to version 0.7.7.
|
|
- Fixes RHBZ#1911692
|
|
|
|
* Thu Nov 19 2020 Fabio Valentini <decathorpe@gmail.com> - 0.7.6-1
|
|
- Update to version 0.7.6.
|
|
- Fixes RHBZ#1898162
|
|
|
|
* Thu Nov 05 2020 Fabio Valentini <decathorpe@gmail.com> - 0.7.5-1
|
|
- Update to version 0.7.5.
|
|
- Fixes RHBZ#1883627
|
|
|
|
* Wed Oct 07 2020 Fabio Valentini <decathorpe@gmail.com> - 0.7.2-1
|
|
- Update to version 0.7.2.
|
|
|
|
* Thu Oct 01 2020 Fabio Valentini <decathorpe@gmail.com> - 0.7.1-1
|
|
- Update to version 0.7.1.
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Wed Apr 29 01:28:15 CEST 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.7.0-1
|
|
- Update to 0.7.0
|
|
|
|
* Wed Feb 19 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.6.21-3
|
|
- Fix FTBFS
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.21-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Tue Dec 10 2019 Josh Stone <jistone@redhat.com> - 0.6.21-1
|
|
- Update to 0.6.21
|
|
|
|
* Fri Nov 22 2019 Josh Stone <jistone@redhat.com> - 0.6.20-1
|
|
- Update to 0.6.20
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.19-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Fri Jun 21 21:27:15 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.19-2
|
|
- Regenerate
|
|
|
|
* Sat Jun 01 2019 Josh Stone <jistone@redhat.com> - 0.6.19-1
|
|
- Update to 0.6.19
|
|
|
|
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.16-3
|
|
- Adapt to new packaging
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.16-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Sat Sep 08 2018 Josh Stone <jistone@redhat.com> - 0.6.16-1
|
|
- Update to 0.6.16
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.15-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Wed Jul 11 2018 Josh Stone <jistone@redhat.com> - 0.6.15-1
|
|
- Update to 0.6.15
|
|
|
|
* Fri Jun 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.14-2
|
|
- Bump lazycell to 1
|
|
|
|
* Fri Mar 09 2018 Josh Stone <jistone@redhat.com> - 0.6.14-1
|
|
- Update to 0.6.14
|
|
|
|
* Wed Feb 07 2018 Josh Stone <jistone@redhat.com> - 0.6.13-1
|
|
- Update to 0.6.13
|
|
|
|
* Wed Jan 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.12-1
|
|
- Update to 0.6.12
|
|
|
|
* Fri Dec 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.11-1
|
|
- Update to 0.6.11
|
|
|
|
* Fri Jun 16 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.9-1
|
|
- Initial package
|