|
|
@ -1,12 +1,15 @@
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
# * resolve circular dependency with backtrace
|
|
|
|
# * resolve circular dependency with backtrace
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# prevent executables from being installed
|
|
|
|
|
|
|
|
%global cargo_install_bin 0
|
|
|
|
|
|
|
|
|
|
|
|
%global crate addr2line
|
|
|
|
%global crate addr2line
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-addr2line
|
|
|
|
Name: rust-addr2line
|
|
|
|
Version: 0.21.0
|
|
|
|
Version: 0.24.2
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Cross-platform symbolication library written in Rust, using gimli
|
|
|
|
Summary: Cross-platform symbolication library written in Rust, using gimli
|
|
|
|
|
|
|
|
|
|
|
@ -14,10 +17,11 @@ License: Apache-2.0 OR MIT
|
|
|
|
URL: https://crates.io/crates/addr2line
|
|
|
|
URL: https://crates.io/crates/addr2line
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * exclude files that are only useful for upstream development
|
|
|
|
# * drop binary and test that requires bin
|
|
|
|
|
|
|
|
# * drop clap dependency, only used by bin
|
|
|
|
Patch: addr2line-fix-metadata.diff
|
|
|
|
Patch: addr2line-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
BuildRequires: cargo-rpm-macros >= 26
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
A cross-platform symbolication library written in Rust, using `gimli`.}
|
|
|
|
A cross-platform symbolication library written in Rust, using `gimli`.}
|
|
|
@ -52,52 +56,52 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+cpp_demangle-devel
|
|
|
|
%package -n %{name}+cargo-all-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+cpp_demangle-devel %{_description}
|
|
|
|
%description -n %{name}+cargo-all-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use the "cpp_demangle" feature of the "%{crate}" crate.
|
|
|
|
use the "cargo-all" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+cpp_demangle-devel
|
|
|
|
%files -n %{name}+cargo-all-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fallible-iterator-devel
|
|
|
|
%package -n %{name}+cpp_demangle-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+fallible-iterator-devel %{_description}
|
|
|
|
%description -n %{name}+cpp_demangle-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use the "fallible-iterator" feature of the "%{crate}" crate.
|
|
|
|
use the "cpp_demangle" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fallible-iterator-devel
|
|
|
|
%files -n %{name}+cpp_demangle-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+memmap2-devel
|
|
|
|
%package -n %{name}+fallible-iterator-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+memmap2-devel %{_description}
|
|
|
|
%description -n %{name}+fallible-iterator-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use the "memmap2" feature of the "%{crate}" crate.
|
|
|
|
use the "fallible-iterator" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+memmap2-devel
|
|
|
|
%files -n %{name}+fallible-iterator-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+object-devel
|
|
|
|
%package -n %{name}+loader-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+object-devel %{_description}
|
|
|
|
%description -n %{name}+loader-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use the "object" feature of the "%{crate}" crate.
|
|
|
|
use the "loader" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+object-devel
|
|
|
|
%files -n %{name}+loader-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rustc-demangle-devel
|
|
|
|
%package -n %{name}+rustc-demangle-devel
|
|
|
@ -136,21 +140,11 @@ use the "std" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-object-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+std-object-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
|
|
|
use the "std-object" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+std-object-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
# remove source code for the binary we're not shipping
|
|
|
|
|
|
|
|
rm src/bin/addr2line.rs
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|