请指教为什么我得到错误“错误:许可证字段必须出现在包:(主要包)”
我需要创buildrpm文件,
我只有specs下的spec文件
和SOURCES下的test.sh脚本
这里有什么问题?
[root@linux /usr/src/redhat]# ls BUILD RPMS SOURCES SPECS SRPMS
spec文件:
Summary: An example tool. To show a simple rpm build of the tool. Name: test.sh Version: 6.2 Release: 2 Source:/root/test.sh Group: Development/Debuggers BuildRoot:/var/tmp/test.sh %description # rpm -ba my_spec.spec error: License field must be present in package: (main package) # ls ../SOURCES/ test.sh
在黑暗中狂野的拍摄…你有没有尝试添加像这样的东西:
License: OtherLicense
%description之前?