|
|
|
@ -1,13 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate http
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.1.17
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Set of types for representing HTTP requests and responses
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -16,22 +15,14 @@ URL: https://crates.io/crates/http
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(bytes/default) >= 0.4.0 with crate(bytes/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(fnv/default) >= 1.0.5 with crate(fnv/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(itoa/default) >= 0.4.1 with crate(itoa/default) < 0.5.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(indexmap/default) >= 1.0.0 with crate(indexmap/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(quickcheck/default) >= 0.6.0 with crate(quickcheck/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(seahash/default) >= 3.0.5 with crate(seahash/default) < 4.0.0)
|
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
A set of types for representing HTTP requests and responses.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Set of types for representing HTTP requests and responses.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -65,6 +56,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -77,6 +71,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 21 21:08:11 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.17-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sat Apr 06 11:06:31 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.17-1
|
|
|
|
|
- Update to 0.1.17
|
|
|
|
|
|
|
|
|
|