Re: perl-B-C

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
<mattdm@xxxxxxxxxxxxxxxxx>
Fedora Project Leader
-- 
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux