Pass -p 1 to %autosetup
This means that the first component of the path is stripped when applying patches. This is needed so that patches created by git can be applied. Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
This commit is contained in:
parent
a5f1fa9914
commit
66b983ca0d
@ -404,7 +404,7 @@ end
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{commit}
|
%autosetup -p 1 -n %{name}-%{commit}
|
||||||
tar -C policy/modules/contrib -xf %{SOURCE35}
|
tar -C policy/modules/contrib -xf %{SOURCE35}
|
||||||
|
|
||||||
mkdir selinux_config
|
mkdir selinux_config
|
||||||
|
Loading…
Reference in New Issue
Block a user