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

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

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

revision 177136 by tmb, Mon Dec 5 23:35:56 2011 UTC revision 179823 by tmb, Fri Dec 9 22:25:06 2011 UTC
# Line 4  Line 4 
4  %define kernelversion   3  %define kernelversion   3
5  %define patchlevel      1  %define patchlevel      1
6  # sublevel is now used for -stable patches  # sublevel is now used for -stable patches
7  %define sublevel        4  %define sublevel        5
8    
9  # Package release  # Package release
10  %define mgarel          3  %define mgarel          1
11    
12  # kernel Makefile extraversion is substituted by  # kernel Makefile extraversion is substituted by
13  # kpatch/kgit wich are either 0 (empty), rc (kpatch), git (kgit)  # kpatch/kgit wich are either 0 (empty), rc (kpatch), git (kgit)
# Line 223  input and output, etc. Line 223  input and output, etc.
223  %define requires1       mkinitrd >= 6.0.92-12  %define requires1       mkinitrd >= 6.0.92-12
224  %define requires2       bootloader-utils >= 1.12-1  %define requires2       bootloader-utils >= 1.12-1
225  %define requires3       sysfsutils >= 1.3.0-1 module-init-tools >= 3.6-10  %define requires3       sysfsutils >= 1.3.0-1 module-init-tools >= 3.6-10
226  %define requires4       kernel-firmware >= 20100217-1  %define requires4       kernel-firmware >= 20110703-2
227    
228  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88
229    
 BuildRoot:              %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build  
 %define buildroot       %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build  
230  Autoreqprov:            no  Autoreqprov:            no
231  BuildRequires:          gcc >= 4.0.1-5 module-init-tools >= 3.2-0.pre8.2  BuildRequires:          gcc >= 4.0.1-5 module-init-tools >= 3.2-0.pre8.2
232    
# Line 314  latest %{kname}-%{1}-devel installed... Line 312  latest %{kname}-%{1}-devel installed...
312                                                          \                                                          \
313  %files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \  %files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \
314  %files -n %{kname}-%{1}-latest                          \  %files -n %{kname}-%{1}-latest                          \
 %defattr(-,root,root)                                   \  
315                                                          \                                                          \
316  %if %build_devel                                        \  %if %build_devel                                        \
317  %files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \  %files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \
318  %files -n %{kname}-%{1}-devel-latest                    \  %files -n %{kname}-%{1}-devel-latest                    \
 %defattr(-,root,root)                                   \  
319  %endif  %endif
320    
321    
# Line 703  SaveDevel() { Line 699  SaveDevel() {
699    
700  ### Create the kernel_devel_files.*  ### Create the kernel_devel_files.*
701  cat > $kernel_devel_files <<EOF  cat > $kernel_devel_files <<EOF
 %defattr(-,root,root)  
702  %dir $DevelRoot  %dir $DevelRoot
703  %dir $DevelRoot/arch  %dir $DevelRoot/arch
704  %dir $DevelRoot/include  %dir $DevelRoot/include
# Line 794  CreateFiles() { Line 789  CreateFiles() {
789    
790  ### Create the kernel_files.*  ### Create the kernel_files.*
791  cat > $kernel_files <<EOF  cat > $kernel_files <<EOF
 %defattr(-,root,root)  
792  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
793  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
794  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
# Line 990  done Line 984  done
984  popd  popd
985    
986    
 ###  
 ### clean  
 ###  
 %clean  
 rm -rf %{buildroot}  
   
   
987  # We don't want to remove this, the whole reason of its existence is to be  # We don't want to remove this, the whole reason of its existence is to be
988  # able to do several rpm --short-circuit -bi for testing install  # able to do several rpm --short-circuit -bi for testing install
989  # phase without repeating compilation phase  # phase without repeating compilation phase
# Line 1007  rm -rf %{buildroot} Line 994  rm -rf %{buildroot}
994  ###  ###
995  %if %build_source  %if %build_source
996  %files -n %{kname}-source-%{buildrel}  %files -n %{kname}-source-%{buildrel}
 %defattr(-,root,root)  
997  %dir %{_kerneldir}  %dir %{_kerneldir}
998  %dir %{_kerneldir}/arch  %dir %{_kerneldir}/arch
999  %dir %{_kerneldir}/include  %dir %{_kerneldir}/include
# Line 1068  rm -rf %{buildroot} Line 1054  rm -rf %{buildroot}
1054  %doc README.kernel-%{ktag}-sources  %doc README.kernel-%{ktag}-sources
1055    
1056  %files -n %{kname}-source-latest  %files -n %{kname}-source-latest
 %defattr(-,root,root)  
1057  %endif  %endif
1058    
1059  %if %build_doc  %if %build_doc
1060  %files -n %{kname}-doc  %files -n %{kname}-doc
 %defattr(-,root,root)  
1061  %doc linux-%{tar_ver}/Documentation/*  %doc linux-%{tar_ver}/Documentation/*
1062  %endif  %endif
1063    
1064  %changelog  %changelog
1065    * Fri Dec  9 2011 Thomas Backlund <tmb@mandriva.org> 3.1.5-1.mga2
1066    - update to 3.1.5
1067    - drop merged patches:
1068        * DG01-DG06, FX01-FX06
1069    - add patch:
1070        * DS01: ALSA: hda/realtek - Fix Oops in alc_mux_select()
1071    - clean spec: drop buildroot and defattr
1072    
1073  * Tue Dec  6 2011 Thomas Backlund <tmb@mandriva.org> 3.1.4-3.mga2  * Tue Dec  6 2011 Thomas Backlund <tmb@mandriva.org> 3.1.4-3.mga2
1074  - fix patch NI12: IFWLOG: fix return value of checkentry  - fix patch NI12: IFWLOG: fix return value of checkentry
1075    (not properly modified in 2.6.35+ patch, blino, #3594)    (not properly modified in 2.6.35+ patch, blino, #3594)

Legend:
Removed from v.177136  
changed lines
  Added in v.179823

  ViewVC Help
Powered by ViewVC 1.1.28