From 2bc51d6fd099126d91156ca7d108ff3e8393e834 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 8 Jan 2024 17:10:21 +0100 Subject: [PATCH] Update to version 1.0.0; Fixes RHBZ#2249516 --- .gitignore | 1 + http-fix-metadata.diff | 4 ++-- rust-http.spec | 14 +++++++++++++- sources | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ded1ae6..c4800f8 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ /http-0.2.8.crate /http-0.2.9.crate /http-0.2.10.crate +/http-1.0.0.crate diff --git a/http-fix-metadata.diff b/http-fix-metadata.diff index d1489bf..bc429ec 100644 --- a/http-fix-metadata.diff +++ b/http-fix-metadata.diff @@ -1,5 +1,5 @@ ---- http-0.2.10/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ http-0.2.10/Cargo.toml 2023-11-10T16:27:53.204477+00:00 +--- http-1.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ http-1.0.0/Cargo.toml 2024-01-08T16:08:36.347776+00:00 @@ -42,7 +42,7 @@ version = "0.3" diff --git a/rust-http.spec b/rust-http.spec index 3213195..71f905e 100644 --- a/rust-http.spec +++ b/rust-http.spec @@ -5,7 +5,7 @@ %global crate http Name: rust-http -Version: 0.2.10 +Version: 1.0.0 Release: %autorelease Summary: Set of types for representing HTTP requests and responses @@ -51,6 +51,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep diff --git a/sources b/sources index 7e1516b..6f77445 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (http-0.2.10.crate) = 7d0108fd1c6f7e0945be1694e068d655c420fc502941dfe6890f71dc3c9826444ad1041caf826e74cf436ba37d9c12b5ac676d7a038287843ebf65d691d39800 +SHA512 (http-1.0.0.crate) = bfac8a984ff0decfe7c75d89e3847d2af150b6b5f852d715e78f00210b7b2394527e98cb1198dcf7a534fad5e0dcaacd6538020d7424d4daeadfa88b481a583b