Use %autosetup to create directory in %_builddir

`%autosetup -T -c` creates an empty directory in %_builddir and changes
into it. It will also apply patches. This avoids clashes in %_builddir
and cleans up old files on rebuild.
epel9
Maxwell G 3 years ago
parent 7b44ba3328
commit c1d676596e
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

@ -74,6 +74,7 @@ packaged as golist.
%prep %prep
%autosetup -T -c
cp -a %{sources} . cp -a %{sources} .

Loading…
Cancel
Save