Add BuildRequres nss-softokn and nss-util as build runs tests

This commit is contained in:
Elio Maldonado 2009-08-28 01:38:30 +00:00
parent a7817b1921
commit f6c1d3c53e
1 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,7 @@
Summary: Network Security Services
Name: nss
Version: 3.12.3.99.3
Release: 21%{?dist}
Release: 22%{?dist}
License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: http://www.mozilla.org/projects/security/pki/nss/
Group: System Environment/Libraries
@ -15,6 +15,8 @@ Requires: nss-softokn-freebl%{_isa} >= %{version}
Requires: sqlite
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: nspr-devel >= %{nspr_version}
BuildRequires: nss-softokn >= 3.12.3.99.3-12
BuildRequires: nss-util >= 3.12.3.99.3-10
BuildRequires: nss-softokn-devel >= 3.12.3.99.3-12
BuildRequires: nss-util-devel >= 3.12.3.99.3-10
BuildRequires: sqlite-devel
@ -207,10 +209,8 @@ cd ./mozilla/security/nss/tests/
# all.sh is the test suite script
#HOST=localhost DOMSUF=localdomain PORT=$MYRAND NSS_CYCLES=%{?nss_cycles} NSS_TESTS=%{?nss_tests} NSS_SSL_TESTS=%{?nss_ssl_tests} NSS_SSL_RUN=%{?nss_ssl_run} ./all.sh
# Temporarily disabling all tests until we investigate a fix for Bug 519766
cd ../../../../
killall $RANDSERV || :
@ -436,6 +436,10 @@ rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nsslowhash.h
%changelog
* Thu Aug 27 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-22
- Fix nss-config not to include nssutil
- Add BuildRequires on nss-softokn and nss-util since build also runs the test suite
* Wed Aug 27 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-21
- disabling all tests while we investigate a buffer overflow bug