/[packages]/cauldron/kernel-tmb/pristine/SPECS/kernel-tmb.spec
ViewVC logotype

Diff of /cauldron/kernel-tmb/pristine/SPECS/kernel-tmb.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 206041 by tmb, Tue Feb 7 16:37:45 2012 UTC revision 311880 by tmb, Thu Nov 1 00:17:12 2012 UTC
# Line 2  Line 2 
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      2  %define patchlevel      6
6  # sublevel is now used for -stable patches  # sublevel is now used for -stable patches
7  %define sublevel        5  %define sublevel        5
8    
# Line 101  Line 101 
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}
# Line 114  Line 111 
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}
# Line 125  Line 121 
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
# Line 220  of the operating system:  memory allocat Line 215  of the operating system:  memory allocat
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 >= 017-9
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 kmod >= 7-6
221  %define requires4       kernel-firmware >= 20111229-1  %define requires4       kernel-firmware >= 20111229-1
222    
223  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88
224    
225  Autoreqprov:            no  Autoreqprov:            no
226  BuildRequires:          gcc >= 4.0.1-5 module-init-tools >= 3.16-14  BuildRequires:          gcc >= 4.0.1-5 kmod >= 7-6
227    
228  %description  %description
229  %common_description_kernel  %common_description_kernel
# Line 506  latest %{kname}-source installed... Line 501  latest %{kname}-source installed...
501  Version:        %{kversion}  Version:        %{kversion}
502  Release:        %{rpmrel}  Release:        %{rpmrel}
503  Summary:        Various documentation bits found in the %{kname} source  Summary:        Various documentation bits found in the %{kname} source
504  Group:          Books/Computer books  Group:          Documentation
505  Buildarch:      noarch  Buildarch:      noarch
506    
507  %description -n %{kname}-doc  %description -n %{kname}-doc
# Line 563  cd %src_dir Line 558  cd %src_dir
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...
# Line 648  SaveDevel() { Line 635  SaveDevel() {
635          %ifarch %{ix86} x86_64          %ifarch %{ix86} x86_64
636                  cp -fR arch/x86/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/x86/kernel/                  cp -fR arch/x86/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/x86/kernel/
637                  cp -fR arch/x86/kernel/asm-offsets_{32,64}.c $TempDevelRoot/arch/x86/kernel/                  cp -fR arch/x86/kernel/asm-offsets_{32,64}.c $TempDevelRoot/arch/x86/kernel/
638                    cp -fR arch/x86/syscalls/syscall* $TempDevelRoot/arch/x86/syscalls/
639                  cp -fR arch/x86/include $TempDevelRoot/arch/x86/                  cp -fR arch/x86/include $TempDevelRoot/arch/x86/
640                    cp -fR arch/x86/tools/relocs.c $TempDevelRoot/arch/x86/tools/
641          %else          %else
642                  cp -fR arch/%{_arch}/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/%{_arch}/kernel/                  cp -fR arch/%{_arch}/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/%{_arch}/kernel/
643                  cp -fR arch/%{_arch}/include $TempDevelRoot/arch/%{_arch}/                  cp -fR arch/%{_arch}/include $TempDevelRoot/arch/%{_arch}/
644          %endif          %endif
645          cp -fR kernel/bounds.c $TempDevelRoot/kernel/          cp -fR kernel/bounds.c $TempDevelRoot/kernel/
646            cp -fR tools/include $TempDevelRoot/tools/
647          cp -fR .config Module.symvers $TempDevelRoot          cp -fR .config Module.symvers $TempDevelRoot
648          cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty/          cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty/
649    
# Line 675  SaveDevel() { Line 665  SaveDevel() {
665          # add acpica header files, needed for fglrx build          # add acpica header files, needed for fglrx build
666          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/
667    
668          for i in alpha arm arm26 avr32 blackfin cris frv h8300 hexagon ia64 microblaze mips m32r m68k \          for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
669                   m68knommu mn10300 openrisc parisc powerpc ppc s390 sh sh64 score sparc tile \                   microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
670                   unicore32 v850 xtensa; do                   powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do
671                  rm -rf $TempDevelRoot/arch/$i                  rm -rf $TempDevelRoot/arch/$i
672          done          done
673    
# Line 730  $DevelRoot/include/keys Line 720  $DevelRoot/include/keys
720  $DevelRoot/include/linux  $DevelRoot/include/linux
721  $DevelRoot/include/math-emu  $DevelRoot/include/math-emu
722  $DevelRoot/include/media  $DevelRoot/include/media
723    $DevelRoot/include/memory
724  $DevelRoot/include/misc  $DevelRoot/include/misc
725  $DevelRoot/include/mtd  $DevelRoot/include/mtd
726  $DevelRoot/include/net  $DevelRoot/include/net
727  $DevelRoot/include/pcmcia  $DevelRoot/include/pcmcia
728    $DevelRoot/include/ras
729  $DevelRoot/include/rdma  $DevelRoot/include/rdma
730  $DevelRoot/include/rxrpc  $DevelRoot/include/rxrpc
731  $DevelRoot/include/scsi  $DevelRoot/include/scsi
# Line 960  chmod -R a+rX %{target_source} Line 952  chmod -R a+rX %{target_source}
952    
953  # we remove all the source files that we don't ship  # we remove all the source files that we don't ship
954  # first architecture files  # first architecture files
955  for i in alpha arm arm26 avr32 blackfin cris frv h8300 hexagon ia64 microblaze mips m32r m68k \  for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
956           m68knommu mn10300 openrisc parisc powerpc ppc s390 sh sh64 score sparc tile \           microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
957           v850 xtensa unicore32; do           powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do
958          rm -rf %{target_source}/arch/$i          rm -rf %{target_source}/arch/$i
959  done  done
960    
# Line 1030  popd Line 1022  popd
1022  %{_kerneldir}/include/linux  %{_kerneldir}/include/linux
1023  %{_kerneldir}/include/math-emu  %{_kerneldir}/include/math-emu
1024  %{_kerneldir}/include/media  %{_kerneldir}/include/media
1025    %{_kerneldir}/include/memory
1026  %{_kerneldir}/include/misc  %{_kerneldir}/include/misc
1027  %{_kerneldir}/include/mtd  %{_kerneldir}/include/mtd
1028  %{_kerneldir}/include/net  %{_kerneldir}/include/net
1029  %{_kerneldir}/include/pcmcia  %{_kerneldir}/include/pcmcia
1030    %{_kerneldir}/include/ras
1031  %{_kerneldir}/include/rdma  %{_kerneldir}/include/rdma
1032  %{_kerneldir}/include/rxrpc  %{_kerneldir}/include/rxrpc
1033  %{_kerneldir}/include/scsi  %{_kerneldir}/include/scsi
# Line 1075  popd Line 1069  popd
1069  %endif  %endif
1070    
1071  %changelog  %changelog
1072    * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-1.mga3
1073    - update to 3.6.5
1074    - move -doc to Documentation group
1075    - add patches:
1076      * AA01-AA16: stable queue fixes
1077      * FE01: ext4: fix unjournaled inode bitmap modification
1078              (fixes possible data corruption bug)
1079      * NI14: ipt_IFWLOG buildfix
1080    - update patches:
1081      * CK01: -ck1 patchset
1082      * FO01-FO13: overlayfs
1083      * KP01: TyxOnIce
1084    - disable patches:
1085      * DA20: acpi shuttle-wmi video blacklist (broken)
1086    - enable ZRAM support
1087    - update filelists
1088    - update defconfigs
1089    
1090    * Sat Sep 15 2012 Thomas Backlund <tmb@mageia.org> 3.5.4-1.mga3
1091    - update to 3.5.4
1092    - drop merged patches:
1093      * AA01-AA85, FE01, FU01
1094    
1095    * Tue Sep 11 2012 Thomas Backlund <tmb@mageia.org> 3.5.3-2.mga3
1096    - add patches:
1097      * AA01-AA85: stable queue fixes
1098      * FO01-FO13: overlayfs support (from ubuntu)
1099      * FE01: ext3: Fix fdatasync() for files with only i_size changes (mga #7343)
1100      * FU01: udf: Fix data corruption for files in ICB
1101    - drop patches:
1102      * FU01-FU04: unionfs support (broken)
1103    - update defconfigs
1104    
1105    * Mon Aug 27 2012 Thomas Backlund <tmb@mageia.org> 3.5.3-1.mga3
1106    - update to 3.5.3
1107    
1108    * Thu Aug 16 2012 Thomas Backlund <tmb@mageia.org> 3.5.2-1.mga3
1109    - update to 3.5.2
1110    - update patches:
1111      * CK01: ck1 patchset for 3.5 series kernels including BFS 0.424
1112      * KP01: TuxOnIce 3.3 for 3.5 series kernels
1113    - drop merged patches:
1114      * AA01-AA13: (stable queue fixes)
1115      * BS01: silencing useless scsi ioctl warnings
1116      * CK02: BFS buildfix
1117    - add patches:
1118      * FU03, FU04: unionfs buildfixes for 3.5 series kernels
1119    - update filelists
1120    - update defconfigs
1121    
1122    * Sat Jul 21 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-2.mga3
1123    - make CONFIG_ATA_PIIX, CONFIG_BLK_DEV_SD and CONFIG_CRC_T10DIF
1124      builtin too, so it actually can boot without initrd
1125    - disable CONFIG_LOGO for less screen flickering during boot
1126    
1127    * Fri Jul 20 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-1.mga3
1128    - update to 3.4.6
1129    - drop patch:
1130      * DN25: ipw2x00: add support for nl80211 clients (merged)
1131    - update patch:
1132      * CK01: -ck3 patchset including BFS v0.424
1133    - add patches:
1134      * AA01-AA13: stable queue fixes
1135      * BS01: silence useless scsi ioctl warnings
1136      * CK02: fix BFS build with sched-nohz-rewrite added in 3.4.6
1137    - make theese config options builtin in order to be able to
1138      test booting without initrd:
1139      (see: https://wiki.mageia.org/en/Feature:BootSansRamdisk)
1140      CONFIG_SCSI_MOD, CONFIG_SCSI, CONFIG_ATA, CONFIG_SATA_AHCI,
1141      CONFIG_EXT3_FS, CONFIG_EXT4_FS, CONFIG_JBD, CONFIG_JBD2,
1142      CONFIG_BTRFS_FS, CONFIG_CRYPTO_CRC32C, CONFIG_CRC16,
1143      CONFIG_LIBCRC32C, CONFIG_ZLIB_DEFLATE
1144    
1145    * Sun Jul  1 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-2.mga3
1146    - enable EFI_STUB support (#6598)
1147    
1148    * Wed Jun 27 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-1.mga3
1149    - update to 3.4.4
1150    - drop patch:
1151      * AA01: 3.4.4-rc1 (merged)
1152    
1153    * Wed Jun 20 2012 Thomas Backlund <tmb@mageia.org> 3.4.3-1.mga3
1154    - update to 3.4.3
1155    - add patch:
1156      * AA01: 3.4.4-rc1
1157    - drop patch:
1158      * FE01: ext4 uninit_bg fix (merged)
1159    - update patch:
1160      * CK01: ck2 patchset including BFS 0.423
1161    
1162    * Sat Jun  9 2012 Thomas Backlund <tmb@mageia.org> 3.4.2-1.mga3
1163    - update to 3.4.2
1164    - add patch:
1165      * FE01: ext4: fix the free blocks calculation for ext3
1166              file systems w/ uninit_bg
1167    
1168    * Mon Jun  4 2012 Thomas Backlund <tmb@mageia.org> 3.4.1-1.mga3
1169    - update to 3.4.1
1170    - drop merged patches:
1171      * DA60, DA61: ahci/ata ids
1172      * DG01-DG04, DG20-DG21, DG40-DG44, DG60: drm backports
1173      * DN10-DN11: ath5k stablilty fixes
1174      * DS20-DS24: sound fixes
1175    - update patches:
1176      * CK01: ck1 patchset including BFS 0.422
1177      * FU01: unionfs 2.5.11
1178      * KP01: tuxonice 3.2.1
1179      * NI10-NI11: netfilter IFWLOG support
1180      * NI16: netfilter psd support
1181    - add patches:
1182      * DM60: radio-rttrack buildfix
1183      * FU02: unionfs buildfix for kernel-3.4
1184    - drop patches:
1185      * DA50: prefer ata over ide hack, needs to be fixed properly
1186      * DN20: disabling powersave on rt2800usb
1187      * LK01: lib/Kconfig.debug text update
1188    - update defconfigs
1189    - update filelists
1190    
1191    * Thu May 17 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-2.mga2
1192    - revert switching server kernels to SLAB allocator at it fails to boot
1193      with BFS scheduler (reported/confirmed by Charles A Edwards.on -dev ml)
1194    - add patches:
1195      * DN25: ipw2x00: add support for nl80211 clients like Network Manager (#5720)
1196      * DS20: ALSA: echoaudio: Remove incorrect part of assertion
1197      * DS21: ALSA: HDA: Lessen CPU usage when waiting for chip to respond
1198      * DS22: ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 mobo
1199      * DS23: ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops
1200    
1201    * Sat May 12 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-1.mga2
1202    - update to 3.3.6
1203    - drop merged patches:
1204      * AA01-AA32: stable queue fixes
1205      * DP10-DP13: samsung-laptop dmitable addons
1206    - switch server kernels back to SLAB allocator as it performs better
1207      on bigger server hardware and workloads
1208    
1209    * Thu May 10 2012 Thomas Backlund <tmb@mageia.org> 3.3.5-1.mga2
1210    - update to 3.3.5
1211    - drop merged patches:
1212      * DN15-DN17: iwlwifi fixes
1213    - add patches from stable queue
1214      * AA01-AA32: fixes all over
1215    
1216    * Sat Apr 28 2012 Thomas Backlund <tmb@mageia.org> 3.3.4-1.mga2
1217    - update to 3.3.4
1218    - require dracut >= 017-9
1219    - add patches:
1220      * DN16: iwlwifi: use 6000G2B for 6030 device series
1221      * DN17: iwlwifi: fix hardware queue programming
1222    
1223    * Mon Apr 23 2012 Thomas Backlund <tmb@mageia.org> 3.3.3-1.mga2
1224    - update to 3.3.3
1225    - add patches:
1226      * BF01: floppy: disable pnp autoloading
1227      * DN10: ath5k: do not stop queues for full calibration
1228      * DN11: ath5k: do not re-run AGC calibration periodically
1229      * DN15: iwlwifi: use correct released ucode version
1230    - update patch:
1231      * KP01: TuxOnIce 3.2.1 for kernel-3.3
1232    
1233    * Tue Apr 03 2012 Thomas Backlund <tmb@mageia.org> 3.3.1-1.mga2
1234    - update to 3.3.1
1235    - drop merged patches:
1236      * DM51, SR01-SR03
1237    - update patch:
1238      * CK01: -ck1 patchset including BFS v0.420
1239    - add patches:
1240      * DA50: ata: prefer ata drivers over ide drivers when both are built (Anssi)
1241      * DA60-DA61: ata: add ide/ahci/raid mode support for Intel Lynx Point chipset
1242      * DG01-DG04: drm: add upstream drm changes to support gpu driver backports
1243      * DG20, DG21: drm/radeon: backport support for Southern Islands (HD7xxx)
1244                    GPUs and Trinity APUs
1245      * DG40-DG44: drm/nouveau: backport Kepler (GTX6xx) support
1246      * DG60: drm/i915: add Ivy Bridge GT2 Server entries
1247    - update defconfigs
1248    
1249    * Mon Mar 19 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-1.mga2
1250    - update to 3.3 final
1251    - add patches:
1252        * DM50: media: fix initialization on Hauppauge WinTV Nova HD-S2
1253                and similar hardware
1254        * DM51: media/tda10071: correct delivery system to DVB-S/S2
1255    - update defconfigs
1256    
1257    * Sun Mar 11 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc7.1.mga2
1258    - update to 3.3-rc7
1259    
1260    * Wed Mar  7 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc6.1.mga2
1261    - update to 3.3-rc6
1262    - update patches:
1263        * FU01: unionfs 2.5.11
1264        * MB10, MB13, MB14: ndiswrapper 1.57
1265    - rediff patches:
1266        * NI15, NI16: netfilter psd support
1267        * patch disabling mrproper in -devel rpms
1268    - disable patch:
1269        * CK01: -ck1 patchset including BFS sceduler (needs update to 3.3 series)
1270    - update defconfigs
1271    - update filelists
1272    
1273    * Thu Mar  1 2012 Thomas Backlund <tmb@mageia.org> 3.2.9-1.mga2
1274    - update to 3.2.9
1275    - require dracut >= 017-1
1276    - drop merged patches:
1277        * DG01, DP01, DU01, NM01
1278    - add patches:
1279        * SR01-SR03: fix nonworking r8172u wireless driver in staging (#4491)
1280    
1281    * Sat Feb 25 2012 Thomas Backlund <tmb@mageia.org> 3.2.7-1.mga2
1282    - update to 3.2.7
1283    - drop merged patches AA01-AA28
1284    - add patches:
1285        * DG01: drm/radeon/kms: fix MSI re-arm on rv370+
1286        * DP01: PCI: workaround hard-wired bus number
1287        * DS20, DS21: fix nonworking r8172u wireless driver in staging (#4491)
1288        * DU01: xhci: Fix oops caused by more USB2 ports than USB3 ports
1289        * NM01: mac80211: Fix a rwlock bad magic bug
1290    
1291    * Thu Feb 16 2012 Thomas Backlund <tmb@mageia.org> 3.2.6-1.mga2
1292    - update to 3.2.6
1293    - add current stable queue (28 fixes, AA01-AA28)
1294    - require dracut >= 016-1 for xz compressed modules support and
1295      other needed fixes
1296    - compress modules with xz
1297    
1298  * 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
1299  - update to 3.2.5  - update to 3.2.5
1300  - drop merged patch  - drop merged patch

Legend:
Removed from v.206041  
changed lines
  Added in v.311880

  ViewVC Help
Powered by ViewVC 1.1.30