summaryrefslogtreecommitdiff
path: root/packaging/RHEL/makerpms.sh.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/RHEL/makerpms.sh.tmpl')
-rw-r--r--packaging/RHEL/makerpms.sh.tmpl15
1 files changed, 3 insertions, 12 deletions
diff --git a/packaging/RHEL/makerpms.sh.tmpl b/packaging/RHEL/makerpms.sh.tmpl
index 361d841876..e6c178f6f3 100644
--- a/packaging/RHEL/makerpms.sh.tmpl
+++ b/packaging/RHEL/makerpms.sh.tmpl
@@ -39,22 +39,13 @@ esac
( cd ../../source; if [ -f Makefile ]; then make distclean; fi )
( cd ../../.. ; chown -R ${USERID}.${GRPID} samba-${VERSION} )
-( cd ../../.. ; tar --exclude=CVS -cf - samba-${VERSION}/. | bzip2 > ${SRCDIR}/samba-${VERSION}.tar.bz2 )
+( cd ../../.. ; tar --exclude=.svn -cf - samba-${VERSION}/. | bzip2 > ${SRCDIR}/samba-${VERSION}.tar.bz2 )
##
## copy additional source files
##
-for file in samba.pamd samba.sysconfig samba.spec \
- smb.init swat.desktop filter-requires-samba.sh \
- samba.log samba.xinetd smbprint winbind.init \
- smb.conf smbusers
-do
- cp -p $file ${SRCDIR}
-
-done
-
-chmod 755 ${SRCDIR}/filter-requires-samba.sh
-
+chmod 755 setup/filter-requires-samba.sh
+tar --exclude=.svn -jcvf - setup > ${SRCDIR}/setup.tar.bz2
cp -p ${SPECFILE} ${SPECDIR}
##