[packages/sccache] - up to 0.2.15
baggins
baggins at pld-linux.org
Fri Oct 29 23:49:36 CEST 2021
commit dc6e6d772542977eb43646da0bd7701bf9eef98d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Oct 29 23:49:24 2021 +0200
- up to 0.2.15
openssl.patch | 24 ++++++++++++++++++++++++
sccache.spec | 13 +++++++++----
2 files changed, 33 insertions(+), 4 deletions(-)
---
diff --git a/sccache.spec b/sccache.spec
index fbc2ca7..118bed0 100644
--- a/sccache.spec
+++ b/sccache.spec
@@ -1,18 +1,19 @@
Summary: sccache is ccache with cloud storage
Name: sccache
-Version: 0.2.13
+Version: 0.2.15
Release: 1
License: Apache v2.0
Group: Development/Tools
Source0: https://github.com/mozilla/sccache/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: acc81e9b1c7097d4119ad31cd6a845a9
+# Source0-md5: dcb0cf6686c334df82f0a2b41eae19ab
# cd sccache-%{version}
# cargo vendor
# cd ..
# tar -cJf sccache-crates-%{version}.tar.xz sccache-%{version}/{vendor,Cargo.lock}
# ./dropin sccache-crates-%{version}.tar.xz
Source1: %{name}-crates-%{version}.tar.xz
-# Source1-md5: a864c5cf727f15b9e17ab8d328f3c4be
+# Source1-md5: cac0034c691ba28b575bb955fce1159d
+Patch0: openssl.patch
URL: https://github.com/mozilla/sccache
BuildRequires: openssl-devel
BuildRequires: rust >= 1.43.0
@@ -23,6 +24,9 @@ BuildRequires: xz
ExcludeArch: s390 s390x ppc ppc64 ppc64le
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# TODO: this should not be needed
+%define _debugsource_packages 0
+
%description
Sccache is a ccache-like tool. It is used as a compiler wrapper and
avoids compilation when possible, storing a cache in a remote storage
@@ -31,6 +35,7 @@ Google Cloud Storage (GCS) API.
%prep
%setup -q -b1
+%patch0 -p1
install -d .cargo
cat >.cargo/config <<'EOF'
@@ -55,7 +60,7 @@ cargo -v build \
--target x86_64-unknown-linux-gnux32 \
%endif
--release \
- --frozen
+ --offline
%clean
rm -rf $RPM_BUILD_ROOT
diff --git a/openssl.patch b/openssl.patch
new file mode 100644
index 0000000..ec3cb8a
--- /dev/null
+++ b/openssl.patch
@@ -0,0 +1,24 @@
+--- sccache-0.2.15/Cargo.lock~ 2021-01-12 23:25:51.000000000 +0100
++++ sccache-0.2.15/Cargo.lock 2021-10-29 23:41:19.737748490 +0200
+@@ -1765,9 +1765,8 @@
+
+ [[package]]
+ name = "openssl"
+-version = "0.10.32"
++version = "0.10.37"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70"
+ dependencies = [
+ "bitflags",
+ "cfg-if 1.0.0",
+@@ -1785,9 +1784,8 @@
+
+ [[package]]
+ name = "openssl-sys"
+-version = "0.9.60"
++version = "0.9.68"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6"
+ dependencies = [
+ "autocfg 1.0.1",
+ "cc",
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sccache.git/commitdiff/dc6e6d772542977eb43646da0bd7701bf9eef98d
More information about the pld-cvs-commit
mailing list