Update to version 0.30.3; Fixes RHBZ#2144698

epel9
Fabio Valentini 2 years ago
parent 272cb43e8d
commit dd3e2d306f
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -13,3 +13,4 @@
/object-0.26.2.crate /object-0.26.2.crate
/object-0.27.1.crate /object-0.27.1.crate
/object-0.29.0.crate /object-0.29.0.crate
/object-0.30.3.crate

@ -1,3 +0,0 @@
# rust-object
The rust-object package

@ -1,6 +1,6 @@
--- object-0.29.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- object-0.30.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ object-0.29.0/Cargo.toml 2022-08-09T09:38:46.983845+00:00 +++ object-0.30.3/Cargo.toml 2023-03-30T18:31:27.154876+00:00
@@ -68,17 +68,12 @@ @@ -70,17 +70,12 @@
version = "2.4.1" version = "2.4.1"
default-features = false default-features = false
@ -18,7 +18,7 @@
] ]
archive = [] archive = []
cargo-all = [] cargo-all = []
@@ -101,7 +96,6 @@ @@ -103,7 +98,6 @@
"elf", "elf",
"macho", "macho",
"pe", "pe",
@ -26,10 +26,10 @@
] ]
elf = [] elf = []
macho = [] macho = []
@@ -124,7 +118,6 @@ @@ -132,7 +126,6 @@
"unstable",
"xcoff",
] ]
std = ["memchr/std"]
unaligned = []
-wasm = ["wasmparser"] -wasm = ["wasmparser"]
write = [ write = [
"write_std", "write_std",

@ -1,11 +1,11 @@
# Generated by rust2rpm 22 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate object %global crate object
Name: rust-object Name: rust-object
Version: 0.29.0 Version: 0.30.3
Release: %autorelease Release: %autorelease
Summary: Unified interface for reading and writing object file formats Summary: Unified interface for reading and writing object file formats
@ -16,12 +16,10 @@ Source: %{crates_source}
# * disable WASM support (wasmparser dependency is very outdated) # * disable WASM support (wasmparser dependency is very outdated)
Patch: object-fix-metadata.diff Patch: object-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Unified interface for reading and writing object file formats.} A unified interface for reading and writing object file formats.}
%description %{_description} %description %{_description}
@ -257,6 +255,30 @@ use the "unaligned" feature of the "%{crate}" crate.
%files -n %{name}+unaligned-devel %files -n %{name}+unaligned-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable-devel %{_description}
This package contains library source intended for building other packages which
use the "unstable" feature of the "%{crate}" crate.
%files -n %{name}+unstable-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-all-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable-all-devel %{_description}
This package contains library source intended for building other packages which
use the "unstable-all" feature of the "%{crate}" crate.
%files -n %{name}+unstable-all-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+write-devel %package -n %{name}+write-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -293,6 +315,18 @@ use the "write_std" feature of the "%{crate}" crate.
%files -n %{name}+write_std-devel %files -n %{name}+write_std-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+xcoff-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+xcoff-devel %{_description}
This package contains library source intended for building other packages which
use the "xcoff" feature of the "%{crate}" crate.
%files -n %{name}+xcoff-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep

@ -1 +1 @@
SHA512 (object-0.29.0.crate) = fb69ed164b9d766b2eb268b3492134ba9ca6b4358eb61712773c44c5c0676ce04e3e0c749f947658ee1423dce5e11237f6b6c0320f2d32bd6979cae141273dc2 SHA512 (object-0.30.3.crate) = 61414475d3fcc7c4c3ad8c1316f6ada7801e28590d98bd425fa246f091d464de4eff7eba7cd74904517dee95ae0673e3d581400adb971306955a0aefa814172c

Loading…
Cancel
Save