On Fri, 24 Jan 2014 15:57:22 -0800 Rick Stevens <ricks@xxxxxxxxxxxxxx> wrote: > On 01/24/2014 02:05 PM, Ranjan Maitra issued this missive: > > Hello, > > > > I am trying to build an RPM for sylfilter available at > > http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%{?version}.tar.gz > > with the attached .spec file but I get the following errors: > > > > ..... > > error: Installed (but unpackaged) file(s) found: > > /usr/include/sylfilter/bayes-filter.h > > /usr/include/sylfilter/blacklist-filter.h > > /usr/include/sylfilter/filter-kvs-gdbm.h > > /usr/include/sylfilter/filter-kvs-qdbm.h > > /usr/include/sylfilter/filter-kvs-sqlite.h > > /usr/include/sylfilter/filter-kvs.h > > /usr/include/sylfilter/filter-manager.h > > /usr/include/sylfilter/filter-utils.h > > /usr/include/sylfilter/filter.h > > /usr/include/sylfilter/ngram-filter.h > > /usr/include/sylfilter/textcontent-filter.h > > /usr/include/sylfilter/whitelist-filter.h > > /usr/include/sylfilter/wordsep-filter.h > > /usr/lib64/libsylfilter.a > > /usr/lib64/libsylfilter.la > > /usr/lib64/libsylfilter.so > > /usr/lib64/libsylfilter.so.0 > > /usr/lib64/libsylfilter.so.0.0.0 > > > > > > RPM build errors: > > Installed (but unpackaged) file(s) found: > > /usr/include/sylfilter/bayes-filter.h > > /usr/include/sylfilter/blacklist-filter.h > > /usr/include/sylfilter/filter-kvs-gdbm.h > > /usr/include/sylfilter/filter-kvs-qdbm.h > > /usr/include/sylfilter/filter-kvs-sqlite.h > > /usr/include/sylfilter/filter-kvs.h > > /usr/include/sylfilter/filter-manager.h > > /usr/include/sylfilter/filter-utils.h > > /usr/include/sylfilter/filter.h > > /usr/include/sylfilter/ngram-filter.h > > /usr/include/sylfilter/textcontent-filter.h > > /usr/include/sylfilter/whitelist-filter.h > > /usr/include/sylfilter/wordsep-filter.h > > /usr/lib64/libsylfilter.a > > /usr/lib64/libsylfilter.la > > /usr/lib64/libsylfilter.so > > /usr/lib64/libsylfilter.so.0 > > /usr/lib64/libsylfilter.so.0.0.0 > > > > > > Not sure what the issue is, but wondering if anyone had any suggestions? > > You need to change your spec file to look sorta like: > > %files > %defattr(-,root,root,-) > %config(noreplace) /usr/bin/sylfilter > %doc INSTALL AUTHORS ChangeLog README COPYING > %{_libdir}/*.so* > > %files include > %{_includedir}/* > > The "%{_libdir}" thing takes care of the /usr/lib64 files, the > "%{_includedir}" takes care of the /usr/include files (only needed if > you're building a "-devel" RPM). Thanks, Rick! This does not do it. I get the same errors (I did not use the devel because I am not building a -devel rpm). error: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la RPM build errors: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la Thanks, Ranjan > ---------------------------------------------------------------------- > - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - > - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - > - - > - To get that bulldozer airborne, we need more explosives. - > - -- Jamie Hyneman - > ---------------------------------------------------------------------- > -- > users mailing list > users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe or change subscription options: > https://admin.fedoraproject.org/mailman/listinfo/users > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org -- Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses. ____________________________________________________________ Receive Notifications of Incoming Messages Easily monitor multiple email accounts & access them with a click. Visit http://www.inbox.com/notifier and check it out! -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org