# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} %global crate criterion Name: rust-%{crate} Version: 0.3.0 Release: 1%{?dist} 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} # Patch0: 0001-Use-OsRng-from-rand_core-instead-of-deprecated-rand_.patch 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 %doc CHANGELOG.md README.md %license LICENSE-APACHE LICENSE-MIT %{cargo_registry}/%{crate}-%{version}/ %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}/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}/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 * Fri Sep 13 18:02:22 CEST 2019 Robert-André Mauchin - 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