forked from pool/meson
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:
parent
f4e1a40b9a
commit
eaf178df36
@ -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
|
Sat May 7 07:12:54 UTC 2016 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ python3 setup.py install \
|
|||||||
--root=%{buildroot} --prefix=%{_prefix}
|
--root=%{buildroot} --prefix=%{_prefix}
|
||||||
|
|
||||||
for file in %{buildroot}%{_bindir}/*.py; do
|
for file in %{buildroot}%{_bindir}/*.py; do
|
||||||
mv -f "$file" "${file/.py}"
|
mv -fv "$file" "${file%.py}"
|
||||||
done
|
done
|
||||||
install -Dm 0644 data/macros.%{name} %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name}
|
install -Dm 0644 data/macros.%{name} %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user