Here is the section of the spec file:<div><br></div><div><div>%{_bindir}/%{name}</div><div>%{_datadir}/applications/%{name}.desktop</div><div>%{_datadir}/%{name}</div><div>%{_mandir}/man1/%{name}*</div><div>%{_datadir}/pixmaps/</div>
<div>%{_datadir}/icons/hicolor/*/apps/%{name}.*</div><div><br></div><div><br></div><div>it appears to be coverd...</div><br><div class="gmail_quote">On Mon, Feb 1, 2010 at 4:29 PM, Clint Dilks <span dir="ltr"><<a href="mailto:clintd@scms.waikato.ac.nz">clintd@scms.waikato.ac.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Tom Bishop wrote:<br>
> Thanks, that is very usefull and I have followed although I am still<br>
> coming up with an error when I do a rpmbuild -ba xxx.spec<br>
><br>
> error: Installed (but unpackaged) file(s) found:<br>
> /usr/share/applications/centos5-shutter.desktop<br>
><br>
><br>
> RPM build errors:<br>
> File not found:<br>
> /var/tmp/shutter-0.85.1-1-root-itsupport/usr/share/applications/shutter.desktop<br>
> Installed (but unpackaged) file(s) found:<br>
> /usr/share/applications/centos5-shutter.desktop<br>
><br>
><br>
> On Mon, Feb 1, 2010 at 4:20 PM, Akemi Yagi <<a href="mailto:amyagi@gmail.com">amyagi@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:amyagi@gmail.com">amyagi@gmail.com</a>>> wrote:<br>
><br>
> On Mon, Feb 1, 2010 at 2:13 PM, Tom Bishop <<a href="mailto:bishoptf@gmail.com">bishoptf@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:bishoptf@gmail.com">bishoptf@gmail.com</a>>> wrote:<br>
> > Thanks for the tips so I have gotten mock installed but for the<br>
> life of me I<br>
> > can't figure out how to install the srpm, edit the spec file and<br>
> then<br>
> > re-build. I have seen an example that installs and then I can<br>
> edit via mock<br>
> > shell, but when I do a rpmbuild -ba or -bb it says its misssing<br>
> the .tar<br>
> > files....any help or pointing in the right direction would be<br>
> appreciated.<br>
> > I know what I need to do to the spec file just not sure how to<br>
> achieve<br>
> > it...thanks.<br>
><br>
> This CentOS wiki will help you:<br>
><br>
> <a href="http://wiki.centos.org/HowTos/RebuildSRPM" target="_blank">http://wiki.centos.org/HowTos/RebuildSRPM</a><br>
><br>
> Akemi<br>
> _______________________________________________<br>
> CentOS mailing list<br>
</div>> <a href="mailto:CentOS@centos.org">CentOS@centos.org</a> <mailto:<a href="mailto:CentOS@centos.org">CentOS@centos.org</a>><br>
<div class="im">> <a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
<div class="im">><br>
> _______________________________________________<br>
> CentOS mailing list<br>
> <a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
> <a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
><br>
</div>Hi<br>
<br>
This means that the build process has found a file that is not covered<br>
by the files section of you spec file. If you are sure this is a<br>
legitimate file then simply add<br>
/usr/share/applications/centos5-shutter.desktop under the files section.<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br></div>