Mailinglist Archive: opensuse-buildservice (311 mails)

< Previous Next >
[opensuse-buildservice] When is the correct time and method to move a directory to /opt
  • From: <doiggl@xxxxxxxxxxxxxxxxxx>
  • Date: Mon, 02 Nov 2009 21:51:35 +1100
  • Message-id: <88fcc21f08f7d068015d915619ee9739@xxxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups