|
|
@ -6,16 +6,14 @@
|
|
|
|
%global crate gimli
|
|
|
|
%global crate gimli
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.16.0
|
|
|
|
Version: 0.16.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Blazing fast DWARF debugging format parser
|
|
|
|
Summary: Blazing fast DWARF debugging format parser
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * Bump object to 0.9, regex to 1, https://github.com/gimli-rs/gimli/pull/312
|
|
|
|
|
|
|
|
Patch0: gimli-0.16.0-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
@ -24,14 +22,14 @@ BuildRequires: rust-packaging
|
|
|
|
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(stable_deref_trait) >= 1.0.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)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(crossbeam) >= 0.3.2 with crate(crossbeam) < 0.4.0)
|
|
|
|
BuildRequires: (crate(crossbeam) >= 0.4.1 with crate(crossbeam) < 0.5.0)
|
|
|
|
BuildRequires: (crate(getopts) >= 0.2.0 with crate(getopts) < 0.3.0)
|
|
|
|
BuildRequires: (crate(getopts) >= 0.2.0 with crate(getopts) < 0.3.0)
|
|
|
|
BuildRequires: (crate(memmap) >= 0.6.0 with crate(memmap) < 0.7.0)
|
|
|
|
BuildRequires: (crate(memmap) >= 0.6.0 with crate(memmap) < 0.7.0)
|
|
|
|
BuildRequires: (crate(num_cpus) >= 1.0.0 with crate(num_cpus) < 2.0.0)
|
|
|
|
BuildRequires: (crate(num_cpus) >= 1.0.0 with crate(num_cpus) < 2.0.0)
|
|
|
|
BuildRequires: (crate(object) >= 0.9.0 with crate(object) < 0.10.0)
|
|
|
|
BuildRequires: (crate(object) >= 0.10.0 with crate(object) < 0.11.0)
|
|
|
|
BuildRequires: (crate(rayon) >= 1.0.0 with crate(rayon) < 2.0.0)
|
|
|
|
BuildRequires: (crate(rayon) >= 1.0.0 with crate(rayon) < 2.0.0)
|
|
|
|
BuildRequires: (crate(regex) >= 1.0.0 with crate(regex) < 2.0.0)
|
|
|
|
BuildRequires: (crate(regex) >= 1.0.0 with crate(regex) < 2.0.0)
|
|
|
|
BuildRequires: (crate(test-assembler) >= 0.1.3 with crate(test-assembler) < 0.2.0)
|
|
|
|
BuildRequires: (crate(test-assembler) >= 0.1.3 with crate(test-assembler) < 0.2.0)
|
|
|
@ -53,7 +51,6 @@ which use %{crate} from crates.io.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
chmod -x benches/*.rs
|
|
|
|
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -74,6 +71,9 @@ chmod -x benches/*.rs
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{ci,coverage,format,releases}
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{ci,coverage,format,releases}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Sep 08 2018 Josh Stone <jistone@redhat.com> - 0.16.1-1
|
|
|
|
|
|
|
|
- Update to 0.16.1
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.16.0-1
|
|
|
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.16.0-1
|
|
|
|
- Update to 0.16.0
|
|
|
|
- Update to 0.16.0
|
|
|
|
|
|
|
|
|
|
|
|