Thanks Peter for the reply.<br><br><div class="gmail_quote">On Thu, Aug 16, 2012 at 5:01 PM, Peter Robinson <span dir="ltr"><<a href="mailto:pbrobinson@gmail.com" target="_blank">pbrobinson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, Aug 16, 2012 at 12:25 PM, Ajay Garg <<a href="mailto:ajay@activitycentral.com">ajay@activitycentral.com</a>> wrote:<br>
> Hi all.<br>
><br>
> I have been wanting to build some rpms for Sugar-on-F17 , after applying the<br>
> "multi-select" patches.<br>
> Regarding this, I have been able to build the "sugar" and "sugar-toolkit"<br>
> rpms, after applying the patches.<br>
><br>
> Thanks a ton to Manuel Quiñones, who helped me in figuring out how to do<br>
> this; I was completely blank otherwise :P<br>
><br>
><br>
><br>
> But, I am stuck at the "sugar-artwork" rpm.<br>
> Following is the approach I followed ::<br>
><br>
><br>
> a)<br>
> Downloaded<br>
> <a href="http://kojipkgs.fedoraproject.org//packages/sugar-artwork/0.96.5/1.fc17/src/sugar-artwork-0.96.5-1.fc17.src.rpm" target="_blank">http://kojipkgs.fedoraproject.org//packages/sugar-artwork/0.96.5/1.fc17/src/sugar-artwork-0.96.5-1.fc17.src.rpm</a><br>
> (same step as for "sugar" and "sugar-toolkit").<br>
><br>
><br>
> b)<br>
> "rpm -ivh sugar-artwork-0.96.5-1.fc17.src.rpm"<br>
> (same step as for "sugar" and "sugar-toolkit").<br>
><br>
><br>
> c)<br>
> Added the patch-info to "~/rpmbuild/SPECS/sugar-artwork.spec"<br>
> (same step as for "sugar" and "sugar-toolkit").<br>
><br>
><br>
> d)<br>
> Copied the patch to "~/rpmbuild/SOURCES"<br>
> (same step as for "sugar" and "sugar-toolkit").<br>
><br>
><br>
> e)<br>
> Built the rpm. It was successful.<br>
> (same step as for "sugar" and "sugar-toolkit").<br>
><br>
><br>
> f)<br>
> However, when I apply the rpm via "sudo rpm --force --upgrade", it seems to<br>
> succeed; however no newly-expected files are seen.<br>
> (HOWEVER, THINGS WORKED FINE FOR "sugar" AND "sugar-toolkit").<br>
><br>
><br>
><br>
> I can't seem to figure out the source of error; as all steps (except the<br>
> last, f.), seem to work as expected.<br>
> For brevity, I am attaching the sugar-artwork patch.<br>
><br>
><br>
> I will be grateful for any information, as to what I may be doing wrong.<br>
<br>
</div></div>Could you provide a diff to the spec file from the original base one?<br>
It's hard to tell what your doing wrong if I can't see what you're<br>
doing.<br></blockquote><div><br>Sure; please find attached the diff file.<br>I guess the fault is not here, as this is the most minimal diff possible. <br><br><br><br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I also suggest you modify the Release variable to distinguish between<br>
the original and the one you build, it will make it easier for you and<br>
you don't need to do a --force then.<br></blockquote><div><br>Yep. Anyways, right now I am just testing :)<br><br><br><br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Peter<br>
</font></span></blockquote></div><br>Regards,<br>Ajay<br>