summaryrefslogtreecommitdiff
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
commita17db82c63b1c39014e2c26145e28f22d5b74307 (patch)
treed60d670974b3d915398d4afba1782ea8be2f66f8
parent6d2f06f71e1e89c00047d8043e047feaa47a7b57 (diff)
downloadsamba-a17db82c63b1c39014e2c26145e28f22d5b74307.tar.gz
samba-a17db82c63b1c39014e2c26145e28f22d5b74307.tar.bz2
samba-a17db82c63b1c39014e2c26145e28f22d5b74307.zip
build in /usr/src/redhat
(This used to be commit 11328f27816160d77934fb9b2409263f442e4f42)
-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