From c586123a6d0595a9d579a88b49814dfd739d84bc Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 9 Dec 2021 18:58:22 +0100 Subject: [PATCH] Update to version 0.15.1; Fixes RHBZ#1933189 --- .gitignore | 1 + cookie-fix-metadata.diff | 4 +- rust-cookie.spec | 79 ++++++++++++++++++++++------------------ sources | 2 +- 4 files changed, 48 insertions(+), 38 deletions(-) diff --git a/.gitignore b/.gitignore index b60250c..5409b19 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /cookie-0.14.2.crate /cookie-0.14.3.crate /cookie-0.14.4.crate +/cookie-0.15.1.crate diff --git a/cookie-fix-metadata.diff b/cookie-fix-metadata.diff index 148ff5f..30ec808 100644 --- a/cookie-fix-metadata.diff +++ b/cookie-fix-metadata.diff @@ -1,5 +1,5 @@ ---- cookie-0.14.4/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ cookie-0.14.4/Cargo.toml 2021-08-24T20:57:01.612708+00:00 +--- cookie-0.15.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ cookie-0.15.1/Cargo.toml 2021-12-09T17:47:59.041554+00:00 @@ -24,7 +24,7 @@ [package.metadata.docs.rs] all-features = true diff --git a/rust-cookie.spec b/rust-cookie.spec index d075592..d18a651 100644 --- a/rust-cookie.spec +++ b/rust-cookie.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate cookie Name: rust-%{crate} -Version: 0.14.4 +Version: 0.15.1 Release: %autorelease Summary: HTTP cookie parsing and cookie jar management @@ -23,9 +23,6 @@ Patch0: cookie-fix-metadata.diff Patch1: 0001-port-to-crypto-mac-0.11.patch ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -41,12 +38,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 @@ -55,8 +52,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 @@ -67,8 +64,8 @@ BuildArch: noarch %description -n %{name}+aes-gcm-devel %{_description} -This package contains library source intended for building other packages -which use "aes-gcm" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "aes-gcm" feature of the "%{crate}" crate. %files -n %{name}+aes-gcm-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -79,8 +76,8 @@ BuildArch: noarch %description -n %{name}+base64-devel %{_description} -This package contains library source intended for building other packages -which use "base64" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "base64" feature of the "%{crate}" crate. %files -n %{name}+base64-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -91,8 +88,8 @@ BuildArch: noarch %description -n %{name}+hkdf-devel %{_description} -This package contains library source intended for building other packages -which use "hkdf" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "hkdf" feature of the "%{crate}" crate. %files -n %{name}+hkdf-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -103,8 +100,8 @@ BuildArch: noarch %description -n %{name}+hmac-devel %{_description} -This package contains library source intended for building other packages -which use "hmac" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "hmac" feature of the "%{crate}" crate. %files -n %{name}+hmac-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -115,8 +112,8 @@ BuildArch: noarch %description -n %{name}+key-expansion-devel %{_description} -This package contains library source intended for building other packages -which use "key-expansion" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "key-expansion" feature of the "%{crate}" crate. %files -n %{name}+key-expansion-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -127,8 +124,8 @@ BuildArch: noarch %description -n %{name}+percent-encode-devel %{_description} -This package contains library source intended for building other packages -which use "percent-encode" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "percent-encode" feature of the "%{crate}" crate. %files -n %{name}+percent-encode-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -139,8 +136,8 @@ BuildArch: noarch %description -n %{name}+percent-encoding-devel %{_description} -This package contains library source intended for building other packages -which use "percent-encoding" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "percent-encoding" feature of the "%{crate}" crate. %files -n %{name}+percent-encoding-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -151,8 +148,8 @@ BuildArch: noarch %description -n %{name}+private-devel %{_description} -This package contains library source intended for building other packages -which use "private" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "private" feature of the "%{crate}" crate. %files -n %{name}+private-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -163,8 +160,8 @@ BuildArch: noarch %description -n %{name}+rand-devel %{_description} -This package contains library source intended for building other packages -which use "rand" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "rand" feature of the "%{crate}" crate. %files -n %{name}+rand-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -175,8 +172,8 @@ BuildArch: noarch %description -n %{name}+secure-devel %{_description} -This package contains library source intended for building other packages -which use "secure" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "secure" feature of the "%{crate}" crate. %files -n %{name}+secure-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -187,8 +184,8 @@ BuildArch: noarch %description -n %{name}+sha2-devel %{_description} -This package contains library source intended for building other packages -which use "sha2" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "sha2" feature of the "%{crate}" crate. %files -n %{name}+sha2-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -199,12 +196,24 @@ BuildArch: noarch %description -n %{name}+signed-devel %{_description} -This package contains library source intended for building other packages -which use "signed" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "signed" feature of the "%{crate}" crate. %files -n %{name}+signed-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+subtle-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+subtle-devel %{_description} + +This package contains library source intended for building other packages which +use the "subtle" feature of the "%{crate}" crate. + +%files -n %{name}+subtle-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 22ae260..dd49b8e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cookie-0.14.4.crate) = ce9c57c7a738ed5b772b0e6d6b1fe49ff2486eea366b5883c804939a8fe5fdc3969e325712388e0a0beeae1af4bd09f84c086765566c061da136c34a424f58ff +SHA512 (cookie-0.15.1.crate) = 1ea4b8508038860376ea7611928928a8009f4b6d5903a53185ec24b345ba0a16d7f054aeed2dd6e7257962a073670b9c2fd0fcec2d901bcdeca2a65a5ac4ed1a