Don't apply the patch on old openSUSE
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=37
This commit is contained in:
parent
dbf2aebf86
commit
40f1f218e4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user