summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristophe.ravel.bugs%sun.com <devnull@localhost>2004-07-02 18:00:08 +0000
committerchristophe.ravel.bugs%sun.com <devnull@localhost>2004-07-02 18:00:08 +0000
commitc8c4a5d6ecf1c75be387f13cb437bb6ab3542173 (patch)
treee2c00e8c98c814cad7ef92aff66450eacbb415d3
parentc8872caf7245a1fcf84623da5cedce2bf153864c (diff)
downloadnss-hg-c8c4a5d6ecf1c75be387f13cb437bb6ab3542173.tar.gz
238319: Sun packages changes
-rw-r--r--security/nss/pkg/linux/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/security/nss/pkg/linux/Makefile b/security/nss/pkg/linux/Makefile
index 81873c97a..9aaed26aa 100644
--- a/security/nss/pkg/linux/Makefile
+++ b/security/nss/pkg/linux/Makefile
@@ -33,6 +33,8 @@ publish:
signver ssltap ) | (cd opt/sun/private/bin && tar xvfBp -)
(cd $(CORE_DEPTH)/../dist/public && tar cphf - .) \
| (mkdir -p opt/sun/private/include && cd opt/sun/private/include && tar xvfBp -)
+ rm -rf opt/sun/private/include/seccmd
+ rm -rf opt/sun/private/include/dbm
tar czvf $(NAME)-$(VERSION).tar.gz opt
echo "%define _topdir `pwd`" >temp.spec
@@ -53,8 +55,12 @@ publish:
echo "" >>temp.spec
echo "%files devel" >>temp.spec
echo "%defattr(-,root,root)" >>temp.spec
- find opt -type d | sed -e "s-^-%dir /-" >>temp.spec
- find opt -type f ! \( -name "*.so" -o -name "*.chk" \) \
+ echo "%dir /opt" >>temp.spec
+ echo "%dir /opt/sun" >>temp.spec
+ echo "%dir /opt/sun/private" >>temp.spec
+ echo "%dir /opt/sun/private/include" >>temp.spec
+ echo "%dir /opt/sun/private/include/nss" >>temp.spec
+ find opt -type f \( -name "*.h" \) \
| sed -e "s-^-/-" >>temp.spec
cp $(NAME)-$(VERSION).tar.gz SOURCES
rpm -ba temp.spec