## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 27 # * tests require unpackaged dump_syms %bcond check 0 %global debug_package %{nil} %global crate blazesym %global crate_version 0.2.0-rc.0 Name: rust-blazesym Version: 0.2.0~rc.0 Release: %autorelease Summary: Library for address symbolization and related tasks License: BSD-3-Clause URL: https://crates.io/crates/blazesym Source: %{crates_source %{crate} %{crate_version}} # Manually created patch for downstream crate metadata changes # * bump addr2line from =0.23.0 to 0.24.0 # * bump gimli from 0.30 to 0.31 # * bump miniz_oxide from 0.7 to 0.8: # https://github.com/libbpf/blazesym/commit/74398d8 # * drop unpackaged dump_syms dev-dependency # * drop unneeded reqwest, xz2, zip # * clean up dependencies of generate-* features # * drop nightly feature from stats_alloc # * allow gimli 0.32, addr2line 0.25, cpp_demangle 0.5 Patch: blazesym-fix-metadata.diff # * Source-code change required for compatibility with cpp_demangle 0.5; see # also: Update cpp_demangle dependency to 0.5, # https://github.com/libbpf/blazesym/commit/e4f0557f6a0d02dc03526bca6977a6100e9cce94 Patch10: blazesym-0.2.0-rc.0-cpp_demangle-0.5.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Blazesym is a library for address symbolization and related tasks.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README-devel.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+apk-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+apk-devel %{_description} This package contains library source intended for building other packages which use the "apk" feature of the "%{crate}" crate. %files -n %{name}+apk-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+backtrace-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+backtrace-devel %{_description} This package contains library source intended for building other packages which use the "backtrace" feature of the "%{crate}" crate. %files -n %{name}+backtrace-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+breakpad-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+breakpad-devel %{_description} This package contains library source intended for building other packages which use the "breakpad" feature of the "%{crate}" crate. %files -n %{name}+breakpad-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+demangle-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+demangle-devel %{_description} This package contains library source intended for building other packages which use the "demangle" feature of the "%{crate}" crate. %files -n %{name}+demangle-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dwarf-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dwarf-devel %{_description} This package contains library source intended for building other packages which use the "dwarf" feature of the "%{crate}" crate. %files -n %{name}+dwarf-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gsym-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gsym-devel %{_description} This package contains library source intended for building other packages which use the "gsym" feature of the "%{crate}" crate. %files -n %{name}+gsym-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tracing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tracing-devel %{_description} This package contains library source intended for building other packages which use the "tracing" feature of the "%{crate}" crate. %files -n %{name}+tracing-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zlib-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zlib-devel %{_description} This package contains library source intended for building other packages which use the "zlib" feature of the "%{crate}" crate. %files -n %{name}+zlib-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zstd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zstd-devel %{_description} This package contains library source intended for building other packages which use the "zstd" feature of the "%{crate}" crate. %files -n %{name}+zstd-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{crate_version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Tue Nov 04 2025 Benjamin A. Beasley - 0.2.0~rc.0-5 - Allow gimli 0.32, addr2line 0.25, cpp_demangle 0.5 * Sun Sep 07 2025 Fabio Valentini - 0.2.0~rc.0-4 - Bump miniz_oxide dependency from 0.7 to 0.8 * Fri Jul 25 2025 Fedora Release Engineering - 0.2.0~rc.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 0.2.0~rc.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Jul 30 2024 Michel Lind - 0.2.0~rc.0-1 - Initial package (rhbz#2301840) ## END: Generated by rpmautospec