update to 3.18

fix version in /usr/bin/nss-config [release 3.18-1mamba;Sat Mar 21 2015]
This commit is contained in:
Silvan Calarco 2024-01-06 05:12:52 +01:00
parent b4a8e57882
commit 1793d3f7dd

View File

@ -4,7 +4,7 @@
%define with_test 1
%define with_nsspem 1
Name: libnss
Version: 3.17.4
Version: 3.18
Release: 1mamba
Summary: Network Security Services
Group: System/Libraries
@ -145,12 +145,13 @@ cat %{SOURCE1} | sed -e "s,%%libdir%%,%{_libdir},g" \
-e "s,%%NSPR_VERSION%%,%{nspr_version},g" \
-e "s,%%NSS_VERSION%%,%{version},g" > custom_nss.pc
NSS_VMAJOR=`cat mozilla/security/nss/lib/nss/nss.h | \
grep "#define.*NSS_VMAJOR" | awk '{print $3}'`
NSS_VMINOR=`cat mozilla/security/nss/lib/nss/nss.h | \
grep "#define.*NSS_VMINOR" | awk '{print $3}'`
NSS_VPATCH=`cat mozilla/security/nss/lib/nss/nss.h | \
grep "#define.*NSS_VPATCH" | awk '{print $3}'`
%define majver %(echo %version | cut -d. -f1)
%define minver %(echo %version | cut -d. -f2)
%define patchver %(echo %version | cut -d. -f3)
NSS_VMAJOR=%majver
NSS_VMINOR=%minver
NSS_VPATCH=%patchver
cat %{SOURCE2} | sed -e "s,@libdir@,%{_libdir},g" \
-e "s,@prefix@,%{_prefix},g" \
-e "s,@exec_prefix@,%{_prefix},g" \
@ -303,6 +304,10 @@ fi
%{_includedir}/nss3/
%changelog
* Sat Mar 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18-1mamba
- update to 3.18
- fix version in /usr/bin/nss-config
* Tue Feb 17 2015 Automatic Build System <autodist@mambasoft.it> 3.17.4-1mamba
- automatic version update by autodist