## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 28 %bcond check 1 %global debug_package %{nil} %global crate salsa Name: rust-salsa Version: 0.27.0 Release: %autorelease Summary: Generic framework for on-demand, incrementalized computation License: Apache-2.0 OR MIT URL: https://crates.io/crates/salsa Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Remove benchmark-only dev-dependency on codspeed-criterion-compat # * Temporarily omit annotate-snippets dev-dependency and the calc example that # requires it. Upstream updated annotate-snippets from 0.11 to 0.12, and some # source-code changes in the example were required. However, rust-cargo still # needs annotate-snippets 0.11. It is easier to temporarily stop compiling the # example that to update rust-annotate-snippets and create a # rust-annotate-snippets0.11 compat package solely to support one example. Patch: salsa-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A generic framework for on-demand, incrementalized computation (experimental).} %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}/CHANGELOG.md %doc %{crate_instdir}/FAQ.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}+accumulator-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+accumulator-devel %{_description} This package contains library source intended for building other packages which use the "accumulator" feature of the "%{crate}" crate. %files -n %{name}+accumulator-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compact_str-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compact_str-devel %{_description} This package contains library source intended for building other packages which use the "compact_str" feature of the "%{crate}" crate. %files -n %{name}+compact_str-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+inventory-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+inventory-devel %{_description} This package contains library source intended for building other packages which use the "inventory" feature of the "%{crate}" crate. %files -n %{name}+inventory-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+macros-devel %{_description} This package contains library source intended for building other packages which use the "macros" feature of the "%{crate}" crate. %files -n %{name}+macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ordermap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ordermap-devel %{_description} This package contains library source intended for building other packages which use the "ordermap" feature of the "%{crate}" crate. %files -n %{name}+ordermap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+persistence-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+persistence-devel %{_description} This package contains library source intended for building other packages which use the "persistence" feature of the "%{crate}" crate. %files -n %{name}+persistence-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rayon-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rayon-devel %{_description} This package contains library source intended for building other packages which use the "rayon" feature of the "%{crate}" crate. %files -n %{name}+rayon-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+salsa_unstable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+salsa_unstable-devel %{_description} This package contains library source intended for building other packages which use the "salsa_unstable" feature of the "%{crate}" crate. %files -n %{name}+salsa_unstable-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 * Fri Jun 05 2026 Benjamin A. Beasley - 0.27.0-1 - Update to version 0.27.0; Fixes RHBZ#2484636 * Sat May 09 2026 Benjamin A. Beasley - 0.26.2-2 - Bump release to preserve ordering with diverged F42 branch * Tue May 05 2026 Benjamin A. Beasley - 0.26.2-1 - Update to 0.26.2 * Tue May 05 2026 Benjamin A. Beasley - 0.26.1-3 - Skip memory usage tests on 32-bit (non-64-bit) targets * Tue May 05 2026 Benjamin A. Beasley - 0.26.1-2 - Remove outdated RELEASES.md file; exclude a few more files * Tue May 05 2026 Benjamin A. Beasley - 0.26.1-1 - Initial package (close RHBZ#2463223) ## END: Generated by rpmautospec