From 0ce5c1bf1c6ad7935d9c5b754072fc2b0fd5499e Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 9 Jul 2020 18:18:29 -0700 Subject: [PATCH] Bump num to 0.3 --- num-derive-fix-metadata.diff | 11 +++++++++++ rust-num-derive.spec | 16 +++++++++++----- 2 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 num-derive-fix-metadata.diff diff --git a/num-derive-fix-metadata.diff b/num-derive-fix-metadata.diff new file mode 100644 index 0000000..7e9518e --- /dev/null +++ b/num-derive-fix-metadata.diff @@ -0,0 +1,11 @@ +--- num-derive-0.3.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ num-derive-0.3.0/Cargo.toml 2020-07-10T01:00:31.873466+00:00 +@@ -46,7 +46,7 @@ + [dependencies.syn] + version = "1" + [dev-dependencies.num] +-version = "0.2" ++version = "0.3" + + [dev-dependencies.num-traits] + version = "0.2" diff --git a/rust-num-derive.spec b/rust-num-derive.spec index 39f5a15..e9ed691 100644 --- a/rust-num-derive.spec +++ b/rust-num-derive.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Numeric syntax extensions # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/num-derive Source: %{crates_source} +# Initial patched metadata +# * Bump num to 0.3 +Patch0: num-derive-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -38,7 +41,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md RELEASES.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +53,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}+full-syntax-devel Summary: %{summary} @@ -62,7 +65,7 @@ This package contains library source intended for building other packages which use "full-syntax" feature of "%{crate}" crate. %files -n %{name}+full-syntax-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 @@ -83,6 +86,9 @@ which use "full-syntax" feature of "%{crate}" crate. %endif %changelog +* Thu Jul 09 2020 Josh Stone - 0.3.0-3 +- Bump num to 0.3 + * Thu Jan 30 2020 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild