From 45dad849523a571f14649f5307ab8f6e09b948dd Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 31 Aug 2023 19:01:13 +0200 Subject: [PATCH] Update to version 1.0.3; Fixes RHBZ#2231707 --- .gitignore | 1 + httpdate-fix-metadata.diff | 19 ++++++++++++------- rust-httpdate.spec | 3 +-- sources | 2 +- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index aeea715..3c6cdf7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /httpdate-0.3.2.crate /httpdate-1.0.1.crate /httpdate-1.0.2.crate +/httpdate-1.0.3.crate diff --git a/httpdate-fix-metadata.diff b/httpdate-fix-metadata.diff index 0ffc922..ef4e9e0 100644 --- a/httpdate-fix-metadata.diff +++ b/httpdate-fix-metadata.diff @@ -1,8 +1,13 @@ ---- httpdate-1.0.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ httpdate-1.0.2/Cargo.toml 2023-06-07T20:40:11.426939+00:00 -@@ -23,5 +23,3 @@ - [[bench]] - name = "benchmarks" - harness = false +--- httpdate-1.0.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ httpdate-1.0.3/Cargo.toml 2023-08-31T17:00:17.422070+00:00 +@@ -26,10 +26,3 @@ + ] + license = "MIT OR Apache-2.0" + repository = "https://github.com/pyfisch/httpdate" +- +-[[bench]] +-name = "benchmarks" +-harness = false +- -[dev-dependencies.criterion] --version = "0.3.5" +-version = "0.5" diff --git a/rust-httpdate.spec b/rust-httpdate.spec index aeb035c..5fa6832 100644 --- a/rust-httpdate.spec +++ b/rust-httpdate.spec @@ -5,11 +5,10 @@ %global crate httpdate Name: rust-httpdate -Version: 1.0.2 +Version: 1.0.3 Release: %autorelease Summary: HTTP date parsing and formatting -# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/httpdate Source: %{crates_source} diff --git a/sources b/sources index 02640b8..359222f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (httpdate-1.0.2.crate) = 4d650dbe7ec1d0f457bab71cd009fd92ee296fbe0a6b0c0ce4d71aa3bee720094a03968c08e542be60869350e05b4a1739542c6415e401407345f5643e15f8fd +SHA512 (httpdate-1.0.3.crate) = 0586888fe89f40b838d5ceb083084d0b8058feff1d2933faedb96896dc86eec68b541a0374a508fd11b86eeadab3c62f88568ffe2c53206fad438373a50b2e5a