make it so %prep won't unpack Source0 twice

(cherry picked from commit c2b27f2cd02a11b00408b2c295c7f0716b6d7937)
This commit is contained in:
Dusty Mabe 2018-06-26 11:58:00 -04:00
parent 63ee52de6c
commit 5ddad9198b
No known key found for this signature in database
GPG Key ID: 3302DBD73952E671

View File

@ -319,8 +319,9 @@ initramfs on boot.
############## end dracut subpackage ############## ############## end dracut subpackage ##############
%prep %prep
# setup command reference: http://ftp.rpm.org/max-rpm/s1-rpm-inside-macros.html
# unpack source0 and apply patches # unpack source0 and apply patches
%setup -q -n %{repo}-%{commit} %setup -T -b 0 -q -n %{repo}-%{commit}
# unpack source1 (dracut modules) # unpack source1 (dracut modules)
%setup -T -D -a 1 -q -n %{repo}-%{commit} %setup -T -D -a 1 -q -n %{repo}-%{commit}