diff --git a/.gitignore b/.gitignore index 31ba347..7fd5f77 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /goblin-0.2.0.crate /goblin-0.2.1.crate /goblin-0.2.3.crate +/goblin-0.5.3.crate diff --git a/rust-goblin.spec b/rust-goblin.spec index 9ec2517..02b7174 100644 --- a/rust-goblin.spec +++ b/rust-goblin.spec @@ -1,11 +1,12 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 21 +# * files that are required for unit tests are not included in published crates %bcond_with check %global debug_package %{nil} %global crate goblin Name: rust-%{crate} -Version: 0.2.3 +Version: 0.5.3 Release: %autorelease Summary: Impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate @@ -15,14 +16,11 @@ URL: https://crates.io/crates/goblin Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -An impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate.} +Impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate.} %description %{_description} @@ -32,14 +30,14 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ -%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/tests/bins/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +45,11 @@ 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. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+alloc-devel Summary: %{summary} @@ -59,11 +57,11 @@ 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. +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+archive-devel Summary: %{summary} @@ -71,11 +69,11 @@ BuildArch: noarch %description -n %{name}+archive-devel %{_description} -This package contains library source intended for building other packages -which use "archive" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "archive" feature of the "%{crate}" crate. %files -n %{name}+archive-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+elf32-devel Summary: %{summary} @@ -83,11 +81,11 @@ BuildArch: noarch %description -n %{name}+elf32-devel %{_description} -This package contains library source intended for building other packages -which use "elf32" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "elf32" feature of the "%{crate}" crate. %files -n %{name}+elf32-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+elf64-devel Summary: %{summary} @@ -95,11 +93,11 @@ BuildArch: noarch %description -n %{name}+elf64-devel %{_description} -This package contains library source intended for building other packages -which use "elf64" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "elf64" feature of the "%{crate}" crate. %files -n %{name}+elf64-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+endian_fd-devel Summary: %{summary} @@ -107,11 +105,11 @@ BuildArch: noarch %description -n %{name}+endian_fd-devel %{_description} -This package contains library source intended for building other packages -which use "endian_fd" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "endian_fd" feature of the "%{crate}" crate. %files -n %{name}+endian_fd-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} @@ -119,11 +117,11 @@ BuildArch: noarch %description -n %{name}+log-devel %{_description} -This package contains library source intended for building other packages -which use "log" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "log" feature of the "%{crate}" crate. %files -n %{name}+log-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mach32-devel Summary: %{summary} @@ -131,11 +129,11 @@ BuildArch: noarch %description -n %{name}+mach32-devel %{_description} -This package contains library source intended for building other packages -which use "mach32" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "mach32" feature of the "%{crate}" crate. %files -n %{name}+mach32-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mach64-devel Summary: %{summary} @@ -143,11 +141,11 @@ BuildArch: noarch %description -n %{name}+mach64-devel %{_description} -This package contains library source intended for building other packages -which use "mach64" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "mach64" feature of the "%{crate}" crate. %files -n %{name}+mach64-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pe32-devel Summary: %{summary} @@ -155,11 +153,11 @@ BuildArch: noarch %description -n %{name}+pe32-devel %{_description} -This package contains library source intended for building other packages -which use "pe32" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "pe32" feature of the "%{crate}" crate. %files -n %{name}+pe32-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pe64-devel Summary: %{summary} @@ -167,11 +165,11 @@ BuildArch: noarch %description -n %{name}+pe64-devel %{_description} -This package contains library source intended for building other packages -which use "pe64" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "pe64" feature of the "%{crate}" crate. %files -n %{name}+pe64-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -179,11 +177,11 @@ 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. +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 9a476a6..72604be 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (goblin-0.2.3.crate) = b6eeabdc7d4a386529020f4ea17ebe9505804d670323547e0a1df288ac1bfffc81db8d512e4bb49c9a31b2c451cf2e2c997cc00da7507a7f9eb521355e14bcc1 +SHA512 (goblin-0.5.3.crate) = 07ddd9344c2d521a05068b2d1af85b79c6d47f86f71306c3e31dcbf2f72592f8a70ff29b423910ed5211bdc54fabfd9a751582ef594a6dc794d7a3b4e3720c50