Delete patched taht belong in nss-softkn, remove spurious exec perms for
nss.pc
This commit is contained in:
parent
cd4fd0c0c9
commit
aa8c558d79
27
nss.spec
27
nss.spec
@ -1,10 +1,10 @@
|
|||||||
%global nspr_version 4.7
|
%global nspr_version 4.8
|
||||||
%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.12.3.99.3
|
Version: 3.12.3.99.3
|
||||||
Release: 18%{?dist}
|
Release: 19%{?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
|
||||||
@ -37,9 +37,7 @@ Source13: PayPalEE.cert
|
|||||||
Source14: PayPalICA.cert
|
Source14: PayPalICA.cert
|
||||||
|
|
||||||
Patch1: nss-no-rpath.patch
|
Patch1: nss-no-rpath.patch
|
||||||
Patch2: nss-nolocalsql.patch
|
|
||||||
Patch6: nss-enable-pem.patch
|
Patch6: nss-enable-pem.patch
|
||||||
Patch7: nss-stubs-bug502133.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Network Security Services (NSS) is a set of libraries designed to
|
Network Security Services (NSS) is a set of libraries designed to
|
||||||
@ -93,9 +91,7 @@ low level services.
|
|||||||
%setup -q -T -D -n %{name}-%{version} -a 12
|
%setup -q -T -D -n %{name}-%{version} -a 12
|
||||||
|
|
||||||
%patch1 -p0
|
%patch1 -p0
|
||||||
%patch2 -p0
|
|
||||||
%patch6 -p0 -b .libpem
|
%patch6 -p0 -b .libpem
|
||||||
%patch7 -p0 -b .502133
|
|
||||||
|
|
||||||
#need newer certs to make test suite work
|
#need newer certs to make test suite work
|
||||||
#remove once we update to NSS 3.12.4
|
#remove once we update to NSS 3.12.4
|
||||||
@ -115,9 +111,6 @@ export BUILD_OPT
|
|||||||
XCFLAGS=$RPM_OPT_FLAGS
|
XCFLAGS=$RPM_OPT_FLAGS
|
||||||
export XCFLAGS
|
export XCFLAGS
|
||||||
|
|
||||||
#export NSPR_INCLUDE_DIR=`nspr-config --includedir`
|
|
||||||
#export NSPR_LIB_DIR=`nspr-config --libdir`
|
|
||||||
|
|
||||||
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
|
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
|
||||||
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
|
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
|
||||||
|
|
||||||
@ -135,9 +128,10 @@ USE_64=1
|
|||||||
export USE_64
|
export USE_64
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# We only ship the nss proper libraries, no softoken nor util, yet we
|
# We only ship the nss proper libraries, no softoken nor util, yet
|
||||||
# must compile everything and usiee the entire source tree because nss
|
# we must compile with the entire source tree because nss needs
|
||||||
# needs the private exports from util.
|
# private exports from util. The install section will ensure not
|
||||||
|
# to override nss-util and nss-softoken headers already installed.
|
||||||
#
|
#
|
||||||
%{__make} -C ./mozilla/security/coreconf
|
%{__make} -C ./mozilla/security/coreconf
|
||||||
%{__make} -C ./mozilla/security/dbm
|
%{__make} -C ./mozilla/security/dbm
|
||||||
@ -274,8 +268,8 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Copy the package configuration files
|
# Copy the package configuration files
|
||||||
%{__install} -p ./mozilla/dist/pkgconfig/nss.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/nss.pc
|
%{__install} -p -m 644 ./mozilla/dist/pkgconfig/nss.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/nss.pc
|
||||||
%{__install} -p ./mozilla/dist/pkgconfig/nss-config $RPM_BUILD_ROOT/%{_bindir}/nss-config
|
%{__install} -p -m 755 ./mozilla/dist/pkgconfig/nss-config $RPM_BUILD_ROOT/%{_bindir}/nss-config
|
||||||
|
|
||||||
#remove the nss-util-devel headers
|
#remove the nss-util-devel headers
|
||||||
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/base64.h
|
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/base64.h
|
||||||
@ -437,6 +431,11 @@ rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nsslowhash.h
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 27 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-19
|
||||||
|
- remove patches that are now in nss-softokn and
|
||||||
|
- remove spurious exec-permissions for nss.pc per rpmlint
|
||||||
|
- single requires line in nss.pc.in
|
||||||
|
|
||||||
* Wed Aug 26 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-18
|
* Wed Aug 26 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-18
|
||||||
- Fix BuildRequires: nss-softokn-devel release number
|
- Fix BuildRequires: nss-softokn-devel release number
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user