Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
Name: mdadm |
3 |
Name: mdadm |
4 |
Version: 2.6 |
4 |
Version: 2.6 |
5 |
Release: alt2 |
5 |
Release: alt2.1 |
6 |
|
6 |
|
7 |
Summary: A tool for managing Soft RAID under Linux |
7 |
Summary: A tool for managing Soft RAID under Linux |
8 |
License: GPL |
8 |
License: GPL |
Lines 24-38
Patch3: %name-2.6-alt-nowarn.patch
Link Here
|
24 |
|
24 |
|
25 |
%if_without dietlibc |
25 |
%if_without dietlibc |
26 |
%define mdassemble_binary mdassemble.static |
26 |
%define mdassemble_binary mdassemble.static |
|
|
27 |
%define mdassemble_cflags %nil |
27 |
|
28 |
|
28 |
%else |
29 |
%else |
29 |
%define mdassemble_binary mdassemble |
30 |
%define mdassemble_binary mdassemble |
|
|
31 |
%define mdassemble_cflags -fno-stack-protector |
30 |
|
32 |
|
31 |
%ifarch x86_64 |
33 |
BuildPreReq: dietlibc >= 0.30-alt2 |
32 |
BuildPreReq: dietlibc >= 0.30-alt1.1 |
|
|
33 |
%else |
34 |
BuildPreReq: dietlibc |
35 |
%endif |
36 |
|
34 |
|
37 |
%endif |
35 |
%endif |
38 |
|
36 |
|
Lines 78-84
of failed, but restored devices.
Link Here
|
78 |
%__cp -au %SOURCE2 %SOURCE3 . |
76 |
%__cp -au %SOURCE2 %SOURCE3 . |
79 |
|
77 |
|
80 |
%build |
78 |
%build |
81 |
%make_build %mdassemble_binary CXFLAGS="%optflags" MDASSEMBLE_AUTO=1 SYSCONFDIR="%_sysconfdir" |
79 |
%make_build %mdassemble_binary CXFLAGS="%optflags %mdassemble_cflags" \ |
|
|
80 |
MDASSEMBLE_AUTO=1 SYSCONFDIR="%_sysconfdir" |
82 |
%make_build CXFLAGS="%optflags" SYSCONFDIR="%_sysconfdir" |
81 |
%make_build CXFLAGS="%optflags" SYSCONFDIR="%_sysconfdir" |
83 |
bzip2 -9fk ChangeLog |
82 |
bzip2 -9fk ChangeLog |
84 |
|
83 |
|
Lines 132-137
IMPORTANT NOTE: udev service changes nam
Link Here
|
132 |
%doc TODO ChangeLog.bz2 %name.conf-example ANNOUNCE-%version |
131 |
%doc TODO ChangeLog.bz2 %name.conf-example ANNOUNCE-%version |
133 |
|
132 |
|
134 |
%changelog |
133 |
%changelog |
|
|
134 |
* Sun Jan 28 2007 Sergey Vlasov <vsu@altlinux.ru> 2.6-alt2.1 |
135 |
- Compile mdassemble with -fno-stack-protector when using dietlibc (current |
136 |
dietlibc release does not support -fstack-protector). Fixes #10357. |
137 |
- Require dietlibc >= 0.30-alt2 for build (previous versions were broken due |
138 |
to the -fstack-protector issue) |
139 |
|
135 |
* Wed Jan 24 2007 Ilya Evseev <evseev@altlinux.ru> 2.6-alt2 |
140 |
* Wed Jan 24 2007 Ilya Evseev <evseev@altlinux.ru> 2.6-alt2 |
136 |
- fixed x86_64 problems |
141 |
- fixed x86_64 problems |
137 |
|
142 |
|