rpmbuild perl包 - rpminfo什么都不返回

时间:2015-12-22 18:28:53

标签: rpmbuild

构建了一个perl-DirTree rpm包来模拟用于测试的树包,纯粹是perl代码。一切顺利,除了rpminfo什么都不返回

我做错了什么?

或者只是rpminfo不支持perl rpm?

我应该提供哪些其他信息?谢谢

# return everything needed
rpm -qi perl-DirTree

[gliang@www ~]$ rpm -ql perl-DirTree
/usr/share/doc/perl-DirTree-0.01
/usr/share/doc/perl-DirTree-0.01/Changes
/usr/share/doc/perl-DirTree-0.01/README
/usr/share/man/man3/DirFormat.3pm.gz
/usr/share/man/man3/DirTree.3pm.gz
/usr/share/perl5/vendor_perl/DirFormat.pm
/usr/share/perl5/vendor_perl/DirTree.pl
/usr/share/perl5/vendor_perl/DirTree.pm

# my own package(installed) - return nothing
rpminfo perl-DirTree

# installed one from yum, same thing, return nothing
rpminfo perl-File-BaseDir

1 个答案:

答案 0 :(得分:0)

rpminfo永远不会用于perl 最适用于c / c ++等 我的rpmbuild没有任何问题 这是代码块

READELF=/usr/bin/readelf
EU_READELF=/usr/bin/eu-readelf
OBJDUMP=/usr/bin/objdump
TMPDIR=/tmp

progname=`basename $0`