diff --git a/python-cmd2.spec b/python-cmd2.spec index 29c97f5..ec5199f 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -69,7 +69,9 @@ Drop-in replacement adds several features for command-prompt tools: %prep %setup -q -n cmd2-%{version} +%if 0%{?sle_version} == 150000 && 0%{?is_opensuse} %patch0 -p1 +%endif # Fix non-executable-script sed -i -e '/^#!\//, 1d' cmd2/cmd2.py # Fix spurious-executable-perm