From ccdb3956015462c5ea497a612be8d834e9ce7228 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 7 Jan 2022 22:29:02 +0100 Subject: [PATCH] Update to version 0.2.6; Fixes RHBZ#2036283 --- .gitignore | 1 + rust-http.spec | 19 ++++++++----------- sources | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 6af2128..95e32a9 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /http-0.2.3.crate /http-0.2.4.crate /http-0.2.5.crate +/http-0.2.6.crate diff --git a/rust-http.spec b/rust-http.spec index 87cfd24..4d0343d 100644 --- a/rust-http.spec +++ b/rust-http.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate http Name: rust-%{crate} -Version: 0.2.5 +Version: 0.2.6 Release: %autorelease Summary: Set of types for representing HTTP requests and responses @@ -15,9 +15,6 @@ URL: https://crates.io/crates/http Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,12 +29,12 @@ 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-MIT LICENSE-APACHE -%doc README.md CHANGELOG.md +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -46,8 +43,8 @@ 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 diff --git a/sources b/sources index d1bd693..aa0f9dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (http-0.2.5.crate) = ec56bea9a6329c82053a757b6d537834985284f22dd677f9bdd335785e8ae71acefce0e07a7fff57c6648d0fae54a8039d71d74936f10a9b5547fd90d2fdf7d0 +SHA512 (http-0.2.6.crate) = ffafa748077a1122d3f7f1b9f34da43f5923dc8cf09b7b492d286d8a924b3fc9949c3df5bebe358b11801adcea8f20d8e8986eeda1e63a2ab92d4ed1fe0e6746