From 4b24f670d54f304cf2abc765074ab00b134645f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Lauzier?= Date: Thu, 26 Aug 2021 00:05:27 -0400 Subject: [PATCH] Update to version 0.6; Fixes RHBZ#1996402 --- .gitignore | 1 + rust-svgtypes.spec | 17 +++++------------ sources | 2 +- svgtypes-fix-metadata.diff | 15 --------------- 4 files changed, 7 insertions(+), 28 deletions(-) delete mode 100644 svgtypes-fix-metadata.diff diff --git a/.gitignore b/.gitignore index c4ab90f..3e6db90 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /svgtypes-0.5.0.crate +/svgtypes-0.6.0.crate diff --git a/rust-svgtypes.spec b/rust-svgtypes.spec index efe9066..955f1b2 100644 --- a/rust-svgtypes.spec +++ b/rust-svgtypes.spec @@ -1,13 +1,11 @@ -# Generated by rust2rpm 17 -# Deactivate doctest since it don't work in release mode -# https://github.com/RazrFalcon/svgtypes/issues/10 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate svgtypes Name: rust-%{crate} -Version: 0.5.0 +Version: 0.6.0 Release: %autorelease Summary: SVG types parser and writer @@ -15,11 +13,6 @@ Summary: SVG types parser and writer License: MIT or ASL 2.0 URL: https://crates.io/crates/svgtypes Source: %{crates_source} -# Initial patched metadata -# * Update float-cmp to 0.8 -# * Update siphasher to 0.3 -# https://github.com/RazrFalcon/svgtypes/pull/9 -Patch0: svgtypes-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -43,8 +36,8 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md CHANGELOG.md README.tpl +%license LICENSE-MIT LICENSE-APACHE +%doc README.tpl README.md CHANGELOG.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -74,7 +67,7 @@ which use "default" feature of "%{crate}" crate. %if %{with check} %check -%cargo_test -- --lib +%cargo_test %endif %changelog diff --git a/sources b/sources index 2b57d52..457de3c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (svgtypes-0.5.0.crate) = f030edc403c1df70cde167e6c94759122a0f757bc642a75829584f65bdb97f90226392e329554d8785fdeb4277b0221a6d9f137f614adca556c738c62b2c261a +SHA512 (svgtypes-0.6.0.crate) = faec8851cabec04846974d28b915e14a22bed89f914a2d7c182460a8707e3f90dba6cf5a13c3ed58d69d1f35d0dd1d0b30a3f1a795bf3e4e019e9a59932d6f38 diff --git a/svgtypes-fix-metadata.diff b/svgtypes-fix-metadata.diff deleted file mode 100644 index aa2b94d..0000000 --- a/svgtypes-fix-metadata.diff +++ /dev/null @@ -1,15 +0,0 @@ ---- svgtypes-0.5.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ svgtypes-0.5.0/Cargo.toml 2021-06-13T04:00:19.119018+00:00 -@@ -22,10 +22,9 @@ - license = "MIT/Apache-2.0" - repository = "https://github.com/RazrFalcon/svgtypes" - [dependencies.float-cmp] --version = "0.5" --default-features = false -+version = "0.8" - - [dependencies.siphasher] --version = "0.2.3" -+version = "0.3" - [badges.travis-ci] - repository = "RazrFalcon/svgtypes"