# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} %global crate once_cell Name: rust-%{crate} Version: 1.1.0 Release: 1%{?dist} Summary: Single assignment cells and lazy static values without macros # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/once_cell Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Single assignment cells and lazy static values without macros.} %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}/ %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}+parking_lot-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+parking_lot-devel %{_description} This package contains library source intended for building other packages which use "parking_lot" feature of "%{crate}" crate. %files -n %{name}+parking_lot-devel %ghost %{cargo_registry}/%{crate}-%{version}/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 "std" feature of "%{crate}" crate. %files -n %{name}+std-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 06 20:59:00 CEST 2019 Igor Gnatenko - 1.1.0-1 - Update to 1.1.0 * Mon Sep 02 2019 Jan Staněk - 1.0.2-1 - Update to 1.0.2 * Mon Sep 02 2019 Jan Staněk - 1.0.1-1 - Update to 1.0.1 * Mon Aug 19 2019 Jan Staněk - 0.2.6-1 - Update to 0.2.6 * Sun Aug 04 15:41:31 CEST 2019 Igor Gnatenko - 0.2.4-1 - Update to 0.2.4 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jul 06 11:22:49 CEST 2019 Igor Gnatenko - 0.2.2-1 - Update to 0.2.2 * Mon Jul 01 20:54:06 CEST 2019 Igor Gnatenko - 0.2.1-2 - Regenerate * Thu Jun 06 2019 Josh Stone - 0.2.1-1 - Update to 0.2.1 * Tue May 07 14:42:19 CEST 2019 Igor Gnatenko - 0.2.0-1 - Update to 0.2.0 * Tue May 07 07:37:55 CEST 2019 Igor Gnatenko - 0.1.8-3 - Update parking_lot to 0.8 * Tue Feb 12 2019 Igor Gnatenko - 0.1.8-2 - Adapt to new packaging * Thu Feb 07 2019 Jan Stanek - 0.1.8-1 - Initial package