/[packages]/cauldron/kmod-vboxadditions/current/SPECS/kmod-vboxadditions.spec
ViewVC logotype

Diff of /cauldron/kmod-vboxadditions/current/SPECS/kmod-vboxadditions.spec

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

revision 566003 by tmb, Thu Jan 9 21:31:04 2014 UTC revision 607448 by tmb, Sun Mar 23 23:15:23 2014 UTC
# Line 1  Line 1 
1  # define driver name, version and release  # define driver name, version and release
2  %define         drvname vboxadditions  %define         drvname vboxadditions
3  %define         drvver  4.3.6  %define         drvver  4.3.8
4  %define         drvrel  1.mga4  %define         drvrel  1.mga5
5    
6  # define core kernel version we build against  # define core kernel version we build against
7  %define         kernver         3.12.6  %define         kernver         3.13.6
8  %define         kernrel         5.mga4  %define         kernrel         1.mga5
9    
10  # where to build  # where to build
11  %define         topdir          ${RPM_BUILD_DIR}/%{name}-%{_arch}  %define         topdir          ${RPM_BUILD_DIR}/%{name}-%{_arch}
# Line 13  Line 13 
13  # source package  # source package
14  Name:           kmod-%{drvname}  Name:           kmod-%{drvname}
15  Version:        %{drvver}  Version:        %{drvver}
16  Release:        %mkrel 5  Release:        %mkrel 1
17  Summary:        Prebuilt %{drvname} modules for kernel-%{kernver}-%{kernrel}  Summary:        Prebuilt %{drvname} modules for kernel-%{kernver}-%{kernrel}
18  License:        GPLv2  License:        GPLv2
19  URL:            http://www.virtualbox.org/  URL:            http://www.virtualbox.org/
# Line 101  rm -rf %{topdir} Line 101  rm -rf %{topdir}
101  %{_sbindir}/dkms add -m %{drvname} -v %{drvver}-%{drvrel} --dkmstree %{topdir}/var/lib/dkms-binary  %{_sbindir}/dkms add -m %{drvname} -v %{drvver}-%{drvrel} --dkmstree %{topdir}/var/lib/dkms-binary
102  %ifarch %{ix86}  %ifarch %{ix86}
103  %{_sbindir}/dkms build --no-prepare-kernel --no-clean-kernel -m %{drvname} -v %{drvver}-%{drvrel} \  %{_sbindir}/dkms build --no-prepare-kernel --no-clean-kernel -m %{drvname} -v %{drvver}-%{drvrel} \
104              -k %{kernver}-desktop586-%{kernrel} --kernelsourcedir /usr/src/linux-%{kernver}-desktop586-%{kernrel} \              -k %{kernver}-desktop586-%{kernrel} --kernelsourcedir /usr/src/kernel-%{kernver}-desktop586-%{kernrel} \
105              --dkmstree %{topdir}/var/lib/dkms-binary              --dkmstree %{topdir}/var/lib/dkms-binary
106  %endif  %endif
107  for flavour in desktop server; do  for flavour in desktop server; do
108      %{_sbindir}/dkms build --no-prepare-kernel --no-clean-kernel -m %{drvname} -v %{drvver}-%{drvrel} \      %{_sbindir}/dkms build --no-prepare-kernel --no-clean-kernel -m %{drvname} -v %{drvver}-%{drvrel} \
109                  -k %{kernver}-$flavour-%{kernrel} --kernelsourcedir /usr/src/linux-%{kernver}-$flavour-%{kernrel} \                  -k %{kernver}-$flavour-%{kernrel} --kernelsourcedir /usr/src/kernel-%{kernver}-$flavour-%{kernrel} \
110                  --dkmstree %{topdir}/var/lib/dkms-binary                  --dkmstree %{topdir}/var/lib/dkms-binary
111  done  done
112    

Legend:
Removed from v.566003  
changed lines
  Added in v.607448

  ViewVC Help
Powered by ViewVC 1.1.26