Accepting request 395960 from home:jengelh:branches:devel:tools:building

- Avoid unnecessary bashism in %install script (run with /bin/sh)

OBS-URL: https://build.opensuse.org/request/show/395960
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=13
This commit is contained in:
Alexei Sorokin 2016-05-16 12:19:59 +00:00 committed by Git OBS Bridge
parent f4e1a40b9a
commit eaf178df36
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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}