diff --git a/.gitignore b/.gitignore index da45d8b..9108950 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /http-body-0.4.2.crate /http-body-0.4.3.crate /http-body-0.4.4.crate +/http-body-0.4.5.crate diff --git a/rust-http-body.spec b/rust-http-body.spec index 424ed00..5de39b8 100644 --- a/rust-http-body.spec +++ b/rust-http-body.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate http-body Name: rust-%{crate} -Version: 0.4.4 +Version: 0.4.5 Release: %autorelease Summary: Trait representing an asynchronous, streaming, HTTP request or response body @@ -15,11 +15,8 @@ URL: https://crates.io/crates/http-body Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Trait representing an asynchronous, streaming, HTTP request or response body.} @@ -32,13 +29,14 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +44,11 @@ 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. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 57c0da7..75d3e93 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (http-body-0.4.4.crate) = cbfa91e31e91807f004df77a9d8999b1224f862d4765ba92ad4d34d288fcab67372734295f30760a96eb32454d78fc527c6519eb45b484e341617686e743381c +SHA512 (http-body-0.4.5.crate) = d01de0747155283331086f2849d1dccc0387feda576f60d84cdd1bc8817ac82ae131c294b5cf9ddabb7ac91bfdef67bc2ea5fcbbb04f41b473d4c5f5b2ac13d5