blob: f649abe2b5f182ade233cca9bf3e9b187f34efff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
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
|