Accepting request 500864 from home:bmwiedemann:branches:X11:XOrg

use wrapper script during build to call gzip -n 
to not add timestamps to .gz files to have fully reproducible builds

OBS-URL: https://build.opensuse.org/request/show/500864
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-fonts?expand=0&rev=88
This commit is contained in:
Stefan Dirsch 2017-06-04 10:28:02 +00:00 committed by Git OBS Bridge
parent 500f27b01a
commit 5972d7e139
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 3 16:06:58 UTC 2017 - bwiedemann@suse.com
- use wrapper script during build to call gzip -n
to not add timestamps to .gz files to have fully reproducible builds
-------------------------------------------------------------------
Wed Jun 11 14:49:02 UTC 2014 - sndirsch@suse.com

View File

@ -107,6 +107,7 @@ rm -rf $RPM_BUILD_DIR/*
for i in $RPM_SOURCE_DIR/*.tar.bz2; do tar xjf $i; done
%build
echo -e '#!/bin/sh\nexec /usr/bin/gzip -n -9 "$@"' > ../gzip ; chmod a+x ../gzip ; PATH=`pwd`/..:$PATH
for dir in encodings-* $(ls | grep -v -e encodings -e alias) font-alias-* ; do
pushd $dir
case $dir in