From 5972d7e139bdf89271b484bcd4e4d543c2d056929a19ab66fa35fc71471e6bce Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 4 Jun 2017 10:28:02 +0000 Subject: [PATCH] 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 --- xorg-x11-fonts.changes | 6 ++++++ xorg-x11-fonts.spec | 1 + 2 files changed, 7 insertions(+) diff --git a/xorg-x11-fonts.changes b/xorg-x11-fonts.changes index c0c756c..382dd11 100644 --- a/xorg-x11-fonts.changes +++ b/xorg-x11-fonts.changes @@ -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 diff --git a/xorg-x11-fonts.spec b/xorg-x11-fonts.spec index cd46ed4..9eec1db 100644 --- a/xorg-x11-fonts.spec +++ b/xorg-x11-fonts.spec @@ -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