diff --git a/rand-0.4.2-fix-metadata.diff b/rand-0.4.2-fix-metadata.diff index 1c2d138..81c6ea2 100644 --- a/rand-0.4.2-fix-metadata.diff +++ b/rand-0.4.2-fix-metadata.diff @@ -1,6 +1,14 @@ --- rand-0.4.2/Cargo.toml 1970-01-01T01:00:00+01:00 +++ rand-0.4.2/Cargo.toml 2018-01-06T13:44:52.496038+01:00 -@@ -29,11 +29,6 @@ +@@ -22,6 +22,7 @@ + categories = ["algorithms"] + license = "MIT/Apache-2.0" + repository = "https://github.com/rust-lang-nursery/rand" ++exclude = ["utils/*.py"] + + [features] + alloc = [] +@@ -29,11 +30,6 @@ i128_support = [] nightly = ["i128_support"] std = ["libc"] diff --git a/rust-rand.spec b/rust-rand.spec index 0c5f496..f299368 100644 --- a/rust-rand.spec +++ b/rust-rand.spec @@ -6,13 +6,14 @@ Name: rust-%{crate} Version: 0.4.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Random number generators and other randomness functionality. License: MIT/Apache-2.0 URL: https://crates.io/crates/rand Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata +# * Exclude python utilities Patch0: rand-0.4.2-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -56,6 +57,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Tue Feb 20 2018 Josh Stone - 0.4.2-4 +- Exclude python2 utilities + * Fri Feb 09 2018 Fedora Release Engineering - 0.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild