summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristophe.ravel.bugs%sun.com <devnull@localhost>2007-05-09 00:17:10 +0000
committerchristophe.ravel.bugs%sun.com <devnull@localhost>2007-05-09 00:17:10 +0000
commit32cf9ebc211f36f05d7c80d5b8d47db459f8a15b (patch)
tree8645b6d93f115e80efd548e8ab57004b3f6aeb7c
parentda4139c7ee5b236bc8740194991bfc323aa5c6e7 (diff)
downloadnss-hg-32cf9ebc211f36f05d7c80d5b8d47db459f8a15b.tar.gz
Keep only version.major.minor for NSS packaging (remove .build).
-rw-r--r--security/nss/pkg/linux/Makefile3
-rwxr-xr-xsecurity/nss/pkg/solaris/Makefile-devl.com3
-rwxr-xr-xsecurity/nss/pkg/solaris/Makefile-tlsu.com3
-rw-r--r--security/nss/pkg/solaris/Makefile.com3
4 files changed, 8 insertions, 4 deletions
diff --git a/security/nss/pkg/linux/Makefile b/security/nss/pkg/linux/Makefile
index 13e34131f..280c19726 100644
--- a/security/nss/pkg/linux/Makefile
+++ b/security/nss/pkg/linux/Makefile
@@ -49,7 +49,8 @@ RPM_RELEASE = 1
endif
VERSION = `grep NSS_VERSION $(CORE_DEPTH)/../dist/public/nss/nss.h \
| head -1 \
- | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//'`
+ | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//' \
+ | cut -d. -f 1-3`
PWD = `pwd`
BUILDROOT = $(PWD)\/$(NAME)-root
diff --git a/security/nss/pkg/solaris/Makefile-devl.com b/security/nss/pkg/solaris/Makefile-devl.com
index 9a0116dc0..3a6c89d2c 100755
--- a/security/nss/pkg/solaris/Makefile-devl.com
+++ b/security/nss/pkg/solaris/Makefile-devl.com
@@ -59,7 +59,8 @@ PACKAGE = $(shell basename `pwd`)
PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/nss/lib/nss/nss.h \
| head -1 \
- | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//')
+ | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//' \
+ | cut -d. -f 1-3)
LN = /usr/bin/ln
diff --git a/security/nss/pkg/solaris/Makefile-tlsu.com b/security/nss/pkg/solaris/Makefile-tlsu.com
index 9a0116dc0..3a6c89d2c 100755
--- a/security/nss/pkg/solaris/Makefile-tlsu.com
+++ b/security/nss/pkg/solaris/Makefile-tlsu.com
@@ -59,7 +59,8 @@ PACKAGE = $(shell basename `pwd`)
PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/nss/lib/nss/nss.h \
| head -1 \
- | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//')
+ | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//' \
+ | cut -d. -f 1-3)
LN = /usr/bin/ln
diff --git a/security/nss/pkg/solaris/Makefile.com b/security/nss/pkg/solaris/Makefile.com
index 0478ac1e3..4858201f1 100644
--- a/security/nss/pkg/solaris/Makefile.com
+++ b/security/nss/pkg/solaris/Makefile.com
@@ -58,7 +58,8 @@ PACKAGE = $(shell basename `pwd`)
PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/../dist/public/nss/nss.h \
| head -1 \
- | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//')
+ | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//' \
+ | cut -d. -f 1-3)
LN = /usr/bin/ln
CP = /usr/bin/cp