diff --git a/mozilla-nss.spec b/mozilla-nss.spec index c060be1..997c3aa 100644 --- a/mozilla-nss.spec +++ b/mozilla-nss.spec @@ -159,6 +159,7 @@ Mozilla project. %prep %setup -n nss-%{version} -q +cd nss %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -175,6 +176,7 @@ Mozilla project. #make generate %build +cd nss modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" @@ -208,6 +210,7 @@ fi %endif %install +cd nss mkdir -p $RPM_BUILD_ROOT%{_libdir} mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/nss mkdir -p $RPM_BUILD_ROOT%{_includedir}/nss3 diff --git a/nss-3.15.tar.gz b/nss-3.15.tar.gz index 10e1827..9bf3cf2 100644 --- a/nss-3.15.tar.gz +++ b/nss-3.15.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8bc424aa4d7cf2b9e0930132f00c36e0c15fb9c3c352d352629914d8b165747b -size 6629252 +oid sha256:c139f331ddcff4d5485590ee1b4489d3731aa520d4f5d942e2e40bba1e23a3cd +size 6276213 diff --git a/nss-opt.patch b/nss-opt.patch index 38e6136..41fbe0f 100644 --- a/nss-opt.patch +++ b/nss-opt.patch @@ -4,7 +4,7 @@ RCS file: /cvsroot/mozilla/security/coreconf/Linux.mk,v retrieving revision 1.45.2.1 diff -u -r1.45.2.1 Linux.mk --- security/coreconf/Linux.mk 31 Jul 2010 04:23:37 -0000 1.45.2.1 -+++ security/coreconf/Linux.mk 5 Aug 2010 07:35:06 -0000 ++++ nss/coreconf/Linux.mk 5 Aug 2010 07:35:06 -0000 @@ -112,11 +112,7 @@ endif