|
|
@ -1,5 +1,4 @@
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Tests are run in infrastructure
|
|
|
|
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
@ -7,50 +6,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.16.1
|
|
|
|
Version: 0.16.1
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Blazing fast DWARF debugging format parser
|
|
|
|
Summary: Blazing fast DWARF debugging format parser
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
URL: https://crates.io/crates/gimli
|
|
|
|
URL: https://crates.io/crates/gimli
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
|
|
|
|
BuildRequires: (crate(arrayvec) >= 0.4.6 with crate(arrayvec) < 0.5.0)
|
|
|
|
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(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) >= 0.1.4 with crate(fallible-iterator) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(fallible-iterator/alloc) >= 0.1.4 with crate(fallible-iterator/alloc) < 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) >= 1.1.0 with crate(stable_deref_trait) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(stable_deref_trait/alloc) >= 1.1.0 with crate(stable_deref_trait/alloc) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(stable_deref_trait/std) >= 1.1.0 with crate(stable_deref_trait/std) < 2.0.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(crossbeam/default) >= 0.4.1 with crate(crossbeam/default) < 0.5.0)
|
|
|
|
BuildRequires: (crate(crossbeam) >= 0.4.1 with crate(crossbeam) < 0.5.0)
|
|
|
|
BuildRequires: (crate(getopts/default) >= 0.2.0 with crate(getopts/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(getopts) >= 0.2.0 with crate(getopts) < 0.3.0)
|
|
|
|
BuildRequires: (crate(memmap/default) >= 0.6.0 with crate(memmap/default) < 0.7.0)
|
|
|
|
BuildRequires: (crate(memmap) >= 0.6.0 with crate(memmap) < 0.7.0)
|
|
|
|
BuildRequires: (crate(num_cpus/default) >= 1.0.0 with crate(num_cpus/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(num_cpus) >= 1.0.0 with crate(num_cpus) < 2.0.0)
|
|
|
|
BuildRequires: (crate(object/default) >= 0.10.0 with crate(object/default) < 0.11.0)
|
|
|
|
BuildRequires: (crate(object) >= 0.10.0 with crate(object) < 0.11.0)
|
|
|
|
BuildRequires: (crate(rayon/default) >= 1.0.0 with crate(rayon/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(rayon) >= 1.0.0 with crate(rayon) < 2.0.0)
|
|
|
|
BuildRequires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(regex) >= 1.0.0 with crate(regex) < 2.0.0)
|
|
|
|
BuildRequires: (crate(test-assembler/default) >= 0.1.3 with crate(test-assembler/default) < 0.2.0)
|
|
|
|
BuildRequires: (crate(test-assembler) >= 0.1.3 with crate(test-assembler) < 0.2.0)
|
|
|
|
BuildRequires: (crate(typed-arena/default) >= 1.0.0 with crate(typed-arena/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(typed-arena) >= 1.0.0 with crate(typed-arena) < 2.0.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%global _description \
|
|
|
|
%{summary}.
|
|
|
|
A blazing fast DWARF debugging format parser.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel %{_description}
|
|
|
|
A blazing fast DWARF debugging format parser.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use %{crate} from crates.io.
|
|
|
|
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}+alloc-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+alloc-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "alloc" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+alloc-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
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -64,13 +108,10 @@ which use %{crate} from crates.io.
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%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}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.16.1-3
|
|
|
|
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-2
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|