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).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-     To get that bulldozer airborne, we need more explosives.       -
-                                                -- Jamie Hyneman    -
----------------------------------------------------------------------
--
users mailing list
users@lists.fedoraproject.org
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

Reply via email to