diff --git a/.gitignore b/.gitignore index 681344a..23deef2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /annotate-snippets-0.9.1.crate /annotate-snippets-0.9.2.crate +/annotate-snippets-0.10.2.crate diff --git a/annotate-snippets-fix-metadata.diff b/annotate-snippets-fix-metadata.diff index 2399ff6..ee91325 100644 --- a/annotate-snippets-fix-metadata.diff +++ b/annotate-snippets-fix-metadata.diff @@ -1,12 +1,12 @@ ---- annotate-snippets-0.9.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ annotate-snippets-0.9.2/Cargo.toml 2023-11-10T16:35:07.863221+00:00 -@@ -37,9 +37,6 @@ - version = "0.1" - optional = true +--- 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" -[dev-dependencies.criterion] --version = "0.3" +-version = "0.5.1" - [dev-dependencies.difference] - version = "2.0" + version = "2.0.0" diff --git a/rust-annotate-snippets.spec b/rust-annotate-snippets.spec index f6a27de..cd85eff 100644 --- a/rust-annotate-snippets.spec +++ b/rust-annotate-snippets.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate annotate-snippets Name: rust-annotate-snippets -Version: 0.9.2 +Version: 0.10.2 Release: %autorelease Summary: Library for building code annotations @@ -52,28 +52,16 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+color-devel +%package -n %{name}+testing-colors-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+color-devel %{_description} +%description -n %{name}+testing-colors-devel %{_description} This package contains library source intended for building other packages which -use the "color" feature of the "%{crate}" crate. +use the "testing-colors" feature of the "%{crate}" crate. -%files -n %{name}+color-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+yansi-term-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+yansi-term-devel %{_description} - -This package contains library source intended for building other packages which -use the "yansi-term" feature of the "%{crate}" crate. - -%files -n %{name}+yansi-term-devel +%files -n %{name}+testing-colors-devel %ghost %{crate_instdir}/Cargo.toml %prep diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..2cd7101 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,5 @@ +[package] +cargo-toml-patch-comments = [ + "drop unused, benchmark-only criterion dev-dependency", +] + diff --git a/sources b/sources index 981ea2c..52996d9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annotate-snippets-0.9.2.crate) = 668202780b4822d4cbbb654346eba1d36b6b47e0047df55f233768cff73ecd53220c8613179cede942a0bd2373eac753b29803e91924f1037dac1135a0690013 +SHA512 (annotate-snippets-0.10.2.crate) = 634033be2727d7bbcab48c7bfe94e98e6c07158bd24796596a4ede2418df97549d89d3d64ccb505b033dcc149af1884f967a2c805556849b233d1f4fee109375