Accepting request 71086 from home:elvigia:branches:mozilla:Factory

- Do not include build dates in binaries, messes up 
  build compare

OBS-URL: https://build.opensuse.org/request/show/71086
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nss?expand=0&rev=70
This commit is contained in:
Wolfgang Rosenauer 2011-05-23 18:44:21 +00:00 committed by Git OBS Bridge
parent b5b1e4bc5c
commit 8618978223
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 23 17:37:34 UTC 2011 - crrodriguez@opensuse.org
- Do not include build dates in binaries, messes up
build compare
-------------------------------------------------------------------
Thu May 19 05:37:02 UTC 2011 - wr@rosenauer.org

View File

@ -179,6 +179,11 @@ cd mozilla
#make generate
%build
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
TIME="\"$(date -d "${modified}" "+%%R")\""
find . -name '*.[ch]' -print -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
cd mozilla/security/nss
#cp %SOURCE10 tests/libpkix/certs/PayPalEE.cert
export FREEBL_NO_DEPEND=1