Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent ea6d903194
commit 661569fd54
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,13 +1,12 @@
# Generated by rust2rpm # Generated by rust2rpm 10
# * Tests are run in infrastructure %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate http %global crate http
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.1.17 Version: 0.1.17
Release: 1%{?dist} Release: 2%{?dist}
Summary: Set of types for representing HTTP requests and responses Summary: Set of types for representing HTTP requests and responses
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
@ -16,22 +15,14 @@ URL: https://crates.io/crates/http
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging 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 \ %global _description %{expand:
A set of types for representing HTTP requests and responses. Set of types for representing HTTP requests and responses.}
%description %{_description} %description %{_description}
@ -65,6 +56,9 @@ which use "default" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -77,6 +71,9 @@ which use "default" feature of "%{crate}" crate.
%endif %endif
%changelog %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 * Sat Apr 06 11:06:31 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.17-1
- Update to 0.1.17 - Update to 0.1.17

Loading…
Cancel
Save