On Sep 22, 2015 12:10 PM, "Patrick Dupre" <pdupre(a)gmx.com> wrote:
Hello,
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
RPM build errors:
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
Any idea how to fix it?
Thank.
===========================================================================
Patrick DUPRÉ
Use the %files section of the rpm spec to list files in the rpm.
--Pete