Skip to content
Merged
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
8 changes: 8 additions & 0 deletions content/docs/rpm/macros.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,14 @@ Parameterized as `%autosetup(a:b:cCDn:TvNS:p:)`:
- `-T`: disable unpacking `%SOURCE0`
- `-v`: verbose. If specified, `%autosetup` will omit the `-q` argument to [`%setup`](#setup)
- `-S <…>`: specify the SCM, equivalent to `%global __scm …` then `%__scm_setup_git` (replace `git` with the argument). With this argument, the specified SCM will be set up in the uncompressed directory
- Supported SCMs:
- git
- hg (for mercurial)
- bzr
- quilt
- patch
- git_am
- gendiff
- `-N`: do not run [`%autopatch …`](#autopatch)

This is actually a wrapper around [`%setup`](#setup) and [`%autopatch …`](#autopatch).
Expand Down
Loading