From bedd7d5c680d998337b94ffaa20fb54b5decc7e6 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 10 Feb 2020 15:42:26 -0800 Subject: [PATCH] Update to 0.4.8 --- .gitignore | 1 + proc-macro-error-fix-metadata.diff | 11 +++++++++++ rust-proc-macro-error.spec | 14 +++++++++++--- sources | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 proc-macro-error-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 3e81424..1cbd79c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /proc-macro-error-0.4.4.crate /proc-macro-error-0.4.5.crate +/proc-macro-error-0.4.8.crate diff --git a/proc-macro-error-fix-metadata.diff b/proc-macro-error-fix-metadata.diff new file mode 100644 index 0000000..dae4fec --- /dev/null +++ b/proc-macro-error-fix-metadata.diff @@ -0,0 +1,11 @@ +--- proc-macro-error-0.4.8/Cargo.toml 2020-02-01T07:59:15+00:00 ++++ proc-macro-error-0.4.8/Cargo.toml 2020-02-10T23:21:17.287164+00:00 +@@ -38,7 +38,7 @@ + version = "1.0" + + [dev-dependencies.toml] +-version = "=0.5.2" ++version = "0.5.2" + + [dev-dependencies.trybuild] + version = "1.0.19" diff --git a/rust-proc-macro-error.spec b/rust-proc-macro-error.spec index e53da52..2e49201 100644 --- a/rust-proc-macro-error.spec +++ b/rust-proc-macro-error.spec @@ -1,18 +1,22 @@ # Generated by rust2rpm 13 -%bcond_without check +# Tests depend on the test-crate that's not in the published sources +%bcond_with check %global debug_package %{nil} %global crate proc-macro-error Name: rust-%{crate} -Version: 0.4.5 -Release: 2%{?dist} +Version: 0.4.8 +Release: 1%{?dist} Summary: Almost drop-in replacement to panics in proc-macros # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/proc-macro-error Source: %{crates_source} +# Initial patched metadata +# * unpin the toml dependency +Patch0: proc-macro-error-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -36,6 +40,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel +%doc README.md CHANGELOG.md %license LICENSE-APACHE LICENSE-MIT %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -70,6 +75,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon Feb 10 2020 Josh Stone - 0.4.8-1 +- Update to 0.4.8 + * Thu Jan 30 2020 Fedora Release Engineering - 0.4.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 394d8a0..65cc01f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (proc-macro-error-0.4.5.crate) = 507e3e2b22a4bd9baf24b8a8a943047785a658b75106679db58d51b053c06b631e4eabbc378ec20df7c77a4d9fd4b1e2a90676c710c9c3765fc76098c6585bc8 +SHA512 (proc-macro-error-0.4.8.crate) = fdbc7d9e67b49c94815d77bd53128c12f67d23771883781eaa8f41c403674963ae58db30146fc159c824ae37a0b86ef18efff01869605e0b94959bbfbf0b09fc