On Tue, Sep 22, 2015 at 07:09:54PM +0200, Patrick Dupre wrote:
> I tried to compile (rpmbuild) the package perl-B-C (from cpan)
> because I could find an rpm.
> and I get the following error messages (rpmbuild -bb perl-B-C.spec)
> 
> Processing files: perl-B-C-debuginfo-1.52-1.fc22.x86_64
> Checking for unpackaged file(s): /usr/lib/rpm/check-files 
> /home/pdupre/rpmbuild/BUILDROOT/perl-B-C-1.52-1.fc22.x86_64
> error: Installed (but unpackaged) file(s) found:
>    /usr/bin/assemble
>    /usr/bin/cc_harness
>    /usr/bin/disassemble
>    /usr/bin/perlcc
>    /usr/share/man/man1/assemble.1.gz
>    /usr/share/man/man1/disassemble.1.gz
>    /usr/share/man/man1/perlcc.1.gz

Every file the package installs must be listed in the %files section,
or you'll get this.

Adding these lines under %files should do it. (See the Packging
Guidelines for detail.)


%{_bindir}/assemble
%{_bindir}/cc_harness
%{_bindir}/disassemble
%{_bindir}/perlcc
%{_mandir}/man1/assemble.1*
%{_mandir}/man1/disassemble.1*
%{_mandir}/man1/perlcc.1*



Note that you could also just use wildcards entirely, but listing
individually protects you from a problem where something expected
doesn't get generated after all.




-- 
Matthew Miller
<mat...@fedoraproject.org>
Fedora Project Leader
-- 
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