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:
Ondrej Mosnáček 2023-01-24 14:24:00 +01:00
parent a5f1fa9914
commit 66b983ca0d
No known key found for this signature in database
GPG Key ID: BDE08B7A0C57B343

View File

@ -404,7 +404,7 @@ end
%build
%prep
%autosetup -n %{name}-%{commit}
%autosetup -p 1 -n %{name}-%{commit}
tar -C policy/modules/contrib -xf %{SOURCE35}
mkdir selinux_config