From 2fdf5fa3909ec3e4d79727ed62992e3bac94c2aebf4d68ea27792e1ba36c6e6e Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 17 Oct 2017 19:41:27 +0000 Subject: [PATCH] - Replace shebang in executable by call to /usr/bin/python3, fixing rpmlint error OBS-URL: https://build.opensuse.org/package/show/utilities/mwic?expand=0&rev=5 --- mwic.changes | 5 +++++ mwic.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mwic.changes b/mwic.changes index 66e8ddd..9b0680e 100644 --- a/mwic.changes +++ b/mwic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 17 19:40:52 UTC 2017 - sebix+novell.com@sebix.at + +- Replace shebang in executable by call to /usr/bin/python3, fixing rpmlint error + ------------------------------------------------------------------- Mon Sep 25 20:14:44 UTC 2017 - sebix+novell.com@sebix.at diff --git a/mwic.spec b/mwic.spec index bfc5e3d..f0658cb 100644 --- a/mwic.spec +++ b/mwic.spec @@ -39,7 +39,7 @@ mwic is a spell-checker that groups possible misspellings and shows them in thei %setup -q %build -# not needed +sed -i '1s%^#!.*%#!/usr/bin/python3%' mwic %install make DESTDIR=%{buildroot} PREFIX=/usr -C doc