## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate fancy-regex Name: rust-fancy-regex Version: 0.11.0 Release: %autorelease Summary: Implementation of regexes, supporting a relatively rich set of features License: MIT URL: https://crates.io/crates/fancy-regex Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency to speed up builds Patch: fancy-regex-fix-metadata.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: Implementation of regexes, supporting a relatively rich set of features, including backreferences and look-around.} %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 %{crate_instdir}/LICENSE %doc %{crate_instdir}/AUTHORS %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/PERFORMANCE.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %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 %{crate_instdir}/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 %{crate_instdir}/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 %{crate_instdir}/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 %{crate_instdir}/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 %{crate_instdir}/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 %{crate_instdir}/Cargo.toml %package -n %{name}+track_caller-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+track_caller-devel %{_description} This package contains library source intended for building other packages which use the "track_caller" feature of the "%{crate}" crate. %files -n %{name}+track_caller-devel %ghost %{crate_instdir}/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 %{crate_instdir}/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 ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 0.11.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jan 22 2023 Michel Alexandre Salim - 0.11.0-1 - Update to 0.11.0 * Fri Jan 20 2023 Fedora Release Engineering - 0.7.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Nov 04 2022 Fabio Valentini - 0.7.1-5 - Drop unused, benchmark-only criterion dev-dependency * Sat Jul 23 2022 Fedora Release Engineering - 0.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Aug 16 2021 Fabio Valentini - 0.7.1-2 - Relax criterion dev-dependency * Mon Aug 16 2021 Fabio Valentini - 0.7.1-1 - Update to version 0.7.1; Fixes RHBZ#1991151 * Sun Jul 18 2021 Igor Raits - 0.7.0-1 - Initial package (closes: RHBZ#1983472) ## END: Generated by rpmautospec