Use %autosetup instead of %setup
This makes it easier to modify the spec to apply a patch for testing. The -q option is dropped, as it's the default for %autosetup: https://rpm-software-management.github.io/rpm/manual/autosetup.html#autosetup-options Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
This commit is contained in:
parent
c11eb88514
commit
a5f1fa9914
@ -404,7 +404,7 @@ end
|
||||
%build
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{commit} -q
|
||||
%autosetup -n %{name}-%{commit}
|
||||
tar -C policy/modules/contrib -xf %{SOURCE35}
|
||||
|
||||
mkdir selinux_config
|
||||
|
Loading…
Reference in New Issue
Block a user