exclude more unneeded files

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

@ -10,9 +10,13 @@ Version: 0.1.5
Release: 3%{?dist}
Summary: Determine displayed width of `char` and `str` types
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/unicode-width
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * Exclude more unneeded files
Patch0: unicode-width-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -51,7 +55,6 @@ which use %{crate} from crates.io.
%license LICENSE-MIT LICENSE-APACHE COPYRIGHT
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%exclude %{cargo_registry}/%{crate}-%{version}/scripts
%changelog
* Sun Oct 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.5-3

@ -0,0 +1,11 @@
--- unicode-width-0.1.5/Cargo.toml 1970-01-01T01:00:00+01:00
+++ unicode-width-0.1.5/Cargo.toml 2018-10-07T17:31:37.976997+02:00
@@ -14,7 +14,7 @@
name = "unicode-width"
version = "0.1.5"
authors = ["kwantam <kwantam@gmail.com>"]
-exclude = ["target/*", "Cargo.lock"]
+exclude = ["target/*", "Cargo.lock", "/scripts/*"]
description = "Determine displayed width of `char` and `str` types\naccording to Unicode Standard Annex #11 rules.\n"
homepage = "https://github.com/unicode-rs/unicode-width"
documentation = "https://unicode-rs.github.io/unicode-width"
Loading…
Cancel
Save