Accepting request 178597 from mozilla:Factory
OBS-URL: https://build.opensuse.org/request/show/178597 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mozilla-nspr?expand=0&rev=43
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
--- mozilla/nsprpub/build/autoconf/config.guess
|
||||
+++ mozilla/nsprpub/build/autoconf/config.guess
|
||||
+++ build/autoconf/config.guess
|
||||
@@ -1,13 +1,14 @@
|
||||
#! /bin/sh
|
||||
# Attempt to guess a canonical system name.
|
||||
@@ -971,7 +971,7 @@
|
||||
If the version you run ($0) is already up to date, please
|
||||
send the following data and any information you think might be
|
||||
--- mozilla/nsprpub/build/autoconf/config.sub
|
||||
+++ mozilla/nsprpub/build/autoconf/config.sub
|
||||
+++ build/autoconf/config.sub
|
||||
@@ -1,38 +1,33 @@
|
||||
#! /bin/sh
|
||||
# Configuration validation subroutine script.
|
||||
|
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 9 21:41:08 UTC 2013 - wr@rosenauer.org
|
||||
|
||||
- update to version 4.10
|
||||
* bmo#844513: Add AddressSanitizer (ASan) memory check annotations to
|
||||
PLArena.
|
||||
* bmo#849089: Simple changes to make NSPR's configure.in work with
|
||||
the current version of autoconf.
|
||||
* bmo#856196: Fix compiler warnings and clean up code in NSPR 4.10.
|
||||
* bmo#859066: Fix warning in nsprpub/pr/src/misc/prnetdb.c.
|
||||
* bmo#859830: Deprecate ANDROID_VERSION in favor of android/api-level.h.
|
||||
* bmo#861434: Make PR_SetThreadPriority() change priorities
|
||||
relatively to the main process instead of using absolute values on
|
||||
Linux.
|
||||
* bmo#871064L: _PR_InitThreads() should not call PR_SetThreadPriority.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 16 12:00:38 UTC 2013 - wr@rosenauer.org
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
Name: mozilla-nspr
|
||||
Version: 4.9.6
|
||||
Version: 4.10
|
||||
Release: 0
|
||||
Summary: Netscape Portable Runtime
|
||||
License: MPL-2.0
|
||||
@@ -62,7 +62,7 @@ memory management (malloc and free), and shared library linking.
|
||||
|
||||
%prep
|
||||
%setup -n nspr-%{version} -q
|
||||
%patch0
|
||||
%patch0 -p0
|
||||
|
||||
%build
|
||||
# set buildtime to "last-modification-time"
|
||||
@@ -70,7 +70,6 @@ modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||
BUILD_STRING="$(date -u -d "${modified}" "+%%F %%T")"
|
||||
BUILD_TIME="$(date -u -d "${modified}" "+%%s000000")"
|
||||
#
|
||||
cd mozilla/nsprpub
|
||||
export CFLAGS="%{optflags}"
|
||||
./configure --enable-optimize="$CFLAGS" \
|
||||
--disable-debug \
|
||||
@@ -87,17 +86,17 @@ mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_libdir}/nspr
|
||||
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
||||
mkdir -p %{buildroot}%{_includedir}/nspr4
|
||||
cp mozilla/nsprpub/config/nspr-config %{buildroot}%{_bindir}/
|
||||
cp mozilla/nsprpub/config/nspr.pc %{buildroot}%{_libdir}/pkgconfig
|
||||
cp -L mozilla/nsprpub/dist/lib/*.so %{buildroot}%{_libdir}
|
||||
cp -L mozilla/nsprpub/dist/lib/*.a %{buildroot}%{_libdir}/nspr/
|
||||
cp -rL mozilla/nsprpub/dist/include/nspr/* %{buildroot}%{_includedir}/nspr4/
|
||||
cp config/nspr-config %{buildroot}%{_bindir}/
|
||||
cp config/nspr.pc %{buildroot}%{_libdir}/pkgconfig
|
||||
cp -L dist/lib/*.so %{buildroot}%{_libdir}
|
||||
cp -L dist/lib/*.a %{buildroot}%{_libdir}/nspr/
|
||||
cp -rL dist/include/nspr/* %{buildroot}%{_includedir}/nspr4/
|
||||
# #31667
|
||||
chmod -x %{buildroot}%{_includedir}/nspr4/prvrsion.h
|
||||
|
||||
%check
|
||||
# Run test suite
|
||||
perl ./mozilla/nsprpub/pr/tests/runtests.pl 2>&1 | tee output.log
|
||||
perl ./pr/tests/runtests.pl 2>&1 | tee output.log
|
||||
TEST_FAILURES=`grep -c FAILED ./output.log` || :
|
||||
if [ $TEST_FAILURES -ne 0 ]; then
|
||||
echo "error: test suite returned failure(s)"
|
||||
|
3
nspr-4.10.tar.bz2
Normal file
3
nspr-4.10.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1bef6138aad1be90f1562473a7769a4dd54bf5d688dc65ac820098900179344c
|
||||
size 891065
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6808e0ab9b1bad1b6336bb13de2192c142dda9274f6f8bfe397a458b0ae5cfc
|
||||
size 889319
|
Reference in New Issue
Block a user