diff --git a/.gitignore b/.gitignore index 9424d31..82f2756 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ /regex-1.4.3.crate /regex-1.4.6.crate /regex-1.5.4.crate +/regex-1.5.5.crate diff --git a/rust-regex.spec b/rust-regex.spec index 9df6aa3..967c26a 100644 --- a/rust-regex.spec +++ b/rust-regex.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate regex Name: rust-%{crate} -Version: 1.5.4 +Version: 1.5.5 Release: %autorelease Summary: Implementation of regular expressions for Rust @@ -15,11 +15,8 @@ URL: https://crates.io/crates/regex Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Implementation of regular expressions for Rust. This implementation uses finite @@ -34,12 +31,17 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md HACKING.md PERFORMANCE.md README.md UNICODE.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/HACKING.md +%doc %{crate_instdir}/PERFORMANCE.md +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/UNICODE.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,10 +50,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+aho-corasick-devel Summary: %{summary} @@ -60,10 +62,10 @@ BuildArch: noarch %description -n %{name}+aho-corasick-devel %{_description} This package contains library source intended for building other packages which -use "the aho-corasick" feature of the "%{crate}" crate. +use the "aho-corasick" feature of the "%{crate}" crate. %files -n %{name}+aho-corasick-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+memchr-devel Summary: %{summary} @@ -72,10 +74,10 @@ BuildArch: noarch %description -n %{name}+memchr-devel %{_description} This package contains library source intended for building other packages which -use "the memchr" feature of the "%{crate}" crate. +use the "memchr" feature of the "%{crate}" crate. %files -n %{name}+memchr-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pattern-devel Summary: %{summary} @@ -84,10 +86,10 @@ BuildArch: noarch %description -n %{name}+pattern-devel %{_description} This package contains library source intended for building other packages which -use "the pattern" feature of the "%{crate}" crate. +use the "pattern" feature of the "%{crate}" crate. %files -n %{name}+pattern-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+perf-devel Summary: %{summary} @@ -96,10 +98,10 @@ BuildArch: noarch %description -n %{name}+perf-devel %{_description} This package contains library source intended for building other packages which -use "the perf" feature of the "%{crate}" crate. +use the "perf" feature of the "%{crate}" crate. %files -n %{name}+perf-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+perf-cache-devel Summary: %{summary} @@ -108,10 +110,10 @@ BuildArch: noarch %description -n %{name}+perf-cache-devel %{_description} This package contains library source intended for building other packages which -use "the perf-cache" feature of the "%{crate}" crate. +use the "perf-cache" feature of the "%{crate}" crate. %files -n %{name}+perf-cache-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+perf-dfa-devel Summary: %{summary} @@ -120,10 +122,10 @@ BuildArch: noarch %description -n %{name}+perf-dfa-devel %{_description} This package contains library source intended for building other packages which -use "the perf-dfa" feature of the "%{crate}" crate. +use the "perf-dfa" feature of the "%{crate}" crate. %files -n %{name}+perf-dfa-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+perf-inline-devel Summary: %{summary} @@ -132,10 +134,10 @@ BuildArch: noarch %description -n %{name}+perf-inline-devel %{_description} This package contains library source intended for building other packages which -use "the perf-inline" feature of the "%{crate}" crate. +use the "perf-inline" feature of the "%{crate}" crate. %files -n %{name}+perf-inline-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+perf-literal-devel Summary: %{summary} @@ -144,10 +146,10 @@ BuildArch: noarch %description -n %{name}+perf-literal-devel %{_description} This package contains library source intended for building other packages which -use "the perf-literal" feature of the "%{crate}" crate. +use the "perf-literal" feature of the "%{crate}" crate. %files -n %{name}+perf-literal-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -156,10 +158,10 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which -use "the std" feature of the "%{crate}" crate. +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-devel Summary: %{summary} @@ -168,10 +170,10 @@ BuildArch: noarch %description -n %{name}+unicode-devel %{_description} This package contains library source intended for building other packages which -use "the unicode" feature of the "%{crate}" crate. +use the "unicode" feature of the "%{crate}" crate. %files -n %{name}+unicode-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-age-devel Summary: %{summary} @@ -180,10 +182,10 @@ BuildArch: noarch %description -n %{name}+unicode-age-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-age" feature of the "%{crate}" crate. +use the "unicode-age" feature of the "%{crate}" crate. %files -n %{name}+unicode-age-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-bool-devel Summary: %{summary} @@ -192,10 +194,10 @@ BuildArch: noarch %description -n %{name}+unicode-bool-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-bool" feature of the "%{crate}" crate. +use the "unicode-bool" feature of the "%{crate}" crate. %files -n %{name}+unicode-bool-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-case-devel Summary: %{summary} @@ -204,10 +206,10 @@ BuildArch: noarch %description -n %{name}+unicode-case-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-case" feature of the "%{crate}" crate. +use the "unicode-case" feature of the "%{crate}" crate. %files -n %{name}+unicode-case-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-gencat-devel Summary: %{summary} @@ -216,10 +218,10 @@ BuildArch: noarch %description -n %{name}+unicode-gencat-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-gencat" feature of the "%{crate}" crate. +use the "unicode-gencat" feature of the "%{crate}" crate. %files -n %{name}+unicode-gencat-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-perl-devel Summary: %{summary} @@ -228,10 +230,10 @@ BuildArch: noarch %description -n %{name}+unicode-perl-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-perl" feature of the "%{crate}" crate. +use the "unicode-perl" feature of the "%{crate}" crate. %files -n %{name}+unicode-perl-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-script-devel Summary: %{summary} @@ -240,10 +242,10 @@ BuildArch: noarch %description -n %{name}+unicode-script-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-script" feature of the "%{crate}" crate. +use the "unicode-script" feature of the "%{crate}" crate. %files -n %{name}+unicode-script-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-segment-devel Summary: %{summary} @@ -252,10 +254,10 @@ BuildArch: noarch %description -n %{name}+unicode-segment-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-segment" feature of the "%{crate}" crate. +use the "unicode-segment" feature of the "%{crate}" crate. %files -n %{name}+unicode-segment-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-devel Summary: %{summary} @@ -264,10 +266,10 @@ BuildArch: noarch %description -n %{name}+unstable-devel %{_description} This package contains library source intended for building other packages which -use "the unstable" feature of the "%{crate}" crate. +use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_std-devel Summary: %{summary} @@ -276,10 +278,10 @@ BuildArch: noarch %description -n %{name}+use_std-devel %{_description} This package contains library source intended for building other packages which -use "the use_std" feature of the "%{crate}" crate. +use the "use_std" feature of the "%{crate}" crate. %files -n %{name}+use_std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index f2e6aa9..335972c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (regex-1.5.4.crate) = 1a9208358c4ab87c19ec91bcf5c1e35dede46f3a0c0097061b7b53fa77a1e5ad38090d243aab274956f09c491e5fbe3b3b35a91db079b82a2dde2fd9fbad4c19 +SHA512 (regex-1.5.5.crate) = a5873edc75a64f03be77151c318bc90c7dff565f838d811f5973ebca2e86247efd58830b0a8ba41e372f5a72f5402d93873f8d34c36481fa4359874b2fa5d571