# Generated by rust2rpm # * Tests are run in infrastructure %bcond_with check %global debug_package %{nil} %global crate crossbeam-epoch Name: rust-%{crate} Version: 0.7.1 Release: 2%{?dist} Summary: Epoch-based garbage collection # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/crossbeam-epoch Source: %{crates_source} # Initial patched metadata # * no nightly features Patch0: crossbeam-epoch-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(arrayvec) >= 0.4.0 with crate(arrayvec) < 0.5.0) BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0) BuildRequires: (crate(crossbeam-utils) >= 0.6.0 with crate(crossbeam-utils) < 0.7.0) BuildRequires: (crate(crossbeam-utils/std) >= 0.6.0 with crate(crossbeam-utils/std) < 0.7.0) BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0) BuildRequires: (crate(memoffset/default) >= 0.2.0 with crate(memoffset/default) < 0.3.0) BuildRequires: (crate(scopeguard) >= 0.3.0 with crate(scopeguard) < 0.4.0) %if %{with check} BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) %endif %global _description \ Epoch-based garbage collection. %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-MIT LICENSE-APACHE %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}+lazy_static-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lazy_static-devel %{_description} This package contains library source intended for building other packages which use "lazy_static" feature of "%{crate}" crate. %files -n %{name}+lazy_static-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+sanitize-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sanitize-devel %{_description} This package contains library source intended for building other packages which use "sanitize" feature of "%{crate}" crate. %files -n %{name}+sanitize-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 %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Sat Feb 02 2019 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 28 2019 Josh Stone - 0.7.1-1 - Update to 0.7.1 * Tue Jan 08 2019 Josh Stone - 0.7.0-1 - Update to 0.7.0 * Sat Dec 15 2018 Igor Gnatenko - 0.6.1-1 - Update to 0.6.1 * Sun Oct 28 2018 Igor Gnatenko - 0.6.0-1 - Update to 0.6.0 * Sat Oct 27 2018 Igor Gnatenko - 0.5.2-2 - Adapt to new packaging * Sat Sep 08 2018 Igor Gnatenko - 0.5.2-1 - Update to 0.5.2 * Sat Jul 28 2018 Igor Gnatenko - 0.5.1-2 - Rebuild to trigger tests * Sat Jul 21 2018 Igor Gnatenko - 0.5.1-1 - Update to 0.5.1 * Sat Jul 14 2018 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 16 2018 Igor Gnatenko - 0.5.0-1 - Update to 0.5.0 * Tue Jun 12 2018 Josh Stone - 0.4.3-1 - Update to 0.4.3 * Thu Mar 22 2018 Josh Stone - 0.4.1-1 - Update to 0.4.1 * Thu Feb 15 2018 Igor Gnatenko - 0.4.0-1 - Initial package