From ed537cd9235fff01b1ade0075e27a9e5a91fc4c1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 24 Apr 2019 08:28:26 +0200 Subject: [PATCH] Do not ship random binaries Signed-off-by: Igor Gnatenko --- rust-vte.spec | 3 +++ vte-fix-metadata.diff | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 vte-fix-metadata.diff diff --git a/rust-vte.spec b/rust-vte.spec index f4b0da8..eae6c14 100644 --- a/rust-vte.spec +++ b/rust-vte.spec @@ -13,6 +13,9 @@ Summary: Parser for implementing terminal emulators License: ASL 2.0 or MIT URL: https://crates.io/crates/vte Source: %{crates_source} +# Initial patched metadata +# * Do not ship some random binaries +Patch0: vte-fix-metadata.diff ExclusiveArch: %{rust_arches} diff --git a/vte-fix-metadata.diff b/vte-fix-metadata.diff new file mode 100644 index 0000000..f8a725b --- /dev/null +++ b/vte-fix-metadata.diff @@ -0,0 +1,9 @@ +--- vte-0.3.3/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ vte-0.3.3/Cargo.toml 2019-04-24T06:27:48.320365+00:00 +@@ -20,5 +20,6 @@ + keywords = ["ansi", "vte", "parser", "terminal"] + license = "Apache-2.0 OR MIT" + repository = "https://github.com/jwilm/vte" ++exclude = ["/vim10m_*"] + [dependencies.utf8parse] + version = "0.1"