diff --git a/.gitignore b/.gitignore index 34366f7..cfbf503 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /approx-0.3.1.crate /approx-0.3.2.crate /approx-0.5.0.crate +/approx-0.5.1.crate diff --git a/approx-fix-metadata.diff b/approx-fix-metadata.diff deleted file mode 100644 index cff615e..0000000 --- a/approx-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- approx-0.3.2/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ approx-0.3.2/Cargo.toml 2020-07-10T00:49:16.261259+00:00 -@@ -27,7 +27,7 @@ - [lib] - name = "approx" - [dependencies.num-complex] --version = "0.2.0" -+version = "0.3.0" - optional = true - - [dependencies.num-traits] diff --git a/rust-approx.spec b/rust-approx.spec index 8711f07..fa619d3 100644 --- a/rust-approx.spec +++ b/rust-approx.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate approx Name: rust-%{crate} -Version: 0.5.0 +Version: 0.5.1 Release: %autorelease Summary: Approximate floating point equality comparisons and assertions @@ -15,9 +15,6 @@ URL: https://crates.io/crates/approx Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,8 +29,8 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE @@ -46,8 +43,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -58,8 +55,8 @@ BuildArch: noarch %description -n %{name}+num-complex-devel %{_description} -This package contains library source intended for building other packages -which use "num-complex" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "num-complex" feature of the "%{crate}" crate. %files -n %{name}+num-complex-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -70,8 +67,8 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 90d3ffc..0a174ef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (approx-0.5.0.crate) = 4c7ef7d54b6a9fac11587fd16638d36d8738e5156f5abf77cd994056377427f12170b61c03d1acf591dbb897911babc852c2a4a12b3c5277e1065d952c9e7dc6 +SHA512 (approx-0.5.1.crate) = c6d768496c974b6ff4cf7ad8e65f3fc9faf29a1957da497968ee112c6a0b9d7a0ff9a2579206e864976c0f65ed2190bc9d2b63b31a09ced7b57879e207c46407