- Handle kernel 4.0: we can't just compare the 'minor' part of the
version anymore when applying patches. - Handle kernel 4.0: we can't just compare the 'minor' part of the version anymore when applying patches. OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=292
This commit is contained in:
parent
8ea62f8a13
commit
97783b0ed5
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 5 14:31:19 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
- Handle kernel 4.0: we can't just compare the 'minor' part of the
|
||||
version anymore when applying patches.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 19 13:35:44 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
|
@ -235,8 +235,9 @@ sed -i -e "s/\r//" README
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
KVER=$(rpm -q kernel-syms --qf %%{version}\n | awk -F. '{print $2}')
|
||||
if [ $KVER -ge 19 ]; then
|
||||
KVERMAJ=$(rpm -q kernel-syms --qf %%{version}\n | awk -F. '{print $1}')
|
||||
KVERMIN=$(rpm -q kernel-syms --qf %%{version}\n | awk -F. '{print $2}')
|
||||
if [ $KVERMAJ -ge 4 -o $KVERMIN -ge 19 ]; then
|
||||
%patch13 -p1
|
||||
fi
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 5 14:31:19 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
- Handle kernel 4.0: we can't just compare the 'minor' part of the
|
||||
version anymore when applying patches.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 19 13:35:44 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
|
@ -235,8 +235,9 @@ sed -i -e "s/\r//" README
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
KVER=$(rpm -q kernel-syms --qf %%{version}\n | awk -F. '{print $2}')
|
||||
if [ $KVER -ge 19 ]; then
|
||||
KVERMAJ=$(rpm -q kernel-syms --qf %%{version}\n | awk -F. '{print $1}')
|
||||
KVERMIN=$(rpm -q kernel-syms --qf %%{version}\n | awk -F. '{print $2}')
|
||||
if [ $KVERMAJ -ge 4 -o $KVERMIN -ge 19 ]; then
|
||||
%patch13 -p1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user