# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate lazy-regex Name: rust-%{crate} Version: 2.2.2 Release: %autorelease Summary: Lazy static regular expressions checked at compile time # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/lazy-regex Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: Lazy static regular expressions checked at compile time.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license LICENSE %doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} 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. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+perf-devel Summary: %{summary} 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. %files -n %{name}+perf-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+perf-cache-devel Summary: %{summary} 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. %files -n %{name}+perf-cache-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+perf-dfa-devel Summary: %{summary} 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. %files -n %{name}+perf-dfa-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+perf-inline-devel Summary: %{summary} 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. %files -n %{name}+perf-inline-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+perf-literal-devel Summary: %{summary} 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. %files -n %{name}+perf-literal-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} 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. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+unicode-devel Summary: %{summary} 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. %files -n %{name}+unicode-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+unicode-age-devel Summary: %{summary} 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. %files -n %{name}+unicode-age-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+unicode-bool-devel Summary: %{summary} 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. %files -n %{name}+unicode-bool-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+unicode-case-devel Summary: %{summary} 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. %files -n %{name}+unicode-case-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+unicode-gencat-devel Summary: %{summary} 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. %files -n %{name}+unicode-gencat-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+unicode-perl-devel Summary: %{summary} 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. %files -n %{name}+unicode-perl-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+unicode-script-devel Summary: %{summary} 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. %files -n %{name}+unicode-script-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+unicode-segment-devel Summary: %{summary} 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. %files -n %{name}+unicode-segment-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog