次のrpm "%prep"ステップは何をしますか?

次のrpm

仮説

Source0:        %{gnu_download_url}/coreutils/coreutils-%{version}.tar.gz
Source1:        mk7distro.tar.bz2
Patch0:         hostutils.patch.bz2

%prep誰かがRPM仕様ファイルセクションで次のコマンドの機能を教えてもらえますか?

%setup -q -n %{name} -c -a 1

ベストアンサー1

それソースコード解凍マクロ:

the %setup macro is used to unpack the original sources, in preparation for the
build. In its simplest form, the macro is used with no options and gets the name
of the source archive from the source tag specified earlier in the spec file.

おすすめ記事