diff --git a/rust-statistical.spec b/rust-statistical.spec index ac40a67..8d46dfd 100644 --- a/rust-statistical.spec +++ b/rust-statistical.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: 1.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Simple statistics library # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/statistical Source: %{crates_source} +# Initial patched metadata +# * Bump num to 0.3 +Patch0: statistical-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -38,7 +41,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -72,6 +75,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Thu Jul 09 2020 Josh Stone - 1.0.0-6 +- Bump num to 0.3 + * Thu Jan 30 2020 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/statistical-fix-metadata.diff b/statistical-fix-metadata.diff new file mode 100644 index 0000000..ac2ca5e --- /dev/null +++ b/statistical-fix-metadata.diff @@ -0,0 +1,11 @@ +--- statistical-1.0.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ statistical-1.0.0/Cargo.toml 2020-07-10T01:04:02.868150+00:00 +@@ -22,7 +22,7 @@ + license = "MIT" + repository = "https://github.com/JeffBelgum/statistical" + [dependencies.num] +-version = "0.2" ++version = "0.3" + + [dependencies.rand] + version = "0.6"