Update to version 1.0.0; Fixes RHBZ#2249876

epel10
Fabio Valentini 10 months ago
parent f25469f457
commit 2fbe12ad98
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -6,3 +6,4 @@
/http-body-0.4.3.crate /http-body-0.4.3.crate
/http-body-0.4.4.crate /http-body-0.4.4.crate
/http-body-0.4.5.crate /http-body-0.4.5.crate
/http-body-1.0.0.crate

@ -0,0 +1,25 @@
Copyright (c) 2019 Hyper Contributors
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without
limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice
shall be included in all copies or substantial portions
of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

@ -1,19 +1,21 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate http-body %global crate http-body
Name: rust-http-body Name: rust-http-body
Version: 0.4.5 Version: 1.0.0
Release: %autorelease Release: %autorelease
Summary: Trait representing an asynchronous, streaming, HTTP request or response body Summary: Trait representing an asynchronous, streaming, HTTP request or response body
License: MIT License: MIT
URL: https://crates.io/crates/http-body URL: https://crates.io/crates/http-body
Source: %{crates_source} Source: %{crates_source}
# https://github.com/hyperium/http-body/pull/118
Source: https://github.com/hyperium/http-body/raw/v%{version}/LICENSE
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Trait representing an asynchronous, streaming, HTTP request or response Trait representing an asynchronous, streaming, HTTP request or response
@ -49,8 +51,9 @@ 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
cp -pav %{SOURCE1} .
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires

@ -1 +1 @@
SHA512 (http-body-0.4.5.crate) = d01de0747155283331086f2849d1dccc0387feda576f60d84cdd1bc8817ac82ae131c294b5cf9ddabb7ac91bfdef67bc2ea5fcbbb04f41b473d4c5f5b2ac13d5 SHA512 (http-body-1.0.0.crate) = b351df7a2ec991787a57232229f80a29a648433de25efc1db2c9453d5a09b75c2e8b0101268b6753251c686a2af9ce346e08bd016f4e93891534f428c1d80183

Loading…
Cancel
Save