!32 disable debug option

From: @WizardHowl 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2023-02-24 10:52:45 +00:00 committed by Gitee
commit 0fdda4688d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global nspr_version 4.35 %global nspr_version 4.35
Name: nspr Name: nspr
Version: 4.35.0 Version: 4.35.0
Release: 1 Release: 2
Summary: Netscape Portable Runtime Summary: Netscape Portable Runtime
License: MPLv2.0 License: MPLv2.0
URL: http://www.mozilla.org/projects/nspr URL: http://www.mozilla.org/projects/nspr
@ -35,7 +35,8 @@ cp ./nspr/config/nspr-config.in ./nspr/config/nspr-config-pc.in
%configure \ %configure \
--includedir=%{_includedir}/nspr4 \ --includedir=%{_includedir}/nspr4 \
--enable-64bit \ --enable-64bit \
--enable-optimize="$RPM_OPT_FLAGS" --enable-optimize="$RPM_OPT_FLAGS" \
--disable-debug
%make_build %make_build
date +"%e %B %Y" | tr -d '\n' > date.xml date +"%e %B %Y" | tr -d '\n' > date.xml
echo -n %{version} > version.xml echo -n %{version} > version.xml
@ -83,6 +84,9 @@ install -c -m 644 nspr-config.1 $RPM_BUILD_ROOT%{_mandir}/man1/nspr-config.1
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Fri Feb 24 2023 Wenyu Liu <liuwenyu7@huawei.com> - 4.35.0-2
- disable debug option
* Wed Dec 28 2022 Wenyu Liu <liuwenyu7@huawei.com> - 4.35.0-1 * Wed Dec 28 2022 Wenyu Liu <liuwenyu7@huawei.com> - 4.35.0-1
- update to 4.35.0 - update to 4.35.0