我做了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