## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate criterion Name: rust-%{crate} Version: 0.3.5 Release: %autorelease Summary: Statistics-driven micro-benchmarking library # Upstream license specification: Apache-2.0/MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/criterion Source: %{crates_source} # Initial patched metadata # * drop optional smol dependency and features Patch0: criterion-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Statistics-driven micro-benchmarking library.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT %doc README.md CHANGELOG.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/appveyor.yml %exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/ci/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+async-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-devel %{_description} This package contains library source intended for building other packages which use "async" feature of "%{crate}" crate. %files -n %{name}+async-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+async-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-std-devel %{_description} This package contains library source intended for building other packages which use "async-std" feature of "%{crate}" crate. %files -n %{name}+async-std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+async_futures-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async_futures-devel %{_description} This package contains library source intended for building other packages which use "async_futures" feature of "%{crate}" crate. %files -n %{name}+async_futures-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+async_std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async_std-devel %{_description} This package contains library source intended for building other packages which use "async_std" feature of "%{crate}" crate. %files -n %{name}+async_std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+async_tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async_tokio-devel %{_description} This package contains library source intended for building other packages which use "async_tokio" feature of "%{crate}" crate. %files -n %{name}+async_tokio-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+cargo_bench_support-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cargo_bench_support-devel %{_description} This package contains library source intended for building other packages which use "cargo_bench_support" feature of "%{crate}" crate. %files -n %{name}+cargo_bench_support-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+csv_output-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+csv_output-devel %{_description} This package contains library source intended for building other packages which use "csv_output" feature of "%{crate}" crate. %files -n %{name}+csv_output-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+futures-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-devel %{_description} This package contains library source intended for building other packages which use "futures" feature of "%{crate}" crate. %files -n %{name}+futures-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+html_reports-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+html_reports-devel %{_description} This package contains library source intended for building other packages which use "html_reports" feature of "%{crate}" crate. %files -n %{name}+html_reports-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+real_blackbox-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+real_blackbox-devel %{_description} This package contains library source intended for building other packages which use "real_blackbox" feature of "%{crate}" crate. %files -n %{name}+real_blackbox-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+stable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+stable-devel %{_description} This package contains library source intended for building other packages which use "stable" feature of "%{crate}" crate. %files -n %{name}+stable-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-devel %{_description} This package contains library source intended for building other packages which use "tokio" feature of "%{crate}" crate. %files -n %{name}+tokio-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 # remove executable bit from all files ... find . -type f -executable -exec chmod -x {} + %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Fri Jan 21 2022 Fedora Release Engineering 0.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Aug 08 2021 Fabio Valentini 0.3.5-1 - Update to version 0.3.5; Fixes RHBZ#1986217 * Fri Jul 23 2021 Fedora Release Engineering - 0.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 28 2021 Fabio Valentini - 0.3.4-1 - Update to version 0.3.4. - Fixes RHBZ#1920119 * Wed Jan 27 2021 Fedora Release Engineering - 0.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 28 13:29:01 CET 2020 Igor Raits - 0.3.3-2 - Rebuild * Tue Sep 15 2020 Fabio Valentini - 0.3.3-1 - Update to version 0.3.3. * Sat Aug 01 2020 Fedora Release Engineering - 0.3.0-6 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Sep 15 19:13:16 CEST 2019 Robert-André Mauchin - 0.3.0-3 - Bump rand_xoshiro to 0.4 * Sun Sep 15 07:25:34 CEST 2019 Robert-André Mauchin - 0.3.0-2 - Use OsRng from rand_core * Sat Sep 14 18:32:15 CEST 2019 Igor Gnatenko - 0.3.0-1 - Update to 0.3.0 * Tue Aug 06 08:47:48 CEST 2019 Igor Gnatenko - 0.2.11-4 - Update rand to 0.7 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 18:27:35 CEST 2019 Robert-André Mauchin - 0.2.11-2 - Bump rand_xoshiro to 0.2 * Fri Apr 12 00:16:41 CET 2019 Robert-André Mauchin - 0.2.11-1 - Release 0.2.11 (#1697685) * Wed Mar 20 09:45:02 CET 2019 Igor Gnatenko - 0.2.10-2 - Run tests in infrastructure * Fri Mar 08 2019 Robert-André Mauchin - 0.2.10-1 - Initial package