[packages/VirtualBox] drop KERNELRELEASE hack and require rpm build macros >= 1.715 instead

atler atler at pld-linux.org
Tue Apr 26 16:53:01 CEST 2016


commit f198c53bd2db381c983ee57e173dc71e4382274c
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Apr 26 16:52:02 2016 +0200

    drop KERNELRELEASE hack and require rpm build macros >= 1.715 instead

 VirtualBox.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index ad9c2b3..bd5b6da 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -146,7 +146,7 @@ BuildRequires:	python-devel >= 2.3
 BuildRequires:	python-modules
 BuildRequires:	qt4-build
 BuildRequires:	qt4-linguist
-BuildRequires:	rpmbuild(macros) >= 1.701
+BuildRequires:	rpmbuild(macros) >= 1.715
 BuildRequires:	sed >= 4.0
 %if %{with doc}
 BuildRequires:	texlive-fonts-bitstream
@@ -541,7 +541,6 @@ install -d PLD-MODULE-BUILD/{GuestDrivers,HostDrivers}
 cd PLD-MODULE-BUILD
 ../src/VBox/Additions/linux/export_modules guest-modules.tar.gz
 tar -zxf guest-modules.tar.gz -C GuestDrivers
-sed -i s/KERNELRELEASE/KERNELVERSION/ GuestDrivers/vboxvideo/Makefile
 
 ../src/VBox/HostDrivers/linux/export_modules host-modules.tar.gz --without-hardening
 tar -zxf host-modules.tar.gz -C HostDrivers
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/f198c53bd2db381c983ee57e173dc71e4382274c



More information about the pld-cvs-commit mailing list