SPECS: VirtualBox.spec - Updated to 2.1.2. Compiles and works on i686 but s...

lmasko lmasko at pld-linux.org
Thu Jan 22 17:17:44 CET 2009


Author: lmasko                       Date: Thu Jan 22 16:17:44 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Updated to 2.1.2. Compiles and works on i686 but spec probably needs some
  cleanups.

---- Files affected:
SPECS:
   VirtualBox.spec (1.174 -> 1.175) 

---- Diffs:

================================================================
Index: SPECS/VirtualBox.spec
diff -u SPECS/VirtualBox.spec:1.174 SPECS/VirtualBox.spec:1.175
--- SPECS/VirtualBox.spec:1.174	Mon Jan 19 13:30:26 2009
+++ SPECS/VirtualBox.spec	Thu Jan 22 17:17:38 2009
@@ -24,24 +24,24 @@
 %define		_enable_debug_packages	0
 %endif
 
-%define		rel		4
+%define		rel		1
 %define		pname	VirtualBox
 Summary:	VirtualBox OSE - x86 hardware virtualizer
 Summary(pl.UTF-8):	VirtualBox OSE - wirtualizator sprzętu x86
 Name:		%{pname}%{_alt_kernel}
-Version:	2.1.0
+Version:	2.1.2
 Release:	%{rel}
 License:	GPL v2
 Group:		Applications/Emulators
 #Source0:	http://download.virtualbox.org/virtualbox/%{version}/%{pname}-%{version}-OSE.tar.bz2
 Source0:	%{pname}-%{version}-OSE.tar.bz2
-# Source0-md5:	bcd403d97e2caf8a634584df34766a4d
+# Source0-md5:	ce1360945d65a79dbea1bec997c25c00
 #Source1:	http://download.virtualbox.org/virtualbox/%{version}/UserManual.pdf
 Source1:	UserManual.pdf
-# Source1-md5:	61f8fa9321b65f8b2e50cfc076d671cb
+# Source1-md5:	6637b80b4e175035dba5a1efd89a0498
 #Source2:	http://download.virtualbox.org/virtualbox/%{version}/VBoxGuestAdditions_%{version}.iso
 Source2:	VBoxGuestAdditions_%{version}.iso
-# Source2-md5:	f6514091a6cca90cdc22591a789ed9b0
+# Source2-md5:	4c02fdb1b4e7f2d5ce7bb0ab8eca33d9
 Source3:	%{pname}-vboxdrv.init
 Source4:	%{pname}-vboxadd.init
 Source5:	%{pname}-vboxnetflt.init
@@ -53,7 +53,7 @@
 Patch2:		%{pname}-shared-libstdc++.patch
 Patch3:		%{pname}-disable-xclient-build.patch
 Patch4:		%{pname}-configure-spaces.patch
-Patch5:		%{pname}-build_fix.patch
+Patch5:		%{pname}-export_modules.patch
 Patch6:		%{pname}-vboxnetflt_export.patch
 URL:		http://www.virtualbox.org/
 BuildRequires:	rpmbuild(macros) >= 1.379
@@ -287,7 +287,7 @@
 Sterownik grafiki dla systemu gościa w VirtualBoksie OSE.
 
 %prep
-%setup -q -n %{pname}-%{version}
+%setup -q -n %{pname}-%{version}_OSE
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -297,7 +297,8 @@
 %endif
 
 %patch4 -p1
-%patch5 -p0
+%patch5 -p1
+chmod +x src/VBox/HostDrivers/Support/linux/export_modules
 %patch6 -p1
 
 cat <<'EOF' > udev.conf
@@ -317,18 +318,12 @@
 chmod 755 ../src/VBox/HostDrivers/VBoxNetFlt/linux/export_modules
 ../src/VBox/HostDrivers/VBoxNetFlt/linux/export_modules modules.tar.gz && \
 	tar -zxf modules.tar.gz && rm -f modules.tar.gz
-sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxdrv/Makefile
+#sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxdrv/Makefile
 
 %build
 %if %{with userspace}
 ./configure \
 	--with-gcc="%{__cc}" \
-%if "%{pld_release}" == "th"
-	--with-gcc-compat="gcc-3.4" \
-%endif
-%if "%{pld_release}" == "ti"
-	--with-gcc-compat="gcc3" \
-%endif
 	--with-g++="%{__cxx}" \
 	--disable-hardening \
 	--disable-kmods \
@@ -577,6 +572,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.175  2009/01/22 16:17:38  lmasko
+- Updated to 2.1.2. Compiles and works on i686 but spec probably needs some
+  cleanups.
+
 Revision 1.174  2009/01/19 12:30:26  arekm
 - release 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/VirtualBox.spec?r1=1.174&r2=1.175&f=u



More information about the pld-cvs-commit mailing list