!36 [sync] PR-34: disable debug option

From: @openeuler-sync-bot 
Reviewed-by: @SuperSix173 
Signed-off-by: @SuperSix173
This commit is contained in:
openeuler-ci-bot 2023-05-31 06:43:12 +00:00 committed by Gitee
commit f9c5e5e378
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global nspr_version 4.32
Name: nspr
Version: 4.32.0
Release: 4
Release: 5
Summary: Netscape Portable Runtime
License: MPLv2.0
URL: http://www.mozilla.org/projects/nspr
@ -42,7 +42,8 @@ cp ./nspr/config/nspr-config.in ./nspr/config/nspr-config-pc.in
%configure \
--includedir=%{_includedir}/nspr4 \
--enable-64bit \
--enable-optimize="$RPM_OPT_FLAGS"
--enable-optimize="$RPM_OPT_FLAGS" \
--disable-debug
%make_build
date +"%e %B %Y" | tr -d '\n' > date.xml
echo -n %{version} > version.xml
@ -90,6 +91,9 @@ install -c -m 644 nspr-config.1 $RPM_BUILD_ROOT%{_mandir}/man1/nspr-config.1
%{_mandir}/man*/*
%changelog
* Fri Feb 24 2023 Wenyu Liu<liuwenyu7@huawei.com> - 4.32.0-5
- disable debug option
* Wed Nov 23 2022 wuzx<wuzx1226@qq.com> - 4.32.0-4
- Add sw64 architecture