]>
Commit | Line | Data |
---|---|---|
865899a0 JB |
1 | # |
2 | # Conditional build: | |
8a621363 | 3 | %bcond_without dist_kernel # allow non-distribution kernel |
4 | %bcond_without kernel # don't build kernel modules | |
2646ba28 | 5 | %bcond_without up # don't build UP module |
8a621363 | 6 | %bcond_without smp # don't build SMP module |
7 | %bcond_without userspace # don't build userspace module | |
8 | %bcond_with verbose # verbose build (V=1) | |
d5b2fc9b | 9 | %bcond_with grsec_kernel # build for kernel-grsecurity |
10 | # | |
7cee1ab6 ER |
11 | %ifarch sparc |
12 | %undefine with_smp | |
13 | %endif | |
14 | ||
70cd63a8 ER |
15 | %if %{without kernel} |
16 | %undefine with_dist_kernel | |
17 | %endif | |
d5b2fc9b | 18 | %if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel} |
19 | %define alt_kernel grsecurity | |
20 | %endif | |
7cee1ab6 ER |
21 | %if "%{_alt_kernel}" != "%{nil}" |
22 | %undefine with_userspace | |
9bc98bf1 AM |
23 | %endif |
24 | ||
1bc66a1a | 25 | %define _rel 56 |
d96b76d6 | 26 | %define kname drbd |
adfef6a4 JB |
27 | Summary: drbd is a block device designed to build high availibility clusters |
28 |