|
|
@ -6,12 +6,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.0.14
|
|
|
|
Version: 0.0.14
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate
|
|
|
|
Summary: Impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/goblin
|
|
|
|
URL: https://crates.io/crates/goblin
|
|
|
|
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 scroll to 0.9, https://github.com/m4b/goblin/pull/78
|
|
|
|
|
|
|
|
Patch0: goblin-0.0.14-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
@ -19,7 +22,7 @@ BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(log) >= 0.3.8 with crate(log) < 0.4.0)
|
|
|
|
BuildRequires: (crate(log) >= 0.3.8 with crate(log) < 0.4.0)
|
|
|
|
BuildRequires: (crate(plain) >= 0.2.3 with crate(plain) < 0.3.0)
|
|
|
|
BuildRequires: (crate(plain) >= 0.2.3 with crate(plain) < 0.3.0)
|
|
|
|
BuildRequires: (crate(scroll) >= 0.8.0 with crate(scroll) < 0.9.0)
|
|
|
|
BuildRequires: (crate(scroll) >= 0.9.0 with crate(scroll) < 0.10.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(env_logger) >= 0.4.3 with crate(env_logger) < 0.5.0)
|
|
|
|
BuildRequires: (crate(env_logger) >= 0.4.3 with crate(env_logger) < 0.5.0)
|
|
|
@ -60,6 +63,9 @@ which use %{crate} from crates.io.
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.14-2
|
|
|
|
|
|
|
|
- Bump scroll to 0.9
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.14-1
|
|
|
|
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.14-1
|
|
|
|
- Update to 0.0.14
|
|
|
|
- Update to 0.0.14
|
|
|
|
|
|
|
|
|
|
|
|