## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 %bcond check 1 %global debug_package %{nil} %global crate tikv-jemallocator Name: rust-tikv-jemallocator Version: 0.6.1 Release: %autorelease Summary: Rust allocator backed by jemalloc # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/tikv-jemallocator Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Omit the tikv-jemalloc-ctl dev-dependency, which we do not wish to package, # and the tests that would require it: tests/background_thread_defaults.rs, # tests/background_thread_enabled.rs, and tests/malloctl.rs. Patch: tikv-jemallocator-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A Rust allocator backed by jemalloc.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %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}+alloc_trait-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alloc_trait-devel %{_description} This package contains library source intended for building other packages which use the "alloc_trait" feature of the "%{crate}" crate. %files -n %{name}+alloc_trait-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+background_threads-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+background_threads-devel %{_description} This package contains library source intended for building other packages which use the "background_threads" feature of the "%{crate}" crate. %files -n %{name}+background_threads-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+background_threads_runtime_support-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+background_threads_runtime_support-devel %{_description} This package contains library source intended for building other packages which use the "background_threads_runtime_support" feature of the "%{crate}" crate. %files -n %{name}+background_threads_runtime_support-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+debug-devel %{_description} This package contains library source intended for building other packages which use the "debug" feature of the "%{crate}" crate. %files -n %{name}+debug-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+override_allocator_on_supported_platforms-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+override_allocator_on_supported_platforms-devel %{_description} This package contains library source intended for building other packages which use the "override_allocator_on_supported_platforms" feature of the "%{crate}" crate. %files -n %{name}+override_allocator_on_supported_platforms-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+profiling-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+profiling-devel %{_description} This package contains library source intended for building other packages which use the "profiling" feature of the "%{crate}" crate. %files -n %{name}+profiling-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+stats-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+stats-devel %{_description} This package contains library source intended for building other packages which use the "stats" feature of the "%{crate}" crate. %files -n %{name}+stats-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unprefixed_malloc_on_supported_platforms-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unprefixed_malloc_on_supported_platforms-devel %{_description} This package contains library source intended for building other packages which use the "unprefixed_malloc_on_supported_platforms" feature of the "%{crate}" crate. %files -n %{name}+unprefixed_malloc_on_supported_platforms-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{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 * Thu Oct 16 2025 Benjamin A. Beasley - 0.6.1-1 - Update to version 0.6.1; Fixes RHBZ#2404523 * Fri Jul 25 2025 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jul 08 2025 Benjamin A. Beasley - 0.6.0-1 - Initial package (close RHBZ#2366368) ## END: Generated by rpmautospec