Accepting request 72373 from mozilla:Factory

OBS-URL: https://build.opensuse.org/request/show/72373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mozilla-nss?expand=0&rev=49
This commit is contained in:
Sascha Peilicke 2011-06-01 07:16:29 +00:00 committed by Git OBS Bridge
commit 5b685ba359
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 Thu May 19 05:37:02 UTC 2011 - wr@rosenauer.org

View File

@ -179,6 +179,11 @@ cd mozilla
#make generate #make generate
%build %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 cd mozilla/security/nss
#cp %SOURCE10 tests/libpkix/certs/PayPalEE.cert #cp %SOURCE10 tests/libpkix/certs/PayPalEE.cert
export FREEBL_NO_DEPEND=1 export FREEBL_NO_DEPEND=1