Skip to content

Commit

Permalink
[skip] Fix SLE12 build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
m-czernek committed Mar 7, 2024
1 parent 3bb884a commit 822c994
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/salt.spec
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,8 @@ install -Dpm 0644 salt/cli/support/profiles/* %{buildroot}%{python3_sitelib}/sal
%if "%{flavor}" == "testsuite"
# Install Salt tests
install -Dd %{buildroot}%{python3_sitelib}/salt-testsuite
# SLE 12 is missing the `--no-backup-if-mismatch` patch option
find tests -name "*.orig" -exec rm {} \;
cp -a tests %{buildroot}%{python3_sitelib}/salt-testsuite/
# Remove runtests.py which is not used as deprecated method of running the tests
rm %{buildroot}%{python3_sitelib}/salt-testsuite/tests/runtests.py
Expand Down

0 comments on commit 822c994

Please sign in to comment.