OBS User unknown 2008-10-23 20:36:47 +00:00 committed by Git OBS Bridge
parent 8daa5ae4fa
commit afe9c935e9
2 changed files with 43 additions and 11 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Oct 23 15:03:11 CDT 2008 - maw@suse.de
- Review and approve changes.
-------------------------------------------------------------------
Thu Aug 21 11:36:37 CEST 2008 - wr@rosenauer.org
- run testsuite (bnc#418233)
-------------------------------------------------------------------
Tue Jun 17 19:15:49 CEST 2008 - maw@suse.de

View File

@ -2,9 +2,16 @@
# spec file for package mozilla-nss (Version 3.12.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -13,7 +20,7 @@
Name: mozilla-nss
BuildRequires: gcc-c++ mozilla-nspr-devel
%if %suse_version == 1020
%if %suse_version == 1030
BuildRequires: sqlite-devel
%endif
%if %suse_version > 1030
@ -21,7 +28,7 @@ BuildRequires: sqlite3-devel
%endif
License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
Version: 3.12.0
Release: 25
Release: 54
Summary: Network (Netscape) Security Services
Url: http://www.mozilla.org/projects/security/pki/nss/
Group: System/Libraries
@ -37,7 +44,7 @@ Patch5: nss-no-rpath.patch
# Remove remnant traces from the package split.
Provides: libnss3 = %{version}-%{release}
Obsoletes: libnss3 <= %{version}-%{release}
PreReq: mozilla-nspr >= %( echo `rpm -q --queryformat '%{VERSION}' mozilla-nspr`)
PreReq: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define nssdbdir %{_sysconfdir}/ssl/nssdb
@ -118,6 +125,18 @@ export NSS_USE_SYSTEM_SQLITE=1
%endif
MAKE_FLAGS="BUILD_OPT=1 NSS_ENABLE_ECC=1"
make nss_build_all $MAKE_FLAGS
# run testsuite
export BUILD_OPT=1
export HOST="localhost"
export DOMSUF=" "
export USE_IP=TRUE
export IP_ADDRESS="127.0.0.1"
cd tests
./all.sh
if grep "FAILED" ../../../tests_results/security/localhost.1/output.log /dev/null 2>&1 ; then
echo "Testsuite FAILED"
exit 1
fi
%install
mkdir -p $RPM_BUILD_ROOT%{_libdir}/nss
@ -224,8 +243,11 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/*
%{_libdir}/nss/
%exclude %{_bindir}/nss-config
%changelog
* Thu Oct 23 2008 maw@suse.de
- Review and approve changes.
* Thu Aug 21 2008 wr@rosenauer.org
- run testsuite (bnc#418233)
* Tue Jun 17 2008 maw@suse.de
- Merge changes from the build service (thanks, Wolfgang)
(bnc#400001 and SWAMP#18164).
@ -244,7 +266,7 @@ rm -rf $RPM_BUILD_ROOT
opensuse-packaging.
* Mon Mar 31 2008 wr@rosenauer.org
- new snapshot still based on 3.12.0 Beta 3 (20080330)
* Wed Mar 26 2008 maw@suse.de
* Tue Mar 25 2008 maw@suse.de
- Merge changes from the build service (thanks, Wolfgang)
- Update to a new snapshot of nss based on 3.12.0 Beta 2:
+ Update build requirements accordingly
@ -254,7 +276,7 @@ rm -rf $RPM_BUILD_ROOT
- disable use of freebl/mpi/mp_comba.c. [#346256]
* Sun Sep 16 2007 coolo@suse.de
- fixing errors in %%post during installation
* Fri Sep 14 2007 jberkman@novell.com
* Thu Sep 13 2007 jberkman@novell.com
- merge -tools package into main package
- create system-wide nssdb for system configuration of smart cards,
as used by pam_pkcs11, krb5 pkinit, and others
@ -265,9 +287,9 @@ rm -rf $RPM_BUILD_ROOT
- use string[0] instead of string in char.patch
* Mon Jun 11 2007 ro@suse.de
- update to NSS 3.11.6 (pull in from wr from opensuse BS)
* Thu Feb 22 2007 maw@suse.de
* Wed Feb 21 2007 maw@suse.de
- Update to NSS 3.11.5 (thanks, Wolfgang)
* Mon Oct 02 2006 wr@rosenauer.org
* Sun Oct 01 2006 wr@rosenauer.org
- update to NSS 3.11.3
- requires NSPR 4.6.3 (pkgconfig)
* Wed Sep 06 2006 stark@suse.de
@ -281,7 +303,7 @@ rm -rf $RPM_BUILD_ROOT
* Fri Jul 28 2006 stark@suse.de
- fixed usage of uninitialized pointers (uninit.patch)
- requires NSPR 4.6.2
* Sun Jul 02 2006 stark@suse.de
* Sat Jul 01 2006 stark@suse.de
- update to 3.11.2 RTM version
* ECC not enabled but defines needed symbols
* Thu Jun 08 2006 stark@suse.de