|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate object
|
|
|
|
|
|
|
|
|
|
Name: rust-object
|
|
|
|
|
Version: 0.32.2
|
|
|
|
|
Version: 0.36.2
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Unified interface for reading and writing object file formats
|
|
|
|
|
|
|
|
|
@ -13,7 +13,6 @@ License: Apache-2.0 OR MIT
|
|
|
|
|
URL: https://crates.io/crates/object
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * bump ruzstd dependency from 0.4 to 0.5
|
|
|
|
|
# * disable unused WASM support
|
|
|
|
|
Patch: object-fix-metadata.diff
|
|
|
|
|
|
|
|
|
@ -76,6 +75,30 @@ use the "archive" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+archive-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+build-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+build-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "build" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+build-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+build_core-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+build_core-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "build_core" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+build_core-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+cargo-all-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -296,7 +319,7 @@ use the "xcoff" feature of the "%{crate}" crate.
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
# * skip tests that require files which are not included in published crates
|
|
|
|
|
%cargo_test -- -- --exact --skip read::coff::coff_extended_relocations
|
|
|
|
|
%cargo_test -- -- --exact --skip read::coff::coff_extended_relocations --skip read::elf::get_buildid_bad_elf --skip read::elf::get_buildid_less_bad_elf --skip read::macho::test_go_macho
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|