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