|
|
|
# Generated by rust2rpm 10
|
|
|
|
# * futures-timer was removed, needs to be added back
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
%global crate hyper
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.12.30
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Fast and correct HTTP library
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/hyper
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# * Drop internal features
|
|
|
|
Patch0: hyper-fix-metadata.diff
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
Fast and correct HTTP library.}
|
|
|
|
|
|
|
|
%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
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
%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}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+futures-cpupool-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+futures-cpupool-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "futures-cpupool" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+futures-cpupool-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+net2-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+net2-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "net2" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+net2-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+nightly-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+nightly-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "nightly" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+nightly-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+runtime-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+runtime-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "runtime" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+runtime-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+tokio-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "tokio" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+tokio-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-executor-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+tokio-executor-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "tokio-executor" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+tokio-executor-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-reactor-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+tokio-reactor-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "tokio-reactor" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+tokio-reactor-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-tcp-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+tokio-tcp-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "tokio-tcp" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+tokio-tcp-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-threadpool-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+tokio-threadpool-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "tokio-threadpool" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+tokio-threadpool-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-timer-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+tokio-timer-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "tokio-timer" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+tokio-timer-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
# Test files are missing
|
|
|
|
%cargo_test -- --doc
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Jun 21 18:36:23 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.30-2
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
* Fri Jun 14 2019 Josh Stone <jistone@redhat.com> - 0.12.30-1
|
|
|
|
- Update to 0.12.30
|
|
|
|
|
|
|
|
* Sun Jun 02 13:53:51 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.29-1
|
|
|
|
- Update to 0.12.29
|
|
|
|
|
|
|
|
* Tue Apr 30 08:30:54 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.28-1
|
|
|
|
- Update to 0.12.28
|
|
|
|
|
|
|
|
* Sat Apr 13 2019 Josh Stone <jistone@redhat.com> - 0.12.27-1
|
|
|
|
- Update to 0.12.27
|
|
|
|
|
|
|
|
* Wed Apr 10 10:43:57 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.26-2
|
|
|
|
- Drop internal features
|
|
|
|
|
|
|
|
* Wed Apr 10 07:37:59 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.26-1
|
|
|
|
- Update to 0.12.26
|
|
|
|
|
|
|
|
* Fri Mar 01 2019 Josh Stone <jistone@redhat.com> - 0.12.25-1
|
|
|
|
- Update to 0.12.25
|
|
|
|
|
|
|
|
* Mon Feb 11 2019 Josh Stone <jistone@redhat.com> - 0.12.24-1
|
|
|
|
- Update to 0.12.24
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.23-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jan 24 2019 Josh Stone <jistone@redhat.com> - 0.12.23-1
|
|
|
|
- Update to 0.12.23
|
|
|
|
|
|
|
|
* Wed Jan 23 2019 Josh Stone <jistone@redhat.com> - 0.12.22-1
|
|
|
|
- Update to 0.12.22
|
|
|
|
|
|
|
|
* Tue Jan 15 2019 Josh Stone <jistone@redhat.com> - 0.12.21-1
|
|
|
|
- Update to 0.12.21
|
|
|
|
|
|
|
|
* Tue Jan 08 2019 Josh Stone <jistone@redhat.com> - 0.12.20-1
|
|
|
|
- Update to 0.12.20
|
|
|
|
|
|
|
|
* Wed Dec 12 2018 Josh Stone <jistone@redhat.com> - 0.12.18-1
|
|
|
|
- Update to 0.12.18
|
|
|
|
|
|
|
|
* Thu Dec 06 2018 Josh Stone <jistone@redhat.com> - 0.12.17-1
|
|
|
|
- Update to 0.12.17
|
|
|
|
|
|
|
|
* Mon Nov 26 2018 Josh Stone <jistone@redhat.com> - 0.12.16-1
|
|
|
|
- Update to 0.12.16
|
|
|
|
|
|
|
|
* Sun Nov 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.14-1
|
|
|
|
- Update to 0.12.14
|
|
|
|
|
|
|
|
* Mon Oct 22 2018 Josh Stone <jistone@redhat.com> - 0.12.12-1
|
|
|
|
- Update to 0.12.12
|
|
|
|
|
|
|
|
* Fri Sep 28 2018 Josh Stone <jistone@redhat.com> - 0.12.11-1
|
|
|
|
- Update to 0.12.11
|
|
|
|
|
|
|
|
* Mon Sep 17 2018 Josh Stone <jistone@redhat.com> - 0.12.10-1
|
|
|
|
- Update to 0.12.10
|
|
|
|
|
|
|
|
* Sat Sep 08 2018 Josh Stone <jistone@redhat.com> - 0.12.9-1
|
|
|
|
- Update to 0.12.9
|
|
|
|
|
|
|
|
* Sat Aug 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.8-1
|
|
|
|
- Update to 0.12.8
|
|
|
|
|
|
|
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.7-2
|
|
|
|
- Rebuild to trigger tests
|
|
|
|
|
|
|
|
* Tue Jul 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.7-1
|
|
|
|
- Update to 0.12.7
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.6-1
|
|
|
|
- Update to 0.12.6
|
|
|
|
|
|
|
|
* Wed Jul 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.5-1
|
|
|
|
- Update to 0.12.5
|
|
|
|
|
|
|
|
* Sun May 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.26-1
|
|
|
|
- Update to 0.11.26
|
|
|
|
|
|
|
|
* Thu Apr 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.25-1
|
|
|
|
- Update to 0.11.25
|
|
|
|
|
|
|
|
* Fri Mar 23 2018 Josh Stone <jistone@redhat.com> - 0.11.24-1
|
|
|
|
- Update to 0.11.24
|
|
|
|
|
|
|
|
* Thu Mar 22 2018 Josh Stone <jistone@redhat.com> - 0.11.23-1
|
|
|
|
- Update to 0.11.23
|
|
|
|
|
|
|
|
* Fri Mar 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.22-1
|
|
|
|
- Initial package
|