# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} %global crate id_tree Name: rust-%{crate} Version: 1.7.0 Release: 3%{?dist} Summary: Library for creating and modifying Tree structures # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/id_tree Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Library for creating and modifying Tree structures.} %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 %doc README.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}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+serde_derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_derive-devel %{_description} This package contains library source intended for building other packages which use "serde_derive" feature of "%{crate}" crate. %files -n %{name}+serde_derive-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+serde_support-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_support-devel %{_description} This package contains library source intended for building other packages which use "serde_support" feature of "%{crate}" crate. %files -n %{name}+serde_support-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 * Wed Jul 29 2020 Fedora Release Engineering - 1.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Sep 01 18:43:13 CEST 2019 Igor Gnatenko - 1.7.0-1 - Update to 1.7.0 * Fri Jul 26 2019 Fedora Release Engineering - 1.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Mar 23 23:27:48 CET 2019 Igor Gnatenko - 1.5.0-1 - Update to 1.5.0 * Sun Feb 10 2019 Igor Gnatenko - 1.4.0-1 - Update to 1.4.0 * Sat Feb 02 2019 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Nov 27 2018 Josh Stone - 1.3.0-2 - Adapt to new packaging * Wed Jul 25 2018 Igor Gnatenko - 1.3.0-1 - Initial package