52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
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
|