--- rpms/smeserver-phpvirtualbox/contribs10/smeserver-phpvirtualbox.spec 2023/03/10 02:08:25 1.7 +++ rpms/smeserver-phpvirtualbox/contribs10/smeserver-phpvirtualbox.spec 2023/03/10 02:37:14 1.9 @@ -21,7 +21,6 @@ Requires: smeserver-virtualbox = 5.2 Patch0: smeserver-phpvirtualbox-5.2.1-move_vbox_dir.patch Patch1: smeserver-phpvirtualbox-5.2.1-remove_vbox_passwd.patch Patch2: smeserver-phpvirtualbox-5.2.1-multiple_changes.patch -Patch3: smeserver-phpvirtualbox-5.2.1-remove_defaults.patch AutoReqProv: no %description @@ -92,7 +91,6 @@ phpvirtualbox version MUST align with Vi %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 %build perl createlinks @@ -101,9 +99,9 @@ perl createlinks rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist -mkdir -p /opt/vbox/{ISOs,VMs} -mkdir -p /var/log/php/phpvirtualbox -mkdir -p /var/lib/php/phpvirtualbox/{opcache,tmp,session} +mkdir -p $RPM_BUILD_ROOT/opt/vbox/{ISOs,VMs} +mkdir -p $RPM_BUILD_ROOT/var/log/php/phpvirtualbox +mkdir -p $RPM_BUILD_ROOT/var/lib/php/phpvirtualbox/{opcache,tmp,session} /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --dir /opt/vbox 'attr(0755,vbox,vboxusers)' \ --dir /opt/vbox/ISOs 'attr(0774,vbox,vboxusers)' \