RPM打包RPM文件为零?

时间:2015-04-28 13:35:17

标签: makefile rpmbuild

我做了RPM打包并通过rpmbuild -ba ***.spec获得了rpm文件和src.rpm文件。

但是,当我输入rpm -qi ***.rpm时。计算机屏幕显示rpm包的大小为零。此外,当我输入rpm -qa | grep ***(name of rpm file)等时,没有问题。发生了什么?有一个spec文件问题?

这是我的spec文件------------------------------------------

Summary : Spec file for making RPM file for ****!
Name : ***
Version : 0.0.1
Release : 1
Source : ***-0.0.1.tar.gz
Prefix : /rpm
Group : Applications/Engineering
License : ******
BuildRoot : /home/users/tmdcjf9119/rpm/tmp

%description
.....

%prep
%setup

%build


%install

make -> there is a makefile in source file and when i compiled with this makefile, objective file and execute(?!) file was made.

%files

0 个答案:

没有答案