Exclude python2 utilities

epel9
Josh Stone 7 years ago
parent 2591ec1495
commit 56f495f305

@ -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"]

@ -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 <jistone@redhat.com> - 0.4.2-4
- Exclude python2 utilities
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save