Exclude unneeded files

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 5 years ago
parent 3a68e35245
commit b9c4e7fb12
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -0,0 +1,16 @@
--- brotli-3.3.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ brotli-3.3.0/Cargo.toml 2019-12-14T19:13:13.405220+00:00
@@ -22,6 +22,13 @@
keywords = ["brotli", "decompression", "lz77", "huffman", "nostd"]
license = "BSD-3-Clause/MIT"
repository = "https://github.com/dropbox/rust-brotli"
+exclude = [
+ "/ci/*",
+ "/research/*",
+ "/.travis.yml",
+ "/appveyor.yml",
+ "/uncorrode.py",
+]
[profile.release]
lto = true
incremental = false

@ -22,6 +22,9 @@ Summary: Brotli compressor and decompressor avoiding the rust stdlib
License: BSD License: BSD
URL: https://crates.io/crates/brotli URL: https://crates.io/crates/brotli
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * Exclude unneeded files, https://github.com/dropbox/rust-brotli/pull/43
Patch0: brotli-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build} %if %{__cargo_skip_build}

Loading…
Cancel
Save