make it so %prep won't unpack Source0 twice
(cherry picked from commit c2b27f2cd02a11b00408b2c295c7f0716b6d7937)
This commit is contained in:
parent
63ee52de6c
commit
5ddad9198b
@ -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}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user