diff --git a/.gitignore b/.gitignore index 95e319e..6eba91b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /object-0.10.0.crate /object-0.11.0.crate /object-0.12.0.crate +/object-0.17.0.crate diff --git a/rust-object.spec b/rust-object.spec index 7b15e74..e1d7f6a 100644 --- a/rust-object.spec +++ b/rust-object.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm-9-1.fc31 +# Generated by rust2rpm 13 %bcond_with check %global debug_package %{nil} %global crate object Name: rust-%{crate} -Version: 0.12.0 -Release: 3%{?dist} -Summary: Unified interface for parsing object file formats +Version: 0.17.0 +Release: 1%{?dist} +Summary: Unified interface for reading and writing object file formats # Upstream license specification: Apache-2.0/MIT License: ASL 2.0 or MIT @@ -15,27 +15,14 @@ URL: https://crates.io/crates/object Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(flate2/default) >= 1.0.0 with crate(flate2/default) < 2.0.0) -BuildRequires: (crate(goblin/archive) >= 0.0.22 with crate(goblin/archive) < 0.0.23) -BuildRequires: (crate(goblin/elf32) >= 0.0.22 with crate(goblin/elf32) < 0.0.23) -BuildRequires: (crate(goblin/elf64) >= 0.0.22 with crate(goblin/elf64) < 0.0.23) -BuildRequires: (crate(goblin/endian_fd) >= 0.0.22 with crate(goblin/endian_fd) < 0.0.23) -BuildRequires: (crate(goblin/mach32) >= 0.0.22 with crate(goblin/mach32) < 0.0.23) -BuildRequires: (crate(goblin/mach64) >= 0.0.22 with crate(goblin/mach64) < 0.0.23) -BuildRequires: (crate(goblin/pe32) >= 0.0.22 with crate(goblin/pe32) < 0.0.23) -BuildRequires: (crate(goblin/pe64) >= 0.0.22 with crate(goblin/pe64) < 0.0.23) -BuildRequires: (crate(goblin/std) >= 0.0.22 with crate(goblin/std) < 0.0.23) -BuildRequires: (crate(parity-wasm/default) >= 0.38.0 with crate(parity-wasm/default) < 0.39.0) -BuildRequires: (crate(scroll) >= 0.9.0 with crate(scroll) < 0.10.0) -BuildRequires: (crate(uuid) >= 0.7.0 with crate(uuid) < 0.8.0) -%if %{with check} -BuildRequires: (crate(memmap/default) >= 0.7.0 with crate(memmap/default) < 0.8.0) -%endif -%global _description \ -A unified interface for parsing object file formats. +%global _description %{expand: +A unified interface for reading and writing object file formats.} %description %{_description} @@ -51,8 +38,8 @@ which use "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT %doc README.md -%{cargo_registry}/%{crate}-%{version}/ -%exclude %{cargo_registry}/%{crate}-%{version}/coverage +%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/coverage %package -n %{name}+default-devel Summary: %{summary} @@ -64,7 +51,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}+compression-devel Summary: %{summary} @@ -76,7 +63,19 @@ This package contains library source intended for building other packages which use "compression" feature of "%{crate}" crate. %files -n %{name}+compression-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+crc32fast-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+crc32fast-devel %{_description} + +This package contains library source intended for building other packages +which use "crc32fast" feature of "%{crate}" crate. + +%files -n %{name}+crc32fast-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+flate2-devel Summary: %{summary} @@ -88,7 +87,19 @@ This package contains library source intended for building other packages which use "flate2" feature of "%{crate}" crate. %files -n %{name}+flate2-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+indexmap-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+indexmap-devel %{_description} + +This package contains library source intended for building other packages +which use "indexmap" feature of "%{crate}" crate. + +%files -n %{name}+indexmap-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+parity-wasm-devel Summary: %{summary} @@ -100,7 +111,19 @@ This package contains library source intended for building other packages which use "parity-wasm" feature of "%{crate}" crate. %files -n %{name}+parity-wasm-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+read-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+read-devel %{_description} + +This package contains library source intended for building other packages +which use "read" feature of "%{crate}" crate. + +%files -n %{name}+read-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -112,7 +135,7 @@ 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 %package -n %{name}+wasm-devel Summary: %{summary} @@ -124,12 +147,27 @@ This package contains library source intended for building other packages which use "wasm" feature of "%{crate}" crate. %files -n %{name}+wasm-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+write-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+write-devel %{_description} + +This package contains library source intended for building other packages +which use "write" feature of "%{crate}" crate. + +%files -n %{name}+write-devel +%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 @@ -142,6 +180,9 @@ which use "wasm" feature of "%{crate}" crate. %endif %changelog +* Wed Feb 19 2020 Josh Stone - 0.17.0-1 +- Update to 0.17.0 + * Thu Jan 30 2020 Fedora Release Engineering - 0.12.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 34eac6f..d422465 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (object-0.12.0.crate) = 7099542419a6426cd66f141b67eed107d6a1ea7b8eb68c508fbd7c45369fe1e27319e49a54f82ab94539086c26fb233647080332e099f573c9618df9f07a1bc0 +SHA512 (object-0.17.0.crate) = 0dcafc4649a1a44f047a49ce4efd31d7b3093bd84e840f67a671e509a7cdf9c12c5fcf49319ef5d0684bdf5f7ae044fb60a8a5a7d902ed2334bed228a876b5e0