- added a ccache conditional

size for DNS queries

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=128
This commit is contained in:
Wolfgang Rosenauer 2021-08-09 12:37:30 +00:00 committed by Git OBS Bridge
parent 503d90c8c0
commit ad2344b7b6
2 changed files with 14 additions and 1 deletions

View File

@ -1,10 +1,15 @@
-------------------------------------------------------------------
Mon Aug 9 12:36:58 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
- added a ccache conditional
-------------------------------------------------------------------
Sun Jul 18 09:17:57 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>
- update to version 4.32
* implement new socket option PR_SockOpt_DontFrag
* support larger DNS records by increasing the default buffer
size for DNS queries
size for DNS queries
-------------------------------------------------------------------
Thu May 27 16:54:45 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -17,6 +17,8 @@
#
%define useccache 1
Name: mozilla-nspr
Version: 4.32
Release: 0
@ -26,6 +28,9 @@ Group: System/Libraries
URL: http://www.mozilla.org/projects/nspr/
BuildRequires: gcc-c++
BuildRequires: pkg-config
%if 0%{useccache} != 0
BuildRequires: ccache
%endif
# bug437293
%ifarch ppc64
Obsoletes: mozilla-nspr-64bit
@ -77,6 +82,9 @@ export CFLAGS="%{optflags}"
%endif
--libdir=%{_libdir} \
--includedir=%{_includedir}/nspr4 \
%if 0%{useccache} != 0
--with-ccache \
%endif
--prefix=%{_prefix}
make SH_DATE="$BUILD_STRING" SH_NOW="$BUILD_TIME" %{?_smp_mflags}
popd