From a84c97b430a00c08295261eb766286eb3b582859 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 19 Feb 2020 16:15:00 -0800 Subject: [PATCH] Update to 0.1.3 --- .gitignore | 1 + rust-goblin.spec | 51 ++++++++++++++++++++++++++---------------------- sources | 2 +- 3 files changed, 30 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index f1c62f0..81639ff 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /goblin-0.0.17.crate /goblin-0.0.19.crate /goblin-0.0.22.crate +/goblin-0.1.3.crate diff --git a/rust-goblin.spec b/rust-goblin.spec index 405af31..ebfb560 100644 --- a/rust-goblin.spec +++ b/rust-goblin.spec @@ -1,29 +1,28 @@ -# Generated by rust2rpm +# Generated by rust2rpm 13 %bcond_with check %global debug_package %{nil} %global crate goblin Name: rust-%{crate} -Version: 0.0.22 -Release: 3%{?dist} +Version: 0.1.3 +Release: 1%{?dist} Summary: Impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/goblin Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0) -BuildRequires: (crate(plain/default) >= 0.2.3 with crate(plain/default) < 0.3.0) -BuildRequires: (crate(scroll) >= 0.9.0 with crate(scroll) < 0.10.0) -BuildRequires: (crate(scroll/derive) >= 0.9.0 with crate(scroll/derive) < 0.10.0) -BuildRequires: (crate(scroll/std) >= 0.9.0 with crate(scroll/std) < 0.10.0) -%global _description \ -An impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate. +%global _description %{expand: +An impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate.} %description %{_description} @@ -39,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -51,7 +50,7 @@ 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 +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+alloc-devel Summary: %{summary} @@ -63,7 +62,7 @@ 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 +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+archive-devel Summary: %{summary} @@ -75,7 +74,7 @@ This package contains library source intended for building other packages which use "archive" feature of "%{crate}" crate. %files -n %{name}+archive-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+elf32-devel Summary: %{summary} @@ -87,7 +86,7 @@ This package contains library source intended for building other packages which use "elf32" feature of "%{crate}" crate. %files -n %{name}+elf32-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+elf64-devel Summary: %{summary} @@ -99,7 +98,7 @@ This package contains library source intended for building other packages which use "elf64" feature of "%{crate}" crate. %files -n %{name}+elf64-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+endian_fd-devel Summary: %{summary} @@ -111,7 +110,7 @@ This package contains library source intended for building other packages which use "endian_fd" feature of "%{crate}" crate. %files -n %{name}+endian_fd-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} @@ -123,7 +122,7 @@ This package contains library source intended for building other packages which use "log" feature of "%{crate}" crate. %files -n %{name}+log-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+mach32-devel Summary: %{summary} @@ -135,7 +134,7 @@ This package contains library source intended for building other packages which use "mach32" feature of "%{crate}" crate. %files -n %{name}+mach32-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+mach64-devel Summary: %{summary} @@ -147,7 +146,7 @@ This package contains library source intended for building other packages which use "mach64" feature of "%{crate}" crate. %files -n %{name}+mach64-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pe32-devel Summary: %{summary} @@ -159,7 +158,7 @@ This package contains library source intended for building other packages which use "pe32" feature of "%{crate}" crate. %files -n %{name}+pe32-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pe64-devel Summary: %{summary} @@ -171,7 +170,7 @@ This package contains library source intended for building other packages which use "pe64" feature of "%{crate}" crate. %files -n %{name}+pe64-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -183,12 +182,15 @@ 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 +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -201,6 +203,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Wed Feb 19 2020 Josh Stone - 0.1.3-1 +- Update to 0.1.3 + * Thu Jan 30 2020 Fedora Release Engineering - 0.0.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 5a703a6..a726b7d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (goblin-0.0.22.crate) = 586c676a1fd11b992649d4240db55badaf6b39e2e59c7bbd9ab82bbc9f6cc4ff2db52c682bfe6abf3f61494a504b3364739b0235ab848e90c77380f02589af6f +SHA512 (goblin-0.1.3.crate) = 220e1e664dba0e41d7010079e37784bf9b67621186eb535e0080174a6ba1f97d8f778781f5721809c811a894084912706beafd8fe22a2b8b1a5c4c8b11774729