<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 03/13/2012 08:43 AM, Alec Leamas wrote:
<blockquote cite="mid:4F5EFA85.9040700@gmail.com" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
On 03/13/2012 07:21 AM, Amit Saha wrote:
<blockquote cite="mid:4F5EE786.2040208@gmail.com" type="cite">Hello:
<br>
<br>
I am in the process of building my first package [1], and have
got most of it sorted. 'rpmbuild -ba' executes successfully with
the current SPEC file[3]. <br>
<br>
However, the SRPM [2] fails in Mock with the error: <br>
<br>
RPM build errors: <br>
File not found by glob:
/builddir/build/BUILDROOT/python-picloud-2.4.2-3.fc16.i386/usr/bin/*
<br>
Child return code was: 1 <br>
<br>
I am not sure why? (Having the incorrect %{_bindir}/ in the SPEC
file passes successfully). <br>
<br>
<br>
[1] <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://bugzilla.redhat.com/show_bug.cgi?id=799810">https://bugzilla.redhat.com/show_bug.cgi?id=799810</a>
<br>
[2]
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://amitksaha.fedorapeople.org/contribs/picloud_packaging/python-picloud-2.4.2-3.fc16.src.rpm">http://amitksaha.fedorapeople.org/contribs/picloud_packaging/python-picloud-2.4.2-3.fc16.src.rpm</a><br>
[3]
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://amitksaha.fedorapeople.org/contribs/picloud_packaging/python-picloud.spec">http://amitksaha.fedorapeople.org/contribs/picloud_packaging/python-picloud.spec</a><br>
<br>
<br>
I am probably missing something very basic here. Kindly suggest.
<br>
<br>
Thanks! <br>
Amit <br>
<br>
</blockquote>
The spec most likely doesn't put anything in
$RPM_BUILD_ROOT/usr/bin. To verify, run rpmbuild -bi <your
spec>, and look into ~/rpmbuild/BUILD<i class="moz-txt-slash">/python-picloud-2.4.2*
to find out what the thing actually installs</i><br>
<br>
</blockquote>
Oops... that should be "Look into
~/rpmbuild/BUILDROOT/python-picloud-2.4.2* to find out..."
</body>
</html>