summaryrefslogtreecommitdiff
path: root/examples/redhat/makerpms.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redhat/makerpms.sh')
-rwxr-xr-xexamples/redhat/makerpms.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/redhat/makerpms.sh b/examples/redhat/makerpms.sh
index 981dfa6a44..fbda839afc 100755
--- a/examples/redhat/makerpms.sh
+++ b/examples/redhat/makerpms.sh
@@ -8,5 +8,7 @@ SRCDIR=`rpm --showrc | awk '/^sourcedir/ { print $3}'`
cp -a *.spec $SPECDIR
cp -a *.patch smb.* samba.log $SRCDIR
+cd $SRCDIR
+tar czvf samba-1.9.17.tar.gz samba-1.9.17
cd $SPECDIR
rpm --clean -ba samba.spec