/[packages]/cauldron/bumblebee/current/SPECS/bumblebee.spec
ViewVC logotype

Diff of /cauldron/bumblebee/current/SPECS/bumblebee.spec

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

revision 265764 by shlomif, Sat Jun 30 22:39:45 2012 UTC revision 265765 by shlomif, Sat Jun 30 23:20:00 2012 UTC
# Line 10  Name:          bumblebee Line 10  Name:          bumblebee
10  Summary:        Support for NVidia Optimus laptops on Linux  Summary:        Support for NVidia Optimus laptops on Linux
11  Group:          System/Kernel and hardware  Group:          System/Kernel and hardware
12  Version:        3.0  Version:        3.0
13  Release:        %mkrel 9  Release:        %mkrel 10
14  License:        GPLv3  License:        GPLv3
15  URL:            https://github.com/Bumblebee-Project/bumblebee  URL:            https://github.com/Bumblebee-Project/bumblebee
16  # source from git repo git://github.com/Bumblebee-Project/Bumblebee.git  # source from git repo git://github.com/Bumblebee-Project/Bumblebee.git
# Line 86  if [ "$1" -eq "0" ];then Line 86  if [ "$1" -eq "0" ];then
86    /usr/sbin/groupdel bumblebee    /usr/sbin/groupdel bumblebee
87  fi  fi
88    
89    # Simple: we need to ensure bulblebee isnt removed in upgrade
90    # This doesnt need exist for Mageia 2
91    %triggerpostun -- %{name} < 3.0-9
92    %_pre_groupadd %{name}
93    users=$(getent passwd | awk -F: '$3 >= 500 && $3 < 60000 {print $1}')
94    for user in $users; do
95      gpasswd -a $user bumblebee
96    done
97    
98  #--------------------------------------------------------------------  #--------------------------------------------------------------------
99  %prep  %prep
100  %setup -q%{?with_git:n %{name}}  %setup -q%{?with_git:n %{name}}

Legend:
Removed from v.265764  
changed lines
  Added in v.265765

  ViewVC Help
Powered by ViewVC 1.1.30