|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|