summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-12 06:23:38 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-12 06:23:38 +0000
commit11328f27816160d77934fb9b2409263f442e4f42 (patch)
treef3c7849ce9245be071f40f12da53804b6c4bfb71 /examples
parent6a89e07f0443cc48b80b22bdec6e18ab764d43f8 (diff)
downloadsamba-11328f27816160d77934fb9b2409263f442e4f42.tar.gz
samba-11328f27816160d77934fb9b2409263f442e4f42.tar.xz
samba-11328f27816160d77934fb9b2409263f442e4f42.zip
build in /usr/src/redhat
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 35d17c763f3..e6993d10b6d 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 a0757429357..adef00fb89c 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