import rust-object-0.32.2-1.el9

i9ce changed/i9ce/rust-object-0.32.2-1.el9
MSVSphere Packaging Team 1 year ago
parent c38cf9228b
commit b07152abb4

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/object-0.32.2.crate

@ -0,0 +1 @@
4388411dd3fdb0cfdc8a197c321a03490691fabd SOURCES/object-0.32.2.crate

Binary file not shown.

@ -1,11 +1,11 @@
--- object-0.30.3/Cargo.toml 1970-01-01T00:00:01+00:00 --- object-0.32.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ object-0.30.3/Cargo.toml 2023-03-30T18:31:27.154876+00:00 +++ object-0.32.2/Cargo.toml 2023-12-27T19:50:43.679682+00:00
@@ -70,17 +70,12 @@ @@ -76,17 +76,12 @@
version = "2.4.1" version = "0.5.0"
default-features = false optional = true
-[dependencies.wasmparser] -[dependencies.wasmparser]
-version = "0.57" -version = "0.118.0"
-optional = true -optional = true
- -
[features] [features]
@ -18,19 +18,19 @@
] ]
archive = [] archive = []
cargo-all = [] cargo-all = []
@@ -103,7 +98,6 @@ @@ -110,7 +105,6 @@
"elf", "elf",
"macho", "macho",
"pe", "pe",
- "wasm", - "wasm",
"xcoff",
] ]
elf = [] elf = []
macho = [] @@ -140,7 +134,6 @@
@@ -132,7 +126,6 @@ "all",
"unstable", "unstable",
"xcoff",
] ]
-wasm = ["wasmparser"] -wasm = ["dep:wasmparser"]
write = [ write = [
"write_std", "write_std",
"coff", "coff",

@ -0,0 +1,13 @@
[features]
hide = [
"alloc",
"compiler_builtins",
"core",
"rustc-dep-of-std",
]
[tests]
skip = ["read::coff::coff_extended_relocations"]
skip-exact = true
comments = ["skip tests that require files which are not included in published crates"]

@ -8,14 +8,14 @@
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec ## END: Set by rpmautospec
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%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.30.3 Version: 0.32.2
Release: %autorelease Release: %autorelease
Summary: Unified interface for reading and writing object file formats Summary: Unified interface for reading and writing object file formats
@ -23,10 +23,11 @@ License: Apache-2.0 OR MIT
URL: https://crates.io/crates/object URL: https://crates.io/crates/object
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * disable WASM support (wasmparser dependency is very outdated) # * bump ruzstd dependency from 0.4 to 0.5
# * disable unused WASM support
Patch: object-fix-metadata.diff Patch: object-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
A unified interface for reading and writing object file formats.} A unified interface for reading and writing object file formats.}
@ -121,18 +122,6 @@ use the "compression" feature of the "%{crate}" crate.
%files -n %{name}+compression-devel %files -n %{name}+compression-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/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 the "crc32fast" feature of the "%{crate}" crate.
%files -n %{name}+crc32fast-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+doc-devel %package -n %{name}+doc-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -157,42 +146,6 @@ use the "elf" feature of the "%{crate}" crate.
%files -n %{name}+elf-devel %files -n %{name}+elf-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+flate2-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+flate2-devel %{_description}
This package contains library source intended for building other packages which
use the "flate2" feature of the "%{crate}" crate.
%files -n %{name}+flate2-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+hashbrown-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+hashbrown-devel %{_description}
This package contains library source intended for building other packages which
use the "hashbrown" feature of the "%{crate}" crate.
%files -n %{name}+hashbrown-devel
%ghost %{crate_instdir}/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 the "indexmap" feature of the "%{crate}" crate.
%files -n %{name}+indexmap-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+macho-devel %package -n %{name}+macho-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -338,7 +291,7 @@ use the "xcoff" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires
@ -353,13 +306,22 @@ use the "xcoff" feature of the "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
# * skip tests that require files which are not included in published crates # * skip tests that require files which are not included in published crates
%cargo_test -- -- --skip read::coff::coff_extended_relocations %cargo_test -- -- --exact --skip read::coff::coff_extended_relocations
%endif %endif
%changelog %changelog
* Mon Nov 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.30.3-1 * Wed Dec 27 2023 Fabio Valentini <decathorpe@gmail.com> - 0.32.2-1
- Update to version 0.32.2; Fixes RHBZ#2255736
* Wed Nov 29 2023 Fabio Valentini <decathorpe@gmail.com> - 0.32.1-1
- Update to version 0.32.1; Fixes RHBZ#2186956
* Mon Nov 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.30.3-2
- Rebuilt for MSVSphere 9.2 - Rebuilt for MSVSphere 9.2
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Mar 30 2023 Fabio Valentini <decathorpe@gmail.com> - 0.30.3-1 * Thu Mar 30 2023 Fabio Valentini <decathorpe@gmail.com> - 0.30.3-1
- Update to version 0.30.3; Fixes RHBZ#2144698 - Update to version 0.30.3; Fixes RHBZ#2144698

Loading…
Cancel
Save