diff --git a/.gitignore b/.gitignore index d88e500..91ba403 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ /regex-1.7.3.crate /regex-1.8.3.crate /regex-1.8.4.crate +/regex-1.9.1.crate diff --git a/rust-regex.spec b/rust-regex.spec index 043cacc..17dc2be 100644 --- a/rust-regex.spec +++ b/rust-regex.spec @@ -5,7 +5,7 @@ %global crate regex Name: rust-regex -Version: 1.8.4 +Version: 1.9.1 Release: %autorelease Summary: Implementation of regular expressions for Rust @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/regex Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An implementation of regular expressions for Rust. This implementation @@ -35,7 +35,6 @@ use the "%{crate}" crate. %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}/ @@ -52,28 +51,16 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+aho-corasick-devel +%package -n %{name}+logging-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+aho-corasick-devel %{_description} +%description -n %{name}+logging-devel %{_description} This package contains library source intended for building other packages which -use the "aho-corasick" feature of the "%{crate}" crate. +use the "logging" feature of the "%{crate}" crate. -%files -n %{name}+aho-corasick-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+memchr-devel -Summary: %{summary} -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. - -%files -n %{name}+memchr-devel +%files -n %{name}+logging-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pattern-devel @@ -100,6 +87,18 @@ use the "perf" feature of the "%{crate}" crate. %files -n %{name}+perf-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+perf-backtrack-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf-backtrack-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf-backtrack" feature of the "%{crate}" crate. + +%files -n %{name}+perf-backtrack-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+perf-cache-devel Summary: %{summary} BuildArch: noarch @@ -124,6 +123,18 @@ use the "perf-dfa" feature of the "%{crate}" crate. %files -n %{name}+perf-dfa-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+perf-dfa-full-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf-dfa-full-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf-dfa-full" feature of the "%{crate}" crate. + +%files -n %{name}+perf-dfa-full-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+perf-inline-devel Summary: %{summary} BuildArch: noarch @@ -148,6 +159,18 @@ use the "perf-literal" feature of the "%{crate}" crate. %files -n %{name}+perf-literal-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+perf-onepass-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf-onepass-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf-onepass" feature of the "%{crate}" crate. + +%files -n %{name}+perf-onepass-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 1ccd321..9a3d4a3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (regex-1.8.4.crate) = 6fa873671bc188906334202027fdd4d15923fcea88aa85d56a63e3a36bcf6aa77ae61c596f9154dee6c69e03bf3f3441e4ce26304d5a8e0ac47d710bf7af4a5a +SHA512 (regex-1.9.1.crate) = cbee57ecf620795eb2625cb2a6a3d6eb2b46de91ade021111f8960e31d8d0098b786ddc1e97734cfa16f7e68d77ebb8a9b7362542d91f2345bf2e4f64778a454