【发布时间】:2017-01-13 16:08:03
【问题描述】:
我一直在尝试使用规范文件创建 rpm。我想使用 github 代码。我提供 Source0: as http://github.com/some_project.tat.gz,但它正在下载它,它正在 /root/rpmbuild/SOURCES 中寻找 tat.gz。
我希望我的规范文件从 git 下载源代码,而不是从 SOURCE 目录中获取它。知道我该怎么做吗?我需要在规范文件中添加一些其他选项吗?
TIA。
【问题讨论】: