diff --git a/meson.changes b/meson.changes index 4b81c9f..064f40d 100644 --- a/meson.changes +++ b/meson.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 9 16:47:26 UTC 2016 - jengelh@inai.de + +- Avoid unnecessary bashism in %install script (run with /bin/sh) + ------------------------------------------------------------------- Sat May 7 07:12:54 UTC 2016 - sor.alexei@meowr.ru diff --git a/meson.spec b/meson.spec index 3b1711a..cdafc36 100644 --- a/meson.spec +++ b/meson.spec @@ -88,7 +88,7 @@ python3 setup.py install \ --root=%{buildroot} --prefix=%{_prefix} for file in %{buildroot}%{_bindir}/*.py; do - mv -f "$file" "${file/.py}" + mv -fv "$file" "${file%.py}" done install -Dm 0644 data/macros.%{name} %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name}