From 687d9cd3d9b39cb55033feff11d05ec548b2a59e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 28 Jun 2021 12:33:03 +0200 Subject: [PATCH] update to version 0.5.0 --- .gitignore | 1 + rust-approx.spec | 21 +++++++++++---------- sources | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index ed4e78f..34366f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /approx-0.3.0.crate /approx-0.3.1.crate /approx-0.3.2.crate +/approx-0.5.0.crate diff --git a/rust-approx.spec b/rust-approx.spec index ddb2844..567417f 100644 --- a/rust-approx.spec +++ b/rust-approx.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 17 %bcond_without check %global debug_package %{nil} %global crate approx Name: rust-%{crate} -Version: 0.3.2 -Release: 8%{?dist} +Version: 0.5.0 +Release: 1%{?dist} Summary: Approximate floating point equality comparisons and assertions # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: https://crates.io/crates/approx Source: %{crates_source} -# Initial patched metadata -# * Update num-complex to 0.3 -Patch0: approx-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -41,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -53,7 +50,7 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+num-complex-devel Summary: %{summary} @@ -65,7 +62,7 @@ This package contains library source intended for building other packages which use "num-complex" feature of "%{crate}" crate. %files -n %{name}+num-complex-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -77,7 +74,7 @@ This package contains library source intended for building other packages which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -98,6 +95,10 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Mon Jun 28 2021 Fabio Valentini - 0.5.0-1 +- Update to version 0.5.0. +- Fixes RHBZ#1891311 + * Wed Jan 27 2021 Fedora Release Engineering - 0.3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 6a28816..90d3ffc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (approx-0.3.2.crate) = 3853684c3b1c5c63204304f2e4f1c673b92311125c1df0fc16e96bd6f765e8266079e8d4ec3c85fad933361638c7515d5be18a2fc551353c4097051d0bd96ae3 +SHA512 (approx-0.5.0.crate) = 4c7ef7d54b6a9fac11587fd16638d36d8738e5156f5abf77cd994056377427f12170b61c03d1acf591dbb897911babc852c2a4a12b3c5277e1065d952c9e7dc6