[opensuse-buildservice] When is the correct time and method to move a directory to /opt
When is the correct time and method to move a directory to /opt ? I want to move %{buildroot}/cricket-1.0.5 to /opt/cricket-1.0.5
From the specfile
%prep %setup -q -n cricket-%version # added in 6 lines mkdir -p %{buildroot}/opt ls -laR %{buildroot}/opt ls -laR %{buildroot}/cricket-1.0.5 mv -v %{buildroot}/cricket-1.0.5 %{buildroot}/opt/cricket-1.0.5 ln -s %{buildroot}/cricket-1.0.5 %{buildroot}/opt/cricket ls -laR %{buildroot}/opt/cricket
From the logfile
+ mkdir -p /usr/src/packages/BUILDROOT/test-1.0.5-9.1.i386/opt + ls -laR /usr/src/packages/BUILDROOT/test-1.0.5-9.1.i386/opt /usr/src/packages/BUILDROOT/test-1.0.5-9.1.i386/opt: total 8 drwxr-xr-x 2 abuild abuild 4096 Nov 2 06:30 . drwxr-xr-x 3 abuild abuild 4096 Nov 2 06:30 .. + ls -laR /usr/src/packages/BUILDROOT/test-1.0.5-9.1.i386/cricket-1.0.5 ls: cannot access /usr/src/packages/BUILDROOT/test-1.0.5-9.1.i386/cricket-1.0.5: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.rndSBi (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.rndSBi (%prep) System halted. full specfile detail -> https://build.opensuse.org/package/view_file?file=cricket105test.spec&package=cricket105test&project=home%3Adoiggl full logfile detail -> https://build.opensuse.org/package/view_file?file=cricket105test.spec&package=cricket105test&project=home%3Adoiggl Thanks for the info Glenn -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Dne 2.11.2009 11:51, doiggl@velocitynet.com.au napsal(a):
When is the correct time and method to move a directory to /opt ?
In the %install section. Michal -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
doiggl@velocitynet.com.au
-
Michal Marek