diff --git a/libnss.spec b/libnss.spec index 20989c2..6a4367d 100644 --- a/libnss.spec +++ b/libnss.spec @@ -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 3.18-1mamba +- update to 3.18 +- fix version in /usr/bin/nss-config + * Tue Feb 17 2015 Automatic Build System 3.17.4-1mamba - automatic version update by autodist