Accepting request 761849 from home:EGDFree:branches:games

really fix rpmlint warning: non-executable-script

OBS-URL: https://build.opensuse.org/request/show/761849
OBS-URL: https://build.opensuse.org/package/show/games/supertuxkart?expand=0&rev=89
This commit is contained in:
2020-01-08 16:02:00 +00:00
committed by Git OBS Bridge
parent b46332e4ad
commit 7c078d1b2a

View File

@@ -89,6 +89,11 @@ find -name '*~' -delete -print
find -name '.git*' -type f -delete -print
rm -rfv ./.github
# fix W: non-executable-script
rm data/optimize_data.sh
rm data/po/pull_from_transifex.sh
rm data/po/update_po_authors.py
%build
mkdir build && cd build
# NOTE that %%cmake macro breaks linking.
@@ -103,11 +108,6 @@ cmake .. \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
make V=1 %{?_smp_mflags}
# fix W: non-executable-script
rm -f %{buildroot}%{_datadir}/supertuxkart/data/optimize_data.sh
rm -f %{buildroot}%{_datadir}/supertuxkart/data/po/pull_from_transifex.sh
rm -f %{buildroot}%{_datadir}/supertuxkart/data/po/update_po_authors.py
%install
%cmake_install