summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/appliance/appliance.spec2
-rwxr-xr-xexamples/appliance/build.sh6
2 files changed, 1 insertions, 7 deletions
diff --git a/examples/appliance/appliance.spec b/examples/appliance/appliance.spec
index 35d17c763f..e6993d10b6 100644
--- a/examples/appliance/appliance.spec
+++ b/examples/appliance/appliance.spec
@@ -2,8 +2,6 @@
# Spec file for Samba appliance
#
-%define _topdir /tmp
-
Summary: Samba appliance executables
Name: samba-appliance
Version: 0.1
diff --git a/examples/appliance/build.sh b/examples/appliance/build.sh
index a075742935..adef00fb89 100755
--- a/examples/appliance/build.sh
+++ b/examples/appliance/build.sh
@@ -1,8 +1,4 @@
#!/bin/sh
-for dir in SOURCES RPMS/i386 SRPMS BUILD; do
- mkdir -p /tmp/$dir
-done
-
-tar --exclude=CVS -czf /tmp/SOURCES/samba-appliance-0.1-src.tar.gz samba-appliance-0.1
+tar --exclude=CVS -czf /usr/src/redhat/SOURCES/samba-appliance-0.1-src.tar.gz samba-appliance-0.1
rpm -ba appliance.spec