]> git.pld-linux.org Git - packages/VMware-player.git/commitdiff
- fixed creating %{_sysconfdir}/modprobe.d dir in wrong bcond
authorarvenil <arvenil@pld-linux.org>
Mon, 1 Oct 2007 10:06:09 +0000 (10:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- consistently use %{_sysconfdir} instead of /etc

Changed files:
    VMware-player.spec -> 1.25

VMware-player.spec

index 0ae8ffcb2690c0960004d5270f5eb7cfd447870d..e7c66e7ebc72bf44d1664eb0114bfeabb74388c3 100644 (file)
@@ -216,7 +216,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %if %{with userspace}
 install -d \
-       $RPM_BUILD_ROOT%{_sysconfdir}/{modprobe.d,vmware} \
+       $RPM_BUILD_ROOT%{_sysconfdir}/vmware \
        $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/{nat,dhcpd} \
        $RPM_BUILD_ROOT%{_bindir} \
        $RPM_BUILD_ROOT%{_libdir}/vmware/{bin,lib,share/pixmaps} \
@@ -229,7 +229,8 @@ install -d \
 %endif
 
 %if %{with kernel}
-echo "options vmmon vmversion=16" > $RPM_BUILD_ROOT/etc/modprobe.d/%{name}-vmmon.conf
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d
+echo "options vmmon vmversion=16" > $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/%{name}-vmmon.conf
 
 install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/misc
 
@@ -369,7 +370,7 @@ fi
 %if %{with kernel}
 %files -n kernel%{_alt_kernel}-misc-vmmon
 %defattr(644,root,root,755)
-/etc/modprobe.d/%{name}-vmmon.conf
+%{_sysconfdir}/modprobe.d/%{name}-vmmon.conf
 /lib/modules/%{_kernel_ver}/misc/vmmon.ko*
 
 %files -n kernel%{_alt_kernel}-misc-vmnet
This page took 0.07087 seconds and 4 git commands to generate.