|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate http
|
|
|
|
%global crate http
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-http
|
|
|
|
Name: rust-http
|
|
|
|
Version: 0.2.9
|
|
|
|
Version: 0.2.10
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Set of types for representing HTTP requests and responses
|
|
|
|
Summary: Set of types for representing HTTP requests and responses
|
|
|
|
|
|
|
|
|
|
|
@ -16,7 +16,7 @@ Source: %{crates_source}
|
|
|
|
# * relax indexmap dev-dependency from <=1.8 to ^1
|
|
|
|
# * relax indexmap dev-dependency from <=1.8 to ^1
|
|
|
|
Patch: http-fix-metadata.diff
|
|
|
|
Patch: http-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
A set of types for representing HTTP requests and responses.}
|
|
|
|
A set of types for representing HTTP requests and responses.}
|
|
|
@ -52,7 +52,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|