Accepting request 221214 from mozilla:Factory

OBS-URL: https://build.opensuse.org/request/show/221214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mozilla-nspr?expand=0&rev=48
This commit is contained in:
Tomáš Chvátal 2014-02-08 09:34:27 +00:00 committed by Git OBS Bridge
commit 535d3bc21a
4 changed files with 26 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1cab9220a2a5792e0b74e5dbf3a0ac11679b57099ff47d3d6eefd62645bc2969
size 891535

3
nspr-4.10.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f25779b1a665dab0090b9c977dc6c29a63320f442956ed78629b66b405cb01e5
size 1104478