summaryrefslogtreecommitdiffstats
path: root/RPM4/examples/hrpmreb-macros
blob: 26346b5f62b47aa2b5a6280eb22e985b6f2e9ef0 (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
# $id$

%media contrib
%basedistrib /home/root/mandrake/mdk/Mandrakelinux/

# A way to install dependancies, with this you need a sudo
%installdep 1
%installdepcmd sudo -H /usr/sbin/urpmi --auto --no-verify-rpm

# I have script to upload, made it
%upload 0
%uploadcmd /home/users/olivier/bin/upload -d %media

# Where are source
%srcdir %basedistrib/devel/cooker/SRPMS/%media

# Where are binary
%checkbinary 1
%bindir %basedistrib/devel/cooker/%_target_cpu/media/%media

# Where to put log
%keepalllog 0
%logdir ./%{_target_cpu}-%{media}-log

# for speed up
%_sourcedir /tmp/

# If you want the build process to be niced
# %nice 10

%_signature %nil