4 |
%define kernelversion 3 |
%define kernelversion 3 |
5 |
%define patchlevel 2 |
%define patchlevel 2 |
6 |
# sublevel is now used for -stable patches |
# sublevel is now used for -stable patches |
7 |
%define sublevel 5 |
%define sublevel 7 |
8 |
|
|
9 |
# Package release |
# Package release |
10 |
%define mgarel 1 |
%define mgarel 1 |
101 |
# Build server (i686 / 64GB)/x86_64 |
# Build server (i686 / 64GB)/x86_64 |
102 |
%define build_server 1 |
%define build_server 1 |
103 |
|
|
|
# compress modules with xz |
|
|
%define build_modxz 0 |
|
|
|
|
104 |
# End of user definitions |
# End of user definitions |
105 |
%{?_without_desktop586: %global build_desktop586 0} |
%{?_without_desktop586: %global build_desktop586 0} |
106 |
%{?_without_desktop: %global build_desktop 0} |
%{?_without_desktop: %global build_desktop 0} |
111 |
%{?_without_source: %global build_source 0} |
%{?_without_source: %global build_source 0} |
112 |
%{?_without_devel: %global build_devel 0} |
%{?_without_devel: %global build_devel 0} |
113 |
%{?_without_debug: %global build_debug 0} |
%{?_without_debug: %global build_debug 0} |
|
%{?_without_modxz: %global build_modxz 0} |
|
114 |
|
|
115 |
%{?_with_desktop586: %global build_desktop586 1} |
%{?_with_desktop586: %global build_desktop586 1} |
116 |
%{?_with_desktop: %global build_desktop 1} |
%{?_with_desktop: %global build_desktop 1} |
121 |
%{?_with_source: %global build_source 1} |
%{?_with_source: %global build_source 1} |
122 |
%{?_with_devel: %global build_devel 1} |
%{?_with_devel: %global build_devel 1} |
123 |
%{?_with_debug: %global build_debug 1} |
%{?_with_debug: %global build_debug 1} |
|
%{?_with_modxz: %global build_modxz 1} |
|
124 |
|
|
125 |
# For the .nosrc.rpm |
# For the .nosrc.rpm |
126 |
%define build_nosrc 0 |
%define build_nosrc 0 |
215 |
input and output, etc. |
input and output, etc. |
216 |
|
|
217 |
### Global Requires/Provides |
### Global Requires/Provides |
218 |
%define requires1 dracut >= 014-15 |
%define requires1 dracut >= 016-1 |
219 |
%define requires2 bootloader-utils >= 1.12-1 |
%define requires2 bootloader-utils >= 1.12-1 |
220 |
%define requires3 sysfsutils >= 1.3.0-1 module-init-tools >= 3.16-14 |
%define requires3 sysfsutils >= 1.3.0-1 module-init-tools >= 3.16-14 |
221 |
%define requires4 kernel-firmware >= 20111229-1 |
%define requires4 kernel-firmware >= 20111229-1 |
558 |
%define debug --no-debug |
%define debug --no-debug |
559 |
%endif |
%endif |
560 |
|
|
|
# enable xz module compression |
|
|
%if %build_modxz |
|
|
sed -i 's/^CONFIG_MODULE_COMPRESS_GZIP=y/# CONFIG_MODULE_COMPRESS_GZIP is not set/' \ |
|
|
%{patches_dir}/configs/*.config |
|
|
sed -i 's/^# CONFIG_MODULE_COMPRESS_XZ is not set/CONFIG_MODULE_COMPRESS_XZ=y/' \ |
|
|
%{patches_dir}/configs/*.config |
|
|
%endif |
|
|
|
|
561 |
%{patches_dir}/scripts/create_configs %debug --user_cpu="%{_arch}" |
%{patches_dir}/scripts/create_configs %debug --user_cpu="%{_arch}" |
562 |
|
|
563 |
# make sure the kernel has the sublevel we know it has... |
# make sure the kernel has the sublevel we know it has... |
1062 |
%endif |
%endif |
1063 |
|
|
1064 |
%changelog |
%changelog |
1065 |
|
* Sat Feb 25 2012 Thomas Backlund <tmb@mageia.org> 3.2.7-1.mga2 |
1066 |
|
- update to 3.2.7 |
1067 |
|
- drop merged patches AA01-AA28 |
1068 |
|
- add patches: |
1069 |
|
* DG01: drm/radeon/kms: fix MSI re-arm on rv370+ |
1070 |
|
* DP01: PCI: workaround hard-wired bus number |
1071 |
|
* DS20, DS21: fix nonworking r8172u wireless driver in staging (#4491) |
1072 |
|
* DU01: xhci: Fix oops caused by more USB2 ports than USB3 ports |
1073 |
|
* NM01: mac80211: Fix a rwlock bad magic bug |
1074 |
|
|
1075 |
|
* Thu Feb 16 2012 Thomas Backlund <tmb@mageia.org> 3.2.6-1.mga2 |
1076 |
|
- update to 3.2.6 |
1077 |
|
- add current stable queue (28 fixes, AA01-AA28) |
1078 |
|
- require dracut >= 016-1 for xz compressed modules support and |
1079 |
|
other needed fixes |
1080 |
|
- compress modules with xz |
1081 |
|
|
1082 |
* Tue Feb 7 2012 Thomas Backlund <tmb@mageia.org> 3.2.5-1.mga2 |
* Tue Feb 7 2012 Thomas Backlund <tmb@mageia.org> 3.2.5-1.mga2 |
1083 |
- update to 3.2.5 |
- update to 3.2.5 |
1084 |
- drop merged patch |
- drop merged patch |