## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 # prevent library files from being installed %global cargo_install_lib 0 %global crate sccache Name: rust-sccache Version: 0.11.0 Release: %autorelease Summary: Ccache-like tool License: Apache-2.0 AND (Apache-2.0 OR MIT) URL: https://crates.io/crates/sccache Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: sccache-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * Edited default features # * Removed dist-server feature and rouille dependency # * Removed ar dependency # * Bumped gzp version number # * Bumped which version number Patch: sccache-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 26 %global _description %{expand: Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.} %description %{_description} %package -n %{crate} Summary: %{summary} # FIXME: paste output of %%cargo_license_summary here License: # FIXME # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc CODE_OF_CONDUCT.md %doc README.md %{_bindir}/sccache %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep rm -f tests/oauth.rs %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check # * Skip tests which use test-crate which isn't part of the source crate. # * Skip tests using ar crate # * Skip tests trying to use rustup %{cargo_test -- -- %{shrink: --skip test_rust_cargo_build --skip test_rust_cargo_build_readonly --skip test_rust_cargo_check --skip test_rust_cargo_check_readonly --skip test_rust_cargo_cmd_readonly_preemtive_block --skip test_rust_cargo_run_with_env_dep_parsing --skip test_adv_cache_hit_rate --skip test_cache_hit_rate --skip test_generate_hash_key --skip test_rlib_dep_reader_call }} %endif %changelog ## START: Generated by rpmautospec * Mon Oct 13 2025 Andreas Schneider - 0.11.0-2 - Bump opendal version to 0.54.1 * Mon Oct 13 2025 Andreas Schneider - 0.11.0-1 - Update to version 0.11.0 - resolves: rhbz#2403212 * Fri Jul 25 2025 Fedora Release Engineering - 0.10.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Wed Jul 09 2025 Benjamin A. Beasley - 0.10.0-7 - Patch cargo license metadata to match intended RPM License * Wed Jul 09 2025 Benjamin A. Beasley - 0.10.0-6 - Fix License and document its rationale * Wed Jul 09 2025 Benjamin A. Beasley - 0.10.0-5 - Include the output of %%{cargo_license_summary} in a spec-file comment * Wed Jul 09 2025 Benjamin A. Beasley - 0.10.0-4 - Update which from 7 to 8 - We must re-enable default features. * Wed Jul 09 2025 Benjamin A. Beasley - 0.10.0-3 - Add a rust2rpm.toml file * Thu Jun 26 2025 Andreas Schneider - 0.10.0-2 - Rebuild against new rust-gzp build * Thu Jun 26 2025 Andreas Schneider - 0.10.0-1 - Initial package version 0.10.0 - resolves: rhbz#2362051 ## END: Generated by rpmautospec