summaryrefslogtreecommitdiff
path: root/examples/redhat/makerpms.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redhat/makerpms.sh')
-rwxr-xr-xexamples/redhat/makerpms.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/redhat/makerpms.sh b/examples/redhat/makerpms.sh
new file mode 100755
index 00000000000..e94bea05ca0
--- /dev/null
+++ b/examples/redhat/makerpms.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+# First we move all our gear into place - a noble move!
+RPMDIR=/usr/src/redhat
+cp -a *.spec $RPMDIR/SPECS
+cp -a *.patch smb.* samba.log $RPMDIR/SOURCES
+cd $RPMDIR/SOURCES
+rm -rf samba-1.9.17a1
+cd $RPMDIR/SPECS
+rpm -ba -v samba-1.9.17a1.spec