From 8ee55dc14cf37053c6bea5cb1186782b7cbc62a0 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 10 Jun 2024 18:47:06 +0200 Subject: [PATCH] Update to version 1.2.0; Fixes RHBZ#2290611 --- .gitignore | 1 + os_pipe-fix-metadata-auto.diff | 7 +++---- rust-os_pipe.spec | 8 ++++---- sources | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index c0e9bd2..e91495a 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /os_pipe-1.1.3.crate /os_pipe-1.1.4.crate /os_pipe-1.1.5.crate +/os_pipe-1.2.0.crate diff --git a/os_pipe-fix-metadata-auto.diff b/os_pipe-fix-metadata-auto.diff index a02aaad..4c3292f 100644 --- a/os_pipe-fix-metadata-auto.diff +++ b/os_pipe-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- os_pipe-1.1.5/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ os_pipe-1.1.5/Cargo.toml 2024-03-08T21:40:08.657756+00:00 -@@ -35,11 +35,3 @@ +--- os_pipe-1.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ os_pipe-1.2.0/Cargo.toml 2024-06-10T16:42:16.801365+00:00 +@@ -33,10 +33,3 @@ [target."cfg(not(windows))".dependencies.libc] version = "0.2.62" @@ -10,5 +10,4 @@ - "Win32_Foundation", - "Win32_System_Pipes", - "Win32_Security", -- "Win32_System_Threading", -] diff --git a/rust-os_pipe.spec b/rust-os_pipe.spec index 86463da..04da780 100644 --- a/rust-os_pipe.spec +++ b/rust-os_pipe.spec @@ -8,7 +8,7 @@ %global crate os_pipe Name: rust-os_pipe -Version: 1.1.5 +Version: 1.2.0 Release: %autorelease Summary: Cross-platform library for opening OS pipes @@ -19,6 +19,9 @@ Source: %{crates_source} Patch: os_pipe-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 26 +%if %{with check} +BuildRequires: /usr/bin/python +%endif %global _description %{expand: A cross-platform library for opening OS pipes.} @@ -69,9 +72,6 @@ use the "io_safety" feature of the "%{crate}" crate. %generate_buildrequires %cargo_generate_buildrequires -%if %{with check} -echo '/usr/bin/python' -%endif %build %cargo_build diff --git a/sources b/sources index 4c72918..ed6bb71 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (os_pipe-1.1.5.crate) = d862484e9a0594f31e45531fac9a892fe247c1003a9c365a28083c0b5132719fe6fcd7ed996716a4baddf1f8ec4857d62d05663d3fd7ecee5802005c55368048 +SHA512 (os_pipe-1.2.0.crate) = 77662eabc70f034882da4662c6f9def1796e6564f0965beae961998ed29d47ddae8ef3b8c9e612b46ee6ab907db49a6259f8d586156ea88f4e0431fa306211eb