# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate once_cell Name: rust-%{crate} Version: 1.3.1 Release: 3%{?dist} Summary: Single assignment cells and lazy values # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/once_cell Source: %{crates_source} # Initial patched metadata # * Bump to parking_lot 0.10, https://github.com/matklad/once_cell/pull/91 # * Bump to crossbeam-utils 0.7, https://github.com/matklad/once_cell/pull/97 Patch0: once_cell-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Single assignment cells and lazy values.} %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}/ %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}+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_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 "std" feature of "%{crate}" crate. %files -n %{name}+std-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 * Wed Apr 01 2020 Josh Stone - 1.3.1-3 - Bump to crossbeam-utils 0.7 * Thu Jan 30 2020 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jan 17 2020 Josh Stone - 1.3.1-1 - Update to 1.3.1 * Wed Jan 15 2020 Josh Stone - 1.3.0-1 - Update to 1.3.0 * Mon Sep 23 07:53:58 CEST 2019 Igor Gnatenko - 1.2.0-1 - Update to 1.2.0 * 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