From d90f871d77b076a3fb138513ee234ccca7ed7a6d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 11 Nov 2022 13:21:01 +0100 Subject: [PATCH] Update to version 0.2.6; Fixes RHBZ#2141165 --- .gitignore | 1 + libm-fix-metadata.diff | 8 ++++---- rust-libm.spec | 6 ++---- sources | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 695372d..2b787b4 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /libm-0.2.2.crate /libm-0.2.3.crate /libm-0.2.5.crate +/libm-0.2.6.crate diff --git a/libm-fix-metadata.diff b/libm-fix-metadata.diff index abc6dd3..3e2d70b 100644 --- a/libm-fix-metadata.diff +++ b/libm-fix-metadata.diff @@ -1,9 +1,9 @@ ---- libm-0.2.5/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ libm-0.2.5/Cargo.toml 2022-08-20T20:12:55.550260+00:00 -@@ -25,6 +25,7 @@ +--- libm-0.2.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ libm-0.2.6/Cargo.toml 2022-11-11T12:19:03.573444+00:00 +@@ -24,6 +24,7 @@ + categories = ["no-std"] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/libm" - resolver = "1" +exclude = ["/ci/"] [profile.release] diff --git a/rust-libm.spec b/rust-libm.spec index 4e66efd..ec1eaf3 100644 --- a/rust-libm.spec +++ b/rust-libm.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate libm Name: rust-libm -Version: 0.2.5 +Version: 0.2.6 Release: %autorelease Summary: Libm in pure Rust @@ -17,8 +17,6 @@ Source: %{crates_source} # https://github.com/japaric/libm/pull/148 Patch: libm-fix-metadata.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: diff --git a/sources b/sources index 8217dd1..fd61bed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libm-0.2.5.crate) = 4d56501fdc86011f1b707b349c409564c85c2484b185adf9dc5d5a8a8fcca8c0e172c95ee5dbfb428b7b13d8cfb1e23c596d3ae3bfa878f2019fabd3258c7863 +SHA512 (libm-0.2.6.crate) = 6ba263c95f1c555e66fbc5a5f7d0f2aca4e20f6aaeca27c3baa4d17aa00b88830334736fc58d268d98e50bcab65220507b0d8e7973fcdbf14600ab3f20c34a56