Remove (Unused).

This commit is contained in:
Ralf Corsépius 2007-08-20 08:52:56 +02:00
parent 05ceaa5bdb
commit a7817434a7
2 changed files with 0 additions and 67 deletions

View File

@ -1,16 +0,0 @@
#!/bin/sh
DBG=echo
rpm=${rpm:=rpm}
destdir="`pwd`"
destdir="`dirname $destdir`"
cp hello-1.0.tar.gz ../usr/src/redhat/SOURCES
zcat hello-1.0.tar.gz | tar xOf - \*.spec > ../usr/src/redhat/SPECS/hello.spec
${DBGX} $rpm -ba ../usr/src/redhat/SPECS/hello.spec 2>&1 | \
sed -e "s,$destdir,,g" -e '/^make\[[0-9][0-9]*\]:/d' > test0.out
diff test0.out test0.exp || exit 1

View File

@ -1,51 +0,0 @@
Executing: %prep
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf hello-1.0
+ /bin/gzip -dc /usr/src/redhat/SOURCES/hello-1.0.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd hello-1.0
+ chmod -R a+rX,g-w,o-w .
+ exit 0
Executing: %build
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd hello-1.0
+ make
cc hello.c -o hello
+ exit 0
Executing: %install
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd hello-1.0
+ rm -rf /var/tmp/hello-root
+ mkdir -p /var/tmp/hello-root/usr/local/bin
+ make DESTDIR=/var/tmp/hello-root install
install -m 0755 hello /var/tmp/hello-root/usr/local/bin
+ exit 0
Processing files: hello
Executing: %doc
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd hello-1.0
+ DOCDIR=/var/tmp/hello-root/usr/doc/hello-1.0
+ export DOCDIR
+ rm -rf /var/tmp/hello-root/usr/doc/hello-1.0
+ /bin/mkdir -p /var/tmp/hello-root/usr/doc/hello-1.0
+ cp -pr FAQ /var/tmp/hello-root/usr/doc/hello-1.0
+ exit 0
Finding provides...
Finding requires...
Prereqs: /bin/sh
Requires: ld-linux.so.2 libc.so.6
Wrote: /usr/src/redhat/SRPMS/hello-1.0-1.src.rpm
Wrote: /usr/src/redhat/RPMS/sparc/hello-1.0-1.sparc.rpm
Executing: %clean
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd hello-1.0
+ rm -rf /var/tmp/hello-root
+ exit 0