Accepting request 510075 from home:bmwiedemann:branches:network:dhcp
use .gz year instead of current one to make build reproducible OBS-URL: https://build.opensuse.org/request/show/510075 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=176
This commit is contained in:
parent
853382bddd
commit
c3ef98f4f3
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 13 12:27:59 UTC 2017 - bwiedemann@suse.com
|
||||
|
||||
- use .gz year instead of current one to make build reproducible
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 6 16:17:18 CEST 2017 - ndas@suse.de
|
||||
|
||||
|
@ -270,6 +270,9 @@ bind_dir=$(ls -1d bind-*)
|
||||
for i in /usr/share/automake-*/config.{sub,guess} ; do
|
||||
install -v -m755 $i $bind_dir/
|
||||
done
|
||||
# use the year from source gzip header instead of current one to make reproducible rpms
|
||||
year=$(perl -e 'sysread(STDIN, $h, 8); print (1900+(gmtime(unpack("l",substr($h,4))))[5])' < bind.tar.gz)
|
||||
sed -i "s/stdout, copyright, year/stdout, copyright, \"-$year\"/" $bind_dir/lib/dns/gen.c
|
||||
popd
|
||||
##
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user