|
|
@ -1,23 +1,25 @@
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
# Generated by rust2rpm 22
|
|
|
|
# * resolve circular dependency with backtrace
|
|
|
|
# * resolve circular dependency with backtrace
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate addr2line
|
|
|
|
%global crate addr2line
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-addr2line
|
|
|
|
Version: 0.17.0
|
|
|
|
Version: 0.18.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Cross-platform symbolication library based on gimli
|
|
|
|
Summary: Cross-platform symbolication library based on gimli
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0 OR MIT
|
|
|
|
License: Apache-2.0 OR MIT
|
|
|
|
License: ASL 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
|
|
|
|
|
|
|
|
# * exclude files that are only useful for upstream development
|
|
|
|
|
|
|
|
Patch: addr2line-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Cross-platform symbolication library written in Rust, using `gimli`.}
|
|
|
|
Cross-platform symbolication library written in Rust, using `gimli`.}
|
|
|
@ -34,10 +36,11 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
%doc CHANGELOG.md README.md
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/{bench.plot.r,benchmark.sh,coverage,rustfmt.toml}
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -49,7 +52,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+cpp_demangle-devel
|
|
|
|
%package -n %{name}+cpp_demangle-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -61,7 +64,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "cpp_demangle" feature of the "%{crate}" crate.
|
|
|
|
use the "cpp_demangle" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+cpp_demangle-devel
|
|
|
|
%files -n %{name}+cpp_demangle-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fallible-iterator-devel
|
|
|
|
%package -n %{name}+fallible-iterator-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -73,7 +76,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "fallible-iterator" feature of the "%{crate}" crate.
|
|
|
|
use the "fallible-iterator" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fallible-iterator-devel
|
|
|
|
%files -n %{name}+fallible-iterator-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+object-devel
|
|
|
|
%package -n %{name}+object-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -85,7 +88,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "object" feature of the "%{crate}" crate.
|
|
|
|
use the "object" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+object-devel
|
|
|
|
%files -n %{name}+object-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rustc-demangle-devel
|
|
|
|
%package -n %{name}+rustc-demangle-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -97,7 +100,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "rustc-demangle" feature of the "%{crate}" crate.
|
|
|
|
use the "rustc-demangle" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rustc-demangle-devel
|
|
|
|
%files -n %{name}+rustc-demangle-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+smallvec-devel
|
|
|
|
%package -n %{name}+smallvec-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -109,7 +112,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "smallvec" feature of the "%{crate}" crate.
|
|
|
|
use the "smallvec" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+smallvec-devel
|
|
|
|
%files -n %{name}+smallvec-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -121,7 +124,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "std" feature of the "%{crate}" crate.
|
|
|
|
use the "std" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-object-devel
|
|
|
|
%package -n %{name}+std-object-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -133,7 +136,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "std-object" feature of the "%{crate}" crate.
|
|
|
|
use the "std-object" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+std-object-devel
|
|
|
|
%files -n %{name}+std-object-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|