Accepting request 361463 from home:bmwiedemann:branches:network
- drop a changing timestamp making build reproducible OBS-URL: https://build.opensuse.org/request/show/361463 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=187
This commit is contained in:
parent
fd2b586269
commit
0f06af6f9d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 25 16:10:45 UTC 2016 - bwiedemann@suse.com
|
||||
|
||||
- drop a changing timestamp making build reproducible
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 12 18:56:28 UTC 2016 - crrodriguez@opensuse.org
|
||||
|
||||
|
@ -377,6 +377,10 @@ Name Domain (BIND) DNS server is found in the package named bind.
|
||||
%patch53
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
# 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])' < %{S:0})
|
||||
sed -i "s/stdout, copyright, year/stdout, copyright, \"-$year\"/" lib/dns/gen.c
|
||||
|
||||
# modify settings of some files regarding to OS version and vendor
|
||||
function replaceStrings()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user