- Rebuild with nss-softokn from 3.12 in the buildroot

- Allows the pem module to statically link against 3.12.x freebl
- Required for using nss-3.13.x with nss-softokn-3.12.y for a merge into ia new rhel git repo
- Build to be temporarily placed on buildroot override but never pushed to updates-testing
This commit is contained in:
Elio Maldonado 2011-12-02 14:21:08 -08:00
parent 1c8a4130f1
commit 953f3cef9d
1 changed files with 18 additions and 12 deletions

View File

@ -1,26 +1,25 @@
%global nspr_version 4.8.9 %global nspr_version 4.8.9
%global nss_util_version 3.13.1 %global nss_util_version 3.13.1
%global nss_softokn_version 3.13.1
%global nss_softokn_fips_version 3.12.9 %global nss_softokn_fips_version 3.12.9
%global nss_softokn_version 3.13.1
%global unsupported_tools_directory %{_libdir}/nss/unsupported-tools %global unsupported_tools_directory %{_libdir}/nss/unsupported-tools
Summary: Network Security Services Summary: Network Security Services
Name: nss Name: nss
Version: 3.13.1 Version: 3.13.1
Release: 3%{?dist} Release: 4%{?dist}
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: http://www.mozilla.org/projects/security/pki/nss/ URL: http://www.mozilla.org/projects/security/pki/nss/
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: nspr >= %{nspr_version} Requires: nspr >= %{nspr_version}
Requires: nss-util >= %{nss_util_version} Requires: nss-util >= %{nss_util_version}
# TODO: change from nss_softokn_fips_version back to nss_softokn_version # TODO: revert to same version as nss once we are done with the merge
# once we are done with the merge
Requires: nss-softokn%{_isa} >= %{nss_softokn_fips_version} Requires: nss-softokn%{_isa} >= %{nss_softokn_fips_version}
Requires: nss-system-init Requires: nss-system-init
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: nspr-devel >= %{nspr_version} BuildRequires: nspr-devel >= %{nspr_version}
# TODO: change from nss_softokn_fips_version back to nss_softokn_version # TODO: revert to same version as nss once we are done with the merge
# once we are done with the merge # Using '>=' but on RHEL the requires should be '='
BuildRequires: nss-softokn-devel >= %{nss_softokn_fips_version} BuildRequires: nss-softokn-devel >= %{nss_softokn_fips_version}
BuildRequires: nss-util-devel >= %{nss_util_version} BuildRequires: nss-util-devel >= %{nss_util_version}
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
@ -65,9 +64,8 @@ Patch20: nsspem-createobject-initialize-pointer.patch
Patch21: 0001-libnsspem-rhbz-734760.patch Patch21: 0001-libnsspem-rhbz-734760.patch
Patch22: nsspem-init-inform-not-thread-safe.patch Patch22: nsspem-init-inform-not-thread-safe.patch
Patch23: nss-ckbi-1.88.rtm.patch Patch23: nss-ckbi-1.88.rtm.patch
# this patch has been applied in nss-util where # Remove this patch which belongs in nss-util
# it belongs, will remove from here eventually #Patch24: gnuc-minor-def-fix.patch
# Patch24: gnuc-minor-def-fix.patch
%description %description
@ -114,7 +112,7 @@ Group: Development/Libraries
Provides: nss-static = %{version}-%{release} Provides: nss-static = %{version}-%{release}
Requires: nss = %{version}-%{release} Requires: nss = %{version}-%{release}
Requires: nss-util-devel Requires: nss-util-devel
Requires: nss-softokn-devel Requires: nss-softokn-devel
Requires: nspr-devel >= %{nspr_version} Requires: nspr-devel >= %{nspr_version}
Requires: pkgconfig Requires: pkgconfig
@ -128,7 +126,8 @@ Group: Development/Libraries
Provides: nss-pkcs11-devel-static = %{version}-%{release} Provides: nss-pkcs11-devel-static = %{version}-%{release}
Requires: nss-devel = %{version}-%{release} Requires: nss-devel = %{version}-%{release}
# TODO: revert to using nss_softokn_version once we are done with # TODO: revert to using nss_softokn_version once we are done with
# merging Rawhide into to the next RHEL version # the merge into to new rhel git repo
# For RHEL we should have '=' instead of '>='
Requires: nss-softokn-freebl-devel >= %{nss_softokn_fips_version} Requires: nss-softokn-freebl-devel >= %{nss_softokn_fips_version}
%description pkcs11-devel %description pkcs11-devel
@ -144,13 +143,14 @@ low level services.
%patch3 -p0 -b .transitional %patch3 -p0 -b .transitional
%patch6 -p0 -b .libpem %patch6 -p0 -b .libpem
%patch7 -p0 -b .642433 %patch7 -p0 -b .642433
%patch8 -p1 -b .695011 %patch8 -p1 -b .695011
%patch16 -p0 -b .539183 %patch16 -p0 -b .539183
%patch18 -p0 -b .646045 %patch18 -p0 -b .646045
%patch20 -p1 -b .717338 %patch20 -p1 -b .717338
%patch21 -p1 -b .734760 %patch21 -p1 -b .734760
%patch22 -p0 -b .736410 %patch22 -p0 -b .736410
%patch23 -p0 -b .ckbi188 %patch23 -p0 -b .ckbi188
# TODO: Reemove this patch which is now in nss-util
#%patch24 -p1 -b .gnuc-minor #%patch24 -p1 -b .gnuc-minor
@ -562,6 +562,12 @@ rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nsslowhash.h
%changelog %changelog
* Fri Dec 02 2011 Elio Maldonado Batiz <emaldona@redhat.com> - 3.13.1-4
- Rebuild with nss-softokn from 3.12 in the buildroot
- Allows the pem module to statically link against 3.12.x freebl
- Required for using nss-3.13.x with nss-softokn-3.12.y for a merge inrto rhel git repo
- Build will be temprarily placed on buildroot override but not pushed in bodhi
* Fri Nov 04 2011 Elio Maldonado <emaldona@redhat.com> - 3.13.1-2 * Fri Nov 04 2011 Elio Maldonado <emaldona@redhat.com> - 3.13.1-2
- Fix broken dependencies by updating the nss-util and nss-softokn versions - Fix broken dependencies by updating the nss-util and nss-softokn versions