From d7c9ec235e5b848c942a530b4aa3d76cdbc38d1b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 29 Jul 2024 15:37:11 +0200 Subject: [PATCH] Update to version 0.11.4; Fixes RHBZ#2254429 --- .gitignore | 1 + annotate-snippets-fix-metadata.diff | 14 +++++++------- rust-annotate-snippets.spec | 5 +++-- rust2rpm.toml | 4 ++++ sources | 2 +- 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 23deef2..968e44a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /annotate-snippets-0.9.1.crate /annotate-snippets-0.9.2.crate /annotate-snippets-0.10.2.crate +/annotate-snippets-0.11.4.crate diff --git a/annotate-snippets-fix-metadata.diff b/annotate-snippets-fix-metadata.diff index ee91325..f67bd7a 100644 --- a/annotate-snippets-fix-metadata.diff +++ b/annotate-snippets-fix-metadata.diff @@ -1,12 +1,12 @@ ---- annotate-snippets-0.10.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ annotate-snippets-0.10.2/Cargo.toml 2024-05-13T21:08:01.565738+00:00 -@@ -75,9 +75,6 @@ - [dependencies.unicode-width] - version = "0.1.11" +--- annotate-snippets-0.11.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ annotate-snippets-0.11.4/Cargo.toml 2024-07-26T17:54:32.355598+00:00 +@@ -116,9 +116,6 @@ + [dev-dependencies.anstream] + version = "0.6.13" +- -[dev-dependencies.criterion] -version = "0.5.1" -- + [dev-dependencies.difference] version = "2.0.0" - diff --git a/rust-annotate-snippets.spec b/rust-annotate-snippets.spec index cd85eff..9f782f0 100644 --- a/rust-annotate-snippets.spec +++ b/rust-annotate-snippets.spec @@ -1,11 +1,12 @@ # Generated by rust2rpm 26 -%bcond_without check +# * missing dev-dependency: tryfn ^0.2.1 +%bcond_with check %global debug_package %{nil} %global crate annotate-snippets Name: rust-annotate-snippets -Version: 0.10.2 +Version: 0.11.4 Release: %autorelease Summary: Library for building code annotations diff --git a/rust2rpm.toml b/rust2rpm.toml index 2cd7101..d3814c1 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -3,3 +3,7 @@ cargo-toml-patch-comments = [ "drop unused, benchmark-only criterion dev-dependency", ] +[tests] +run = ["none"] +comments = ["missing dev-dependency: tryfn ^0.2.1"] + diff --git a/sources b/sources index 52996d9..375a899 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annotate-snippets-0.10.2.crate) = 634033be2727d7bbcab48c7bfe94e98e6c07158bd24796596a4ede2418df97549d89d3d64ccb505b033dcc149af1884f967a2c805556849b233d1f4fee109375 +SHA512 (annotate-snippets-0.11.4.crate) = f8d22a5a0e17cf665261e1cb38d773005bd52097a11c75682ee4320c2fd44326fa2c0b7b72751e474230b109629d1886227d2131cb5fe1f021c5aa4c5a33defc