2 |
# *tmb* series kernels now use kernel.org versioning |
# *tmb* series kernels now use kernel.org versioning |
3 |
# |
# |
4 |
%define kernelversion 3 |
%define kernelversion 3 |
5 |
%define patchlevel 10 |
%define patchlevel 12 |
6 |
# sublevel is now used for -stable patches |
# sublevel is now used for -stable patches |
7 |
%define sublevel 15 |
%define sublevel 0 |
8 |
# extstable is for extended stable patches |
# extstable is for extended stable patches |
9 |
%define extstable 0 |
%define extstable 0 |
10 |
|
|
13 |
|
|
14 |
# kernel Makefile extraversion is substituted by |
# kernel Makefile extraversion is substituted by |
15 |
# kpatch/kgit wich are either 0 (empty), rc (kpatch), git (kgit) |
# kpatch/kgit wich are either 0 (empty), rc (kpatch), git (kgit) |
16 |
%define kpatch 0 |
%define kpatch rc5 |
17 |
# kernel.org -gitX patch (only the number after "git") |
# kernel.org -gitX patch (only the number after "git") |
18 |
%define kgit 0 |
%define kgit 0 |
19 |
|
|
162 |
# Sources |
# Sources |
163 |
# |
# |
164 |
### This is for full SRC RPM |
### This is for full SRC RPM |
165 |
Source0: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/linux-%{tar_ver}.tar.xz |
Source0: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/linux-3.11.tar.xz |
166 |
Source1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/linux-%{tar_ver}.tar.sign |
Source1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/linux-3.11.tar.sign |
167 |
### This is for stripped SRC RPM |
### This is for stripped SRC RPM |
168 |
%if %build_nosrc |
%if %build_nosrc |
169 |
NoSource: 0 |
NoSource: 0 |
228 |
|
|
229 |
### Global Requires/Provides |
### Global Requires/Provides |
230 |
%define requires1 bootloader-utils >= 1.16-1 |
%define requires1 bootloader-utils >= 1.16-1 |
231 |
%define requires2 dracut >= 025-8 |
%define requires2 dracut >= 033-1 |
232 |
%define requires3 kmod >= 12-2 |
%define requires3 kmod >= 12-2 |
233 |
%define requires4 sysfsutils >= 2.1.0-16 |
%define requires4 sysfsutils >= 2.1.0-16 |
234 |
%define requires5 kernel-firmware >= 20130624-1 |
%define requires5 kernel-firmware >= 20130624-1 |
237 |
%define kprovides2 kernel = %{tar_ver} |
%define kprovides2 kernel = %{tar_ver} |
238 |
%define kprovides3 alsa = 1.0.26 |
%define kprovides3 alsa = 1.0.26 |
239 |
%define kprovides_server drbd-api = 88 |
%define kprovides_server drbd-api = 88 |
240 |
|
# conflict dkms packages that dont support kernel-3.12 |
241 |
# conflict dkms packages that dont support kernel-3.10 |
%define kconflicts1 dkms-broadcom-wl < 6.30.223.141-1 |
242 |
%define kconflicts1 dkms-broadcom-wl < 5.100.82.112-13 |
%define kconflicts1 dkms-fglrx < 13.200.16-1 |
243 |
%define kconflicts1 dkms-fglrx < 13.101-0.3 |
%define kconflicts2 dkms-nvidia-current < 319.60-2 |
244 |
%define kconflicts2 dkms-nvidia-current < 319.32-2 |
%define kconflicts3 dkms-nvidia304 < 304.108-2 |
245 |
%define kconflicts3 dkms-nvidia304 < 304.88-4 |
%define kconflicts4 dkms-nvidia173 < 173.14.38-1 |
|
%define kconflicts4 dkms-nvidia173 < 173.14.37-4 |
|
246 |
# (tmb) nvidia96xx does not support this kernel or x11-server-1.13 |
# (tmb) nvidia96xx does not support this kernel or x11-server-1.13 |
247 |
%define kconflicts5 dkms-nvidia96xx <= 96.43.23 |
%define kconflicts5 dkms-nvidia96xx <= 96.43.23 |
248 |
%define kconflicts6 dmms-xtables-addons < 2.3-1 |
%define kconflicts6 dmms-xtables-addons < 2.3-1 |
258 |
%define kconflicts11 radeon-firmware < 20130626-1 |
%define kconflicts11 radeon-firmware < 20130626-1 |
259 |
|
|
260 |
Autoreqprov: no |
Autoreqprov: no |
261 |
BuildRequires: gcc >= 4.0.1-5 kmod >= 7-6 bc |
BuildRequires: gcc >= 4.0.1-5 kmod >= 12-2 bc |
262 |
|
|
263 |
%description |
%description |
264 |
%common_description_kernel |
%common_description_kernel |
727 |
rm -rf $TempDevelRoot/arch/x86 |
rm -rf $TempDevelRoot/arch/x86 |
728 |
%endif |
%endif |
729 |
|
|
730 |
|
rm -rf $TempDevelRoot/include/kvm/arm* |
731 |
|
|
732 |
# Clean the scripts tree, and make sure everything is ok (sanity check) |
# Clean the scripts tree, and make sure everything is ok (sanity check) |
733 |
# running prepare+scripts (tree was already "prepared" in build) |
# running prepare+scripts (tree was already "prepared" in build) |
734 |
pushd $TempDevelRoot >/dev/null |
pushd $TempDevelRoot >/dev/null |
1018 |
rm -rf %{target_source}/arch/x86 |
rm -rf %{target_source}/arch/x86 |
1019 |
%endif |
%endif |
1020 |
|
|
1021 |
|
rm -rf %{target_source}/include/kvm/arm* |
1022 |
|
|
1023 |
# other misc files |
# other misc files |
1024 |
rm -f %{target_source}/{.config.old,.config.cmd,.mailmap,.missing-syscalls.d,arch/.gitignore} |
rm -f %{target_source}/{.config.old,.config.cmd,.mailmap,.missing-syscalls.d,arch/.gitignore} |
1025 |
rm -rf %{target_source}/.tmp_depmod/ |
rm -rf %{target_source}/.tmp_depmod/ |
1143 |
%endif |
%endif |
1144 |
|
|
1145 |
%changelog |
%changelog |
1146 |
|
* Mon Oct 14 2013 Thomas Backlund <tmb@mageia.org> 3.12.0-0.rc5.1.mga4 |
1147 |
|
- update to 3.12-rc5 |
1148 |
|
- drop patches: |
1149 |
|
* DN40: bcma BCM43142 support (merged) |
1150 |
|
- update patches: |
1151 |
|
* FO01-FO09: overlayfs support |
1152 |
|
- rediff patches: |
1153 |
|
* NI10: netfilter IFWLOG support |
1154 |
|
- add patches: |
1155 |
|
* MB15: ndiswrapper buildfix for kernel 3.12 |
1156 |
|
- disable patches: |
1157 |
|
* CK01: BFS scheduler (needs update to support 3.12) |
1158 |
|
* FR01: reiser4 support (needs update to support 3.12) |
1159 |
|
* KP01: TuxOnIce support (needs update to support 3.12) |
1160 |
|
- update filelists |
1161 |
|
- update defconfigs |
1162 |
|
- update dkms conflicts |
1163 |
|
|
1164 |
* Thu Oct 3 2013 Thomas Backlund <tmb@mageia.org> 3.10.15-1.mga4 |
* Thu Oct 3 2013 Thomas Backlund <tmb@mageia.org> 3.10.15-1.mga4 |
1165 |
- update to 3.10.15 |
- update to 3.10.15 |
1166 |
- drop merged patches: |
- drop merged patches: |