Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ Requires:
%changelog
```

其他情况可以按照 A-Z 的顺序排列。

段落与段落之间必须用空行隔开。

### 最小骨架示例

TODO
Expand Down Expand Up @@ -234,6 +238,7 @@ Source1: https://example.org/example-%{version}-additional.tar.gz
- `meson`
- `golang`
- `golangmodules`
- `pyproject`

3. 当软件包不适用上述类型或不需要配置阶段时,`BuildSystem` 可以为空,但必须以注释说明原因。

Expand Down Expand Up @@ -275,6 +280,13 @@ Source1: https://example.org/example-%{version}-additional.tar.gz

4. 若使用 `BuildOption`,其位置应当位于 `BuildSystem` 与 `BuildRequires` 之间。

5. `BuildOption` 应当按照如下顺序书写:
```
%build
%install
%check
```

### BuildRequires

1. `BuildRequires` 必须列出构建期依赖。
Expand Down