# Generated by rust2rpm %bcond_with check %global debug_package %{nil} %global crate gimli Name: rust-%{crate} Version: 0.16.1 Release: 3%{?dist} Summary: Blazing fast DWARF debugging format parser # Upstream license specification: Apache-2.0/MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/gimli Source: %{crates_source} # Initial patched metadata # * alloc feature is nightly Patch0: gimli-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(arrayvec) >= 0.4.6 with crate(arrayvec) < 0.5.0) BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.0) BuildRequires: (crate(fallible-iterator) >= 0.1.4 with crate(fallible-iterator) < 0.2.0) BuildRequires: (crate(fallible-iterator/std) >= 0.1.4 with crate(fallible-iterator/std) < 0.2.0) BuildRequires: (crate(stable_deref_trait) >= 1.1.0 with crate(stable_deref_trait) < 2.0.0) BuildRequires: (crate(stable_deref_trait/std) >= 1.1.0 with crate(stable_deref_trait/std) < 2.0.0) %if %{with check} BuildRequires: (crate(crossbeam/default) >= 0.4.1 with crate(crossbeam/default) < 0.5.0) BuildRequires: (crate(getopts/default) >= 0.2.0 with crate(getopts/default) < 0.3.0) BuildRequires: (crate(memmap/default) >= 0.6.0 with crate(memmap/default) < 0.7.0) BuildRequires: (crate(num_cpus/default) >= 1.0.0 with crate(num_cpus/default) < 2.0.0) BuildRequires: (crate(object/default) >= 0.10.0 with crate(object/default) < 0.11.0) BuildRequires: (crate(rayon/default) >= 1.0.0 with crate(rayon/default) < 2.0.0) BuildRequires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0) BuildRequires: (crate(test-assembler/default) >= 0.1.3 with crate(test-assembler/default) < 0.2.0) BuildRequires: (crate(typed-arena/default) >= 1.0.0 with crate(typed-arena/default) < 2.0.0) %endif %global _description \ A blazing fast DWARF debugging format parser. %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 CHANGELOG.md CONTRIBUTING.md README.md %{cargo_registry}/%{crate}-%{version}/ %exclude %{cargo_registry}/%{crate}-%{version}/{ci,coverage,format,releases} %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}+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 * Sun Feb 10 2019 Igor Gnatenko - 0.16.1-3 - Adapt to new packaging * Sat Feb 02 2019 Fedora Release Engineering - 0.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Sep 08 2018 Josh Stone - 0.16.1-1 - Update to 0.16.1 * Sat Jul 28 2018 Igor Gnatenko - 0.16.0-1 - Update to 0.16.0 * Sat Jul 14 2018 Fedora Release Engineering - 0.15.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.15.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.15.0-2 - Rebuild for rust-packaging v5 * Sun Dec 03 2017 Igor Gnatenko - 0.15.0-1 - Initial package