From a1cb7346b0e115c4f95f0986a6773dd0124a5562 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: May 12 2022 13:43:50 +0000 Subject: Update to version 0.2.7; Fixes RHBZ#2080047 --- diff --git a/.gitignore b/.gitignore index 95e32a9..7a99e49 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /http-0.2.4.crate /http-0.2.5.crate /http-0.2.6.crate +/http-0.2.7.crate diff --git a/rust-http.spec b/rust-http.spec index 4d0343d..3e8c7e3 100644 --- a/rust-http.spec +++ b/rust-http.spec @@ -1,22 +1,22 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate http Name: rust-%{crate} -Version: 0.2.6 +Version: 0.2.7 Release: %autorelease Summary: Set of types for representing HTTP requests and responses -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/http Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Set of types for representing HTTP requests and responses.} @@ -33,9 +33,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +49,7 @@ 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 aa0f9dd..2b86fd5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (http-0.2.6.crate) = ffafa748077a1122d3f7f1b9f34da43f5923dc8cf09b7b492d286d8a924b3fc9949c3df5bebe358b11801adcea8f20d8e8986eeda1e63a2ab92d4ed1fe0e6746 +SHA512 (http-0.2.7.crate) = ab0227703cf3721d15de8b8e7aea441611d038928f60e04c6a7d40a66b1c1a4107c86848fe64376ba3ba99a3135ca1f60f2bc240b7f55251f110835576b88eeb