Репозитории ALT
S: | 6.0.2-alt5 |
5.1: | 5.1.1-alt3 |
4.1: | 4.1.2-alt4.M41.1 |
4.0: | 4.1.2-alt5.M40.1 |
3.0: | 3.0-alt1 |
Группа :: Науки/Математика
Пакет: scilab
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: scilab-reproducible-build.patch
Скачать
Скачать
Description: make the build reproducible
Author: Chris Lamb
Forwarded: not needed
--- scilab.orig/scilab/configure.ac
+++ scilab/scilab/configure.ac
@@ -1955,6 +1955,9 @@
fi
CURRENT_YEAR=`date "+%Y"`
+if test -n "$SOURCE_DATE_EPOCH"; then
+ CURRENT_YEAR=`date --utc --date="@$SOURCE_DATE_EPOCH" "+%Y"`
+fi
DETECTED_YEAR=`grep "Copyright (c) 2017-" modules/core/src/cpp/banner.cpp|sed -e "s/.*Copyright (c) 2017-\([[0-9]]*\).*/\1/g"`
if test "$CURRENT_YEAR" != "$DETECTED_YEAR"; then