icefirejw 发表于 2004-10-19 17:13:37

关于rpmbuild的问题,望哪位达人帮忙,谢谢

我在用rpmbuild制作rpm包的时候遇到了这样的问题,信息如下:
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6 libc.so.6(GLIBC_2.0)
Processing files: hello-debuginfo-0.1-1
Provides: kiten.so.debug libbfd-2.13.90.0.18.so.debug libkdeeducore.so.1.0.0.debug libopcodes-2.13.90.0.18.so.debug
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot}
getOutputFrom(): 断开的管道

下面是我的spec文件,这是一个非常简单的测试文件,而tar包里就只有hello.c和readme,小弟要做rpm包很急,谢谢~~

Name: hello
Summary: Simple Example for RPM Building DEMO
Version: 0.1
Release: 1
Copyright: OpenSource
Group: Extensions/Chinese
Source: hello.tar.gz
Packager: arbour wang
%description
This package is used as a demo for rpm building only.
%changelog
*Tue Oct 19 2004 Arbour Wang
-build for the first time.
%prep
%setup
%build
make hello
%install
install -m 755 hello /usr/local/bin/hello
%files
%doc readme
/usr/local/bin/hello

MichaelBibby 发表于 2004-10-19 17:29:02

汗,俺不会build rpm包 :oops:

icefirejw 发表于 2004-10-20 16:34:49

阿?大哥,哪位达人会呀。。。。
页: [1]
查看完整版本: 关于rpmbuild的问题,望哪位达人帮忙,谢谢