[arch-commits] Commit in clang/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Fri May 22 14:38:36 UTC 2020


    Date: Friday, May 22, 2020 @ 14:38:35
  Author: foutrelis
Revision: 387429

upgpkg: clang 10.0.0-3: attempt to fix reproducibility

Modified:
  clang/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-22 14:11:52 UTC (rev 387428)
+++ PKGBUILD	2020-05-22 14:38:35 UTC (rev 387429)
@@ -3,7 +3,7 @@
 
 pkgname=clang
 pkgver=10.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc="C language family frontend for LLVM"
 arch=('x86_64')
 url="https://clang.llvm.org/"
@@ -134,6 +134,7 @@
   # Fix shebang in Python 2 script
   sed -i '1s|/usr/bin/env python$|&2|' \
     "$pkgdir"/usr/share/$pkgname/run-find-all-symbols.py
+  touch -d @$SOURCE_DATE_EPOCH "$pkgdir"/usr/share/$pkgname/run-find-all-symbols.py
 
   # Compile Python scripts
   _python2_optimize "$pkgdir/usr/share/clang"



More information about the arch-commits mailing list