diff options
-rw-r--r-- | ccache.spec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ccache.spec b/ccache.spec index d018c38..8efb9f6 100644 --- a/ccache.spec +++ b/ccache.spec @@ -27,6 +27,7 @@ BuildRequires: hiredis-devel BuildRequires: libzstd-devel BuildRequires: xxhash-devel BuildRequires: clang clang-tools-extra +BuildRequires: coreutils grep awk Requires: coreutils Requires(pre): shadow-utils @@ -45,7 +46,9 @@ sed -e 's|@LIBDIR@|%{_libdir}|g' -e 's|@CACHEDIR@|%{_var}/cache/ccache|g' \ sed -e 's|@LIBDIR@|%{_libdir}|g' -e 's|@CACHEDIR@|%{_var}/cache/ccache|g' \ %{S:2} > %{name}.csh -install -Dm 644 src/third_party/doctest/doctest.h %{S:3} +grep "SHA256 `sha256sum %{S:3} | awk '{print $1}'`" cmake/FindDoctest.cmake + +install -Dm 644 %{S:3} src/third_party/doctest/doctest.h %build %cmake -B %{_vpath_builddir} -DDEPS=LOCAL |