commit 4e016152ad12a645d7b0328e3f7d8d327d4e6130
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Mar 7 15:03:23 2021 +0200

    Link not copy cache

 opencv.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/opencv.spec b/opencv.spec
index 82a532b..3308fe4 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -339,7 +339,7 @@ cache_file() {
        md5="$(md5sum "$f" | awk '{print $1}')"
        file="$(basename "$f")"
        mkdir -p ".cache/$d"
-       install "$f" ".cache/$d/$md5-$file"
+       ln -s --relative "$f" ".cache/$d/$md5-$file"
 }
 for f in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} 
%{SOURCE15} %{SOURCE16}; do
        cache_file $f xfeatures2d/boostdesc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opencv.git/commitdiff/4e016152ad12a645d7b0328e3f7d8d327d4e6130

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to