diff --git a/mozilla-nspr.changes b/mozilla-nspr.changes index 8251331..b9984b2 100644 --- a/mozilla-nspr.changes +++ b/mozilla-nspr.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Feb 6 06:16:02 UTC 2014 - wr@rosenauer.org + +- update to version 4.10.3 + * bmo#749849: ensure we'll free the thread-specific data key. + * bmo#941461: don't compile android with unaligned memory access. + * bmo#932398: Add PR_SyncMemMap, a portable version of + msync/FlushViewOfFile. + * bmo#952621: Fix a thread-unsafe access to lock->owner in PR_Lock. + * bmo#957458: Fix several bugs in the lock rank checking code. + * bmo#936320: Use an alternative test for IPv6 support on Linux to + avoid opening a socket. + ------------------------------------------------------------------- Thu Dec 12 03:58:23 UTC 2013 - uweigand@de.ibm.com diff --git a/mozilla-nspr.spec b/mozilla-nspr.spec index 5364551..f1140f5 100644 --- a/mozilla-nspr.spec +++ b/mozilla-nspr.spec @@ -1,8 +1,8 @@ # # spec file for package mozilla-nspr # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. -# 2006-2013 Wolfgang Rosenauer +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 2006-2014 Wolfgang Rosenauer # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: mozilla-nspr -Version: 4.10.2 +Version: 4.10.3 Release: 0 Summary: Netscape Portable Runtime License: MPL-2.0 @@ -31,8 +31,7 @@ BuildRequires: pkg-config Obsoletes: mozilla-nspr-64bit %endif # -# ftp://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/nspr-%{version}.tar.bz2 -Source: nspr-%{version}.tar.bz2 +Source: ftp://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/nspr-%{version}.tar.gz Source1: baselibs.conf Patch0: config-guess-sub-update.diff Patch1: ppc64le-support.patch @@ -64,10 +63,13 @@ memory management (malloc and free), and shared library linking. %prep %setup -n nspr-%{version} -q +pushd nspr %patch0 -p0 %patch1 -p1 +popd %build +pushd nspr # set buildtime to "last-modification-time" modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" BUILD_STRING="$(date -u -d "${modified}" "+%%F %%T")" @@ -83,8 +85,10 @@ export CFLAGS="%{optflags}" --includedir=%{_includedir}/nspr4 \ --prefix=%{_prefix} make SH_DATE="$BUILD_STRING" SH_NOW="$BUILD_TIME" %{?_smp_mflags} +popd %install +pushd nspr mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_libdir}/nspr mkdir -p %{buildroot}%{_libdir}/pkgconfig @@ -96,6 +100,7 @@ cp -L dist/lib/*.a %{buildroot}%{_libdir}/nspr/ cp -rL dist/include/nspr/* %{buildroot}%{_includedir}/nspr4/ # #31667 chmod -x %{buildroot}%{_includedir}/nspr4/prvrsion.h +popd %check # Run test suite diff --git a/nspr-4.10.2.tar.bz2 b/nspr-4.10.2.tar.bz2 deleted file mode 100644 index 559efc5..0000000 --- a/nspr-4.10.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1cab9220a2a5792e0b74e5dbf3a0ac11679b57099ff47d3d6eefd62645bc2969 -size 891535 diff --git a/nspr-4.10.3.tar.gz b/nspr-4.10.3.tar.gz new file mode 100644 index 0000000..c8e7b5f --- /dev/null +++ b/nspr-4.10.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f25779b1a665dab0090b9c977dc6c29a63320f442956ed78629b66b405cb01e5 +size 1104478