exclude more unneeded files

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

@ -1,11 +0,0 @@
--- regex-1.0.2/Cargo.toml 1970-01-01T01:00:00+01:00
+++ regex-1.0.2/Cargo.toml 2018-07-19T03:37:55.434512+02:00
@@ -95,8 +95,6 @@
[features]
default = ["use_std"]
-pattern = []
-unstable = ["pattern"]
use_std = []
[badges.appveyor]
repository = "rust-lang-libs/regex"

@ -0,0 +1,10 @@
--- regex-1.0.5/Cargo.toml 1970-01-01T01:00:00+01:00
+++ regex-1.0.5/Cargo.toml 2018-10-07T20:03:14.619201+02:00
@@ -22,6 +22,7 @@
categories = ["text-processing"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang/regex"
+exclude = ["/.travis.yml", "/appveyor.yml", "/ci/*", "/scripts/*"]
[profile.test]
debug = true

@ -7,7 +7,7 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.0.5 Version: 1.0.5
Release: 1%{?dist} Release: 2%{?dist}
Summary: Implementation of regular expressions for Rust Summary: Implementation of regular expressions for Rust
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
@ -15,8 +15,8 @@ License: MIT or ASL 2.0
URL: https://crates.io/crates/regex URL: https://crates.io/crates/regex
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata # Initial patched metadata
# * No unstable features # * Exclude unneeded files, https://github.com/rust-lang/regex/pull/520
Patch0: regex-1.0.2-fix-metadata.diff Patch0: regex-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
@ -67,9 +67,11 @@ which use %{crate} from crates.io.
%license LICENSE-MIT LICENSE-APACHE %license LICENSE-MIT LICENSE-APACHE
%doc README.md CHANGELOG.md HACKING.md PERFORMANCE.md UNICODE.md %doc README.md CHANGELOG.md HACKING.md PERFORMANCE.md UNICODE.md
%{cargo_registry}/%{crate}-%{version}/ %{cargo_registry}/%{crate}-%{version}/
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci,scripts}
%changelog %changelog
* Sun Oct 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.5-2
- Exclude more unneeded files
* Fri Sep 07 2018 Josh Stone <jistone@redhat.com> - 1.0.5-1 * Fri Sep 07 2018 Josh Stone <jistone@redhat.com> - 1.0.5-1
- Update to 1.0.5 - Update to 1.0.5

Loading…
Cancel
Save