Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv8180
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Only extract the needed architecture
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- xorg-x11-drv-nvidia.spec 6 Aug 2013 09:42:01 -0000 1.114
+++ xorg-x11-drv-nvidia.spec 20 Aug 2013 17:11:42 -0000 1.115
@@ -109,11 +109,16 @@
%prep
%setup -q -c -T
+#Only extract the needed arch
+%ifarch %{ix86}
sh %{SOURCE0} --extract-only --target nvidiapkg-i686
+%endif
+%ifarch x86_64
sh %{SOURCE1} --extract-only --target nvidiapkg-x86_64
+%endif
+%ifarch armv7hl
sh %{SOURCE4} --extract-only --target nvidiapkg-armv7hl
-tar -cJf nvidia-kmod-data-%{version}.tar.xz nvidiapkg-*/LICENSE nvidiapkg-*/kernel
-
+%endif
ln -s nvidiapkg-%{_target_cpu} nvidiapkg
%build