Accepting request 965122 from home:firstyear:branches:devel:languages:rust

- 0001-Ignore-some-env-vars.patch - sccache will ignore rebuilds if
  env vars change. As a result, we need to filter a number of values
  that rpm/osc-build injects that change frequently that disrupts
  the ability for sccache to cache effectively.

OBS-URL: https://build.opensuse.org/request/show/965122
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/sccache?expand=0&rev=14
This commit is contained in:
2022-03-27 01:51:21 +00:00
committed by Git OBS Bridge
parent b65b902463
commit e4233a3973
3 changed files with 48 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ Source11: sccache-dist-scheduler.service
Source12: builder.conf
Source13: scheduler.conf
Source14: client.example
Patch1: 0001-Ignore-some-env-vars.patch
BuildRequires: cargo-packaging
BuildRequires: pkgconfig(openssl)
Requires: bubblewrap
@@ -46,6 +47,8 @@ the Google Cloud Storage (GCS) API.
%prep
%setup -q
%setup -qa1
%patch1 -p1
mkdir .cargo
cp %{SOURCE2} .cargo/config
# Remove exec bits to prevent an issue in fedora shebang checking