SHA256
1
0
forked from pool/rrdtool

Accepting request 512261 from home:dimstar:Factory

- Only move the lua bindings from /usr/local when needed: this was
  generally only a hack as our lua.pc 'forgot' to expose the
  variables INSTALL_CMOD. As lua is now being fixed, this hack is
  no longer needed (for compatibility with older/broken lua
  packages we keep it in place, but don't abort if the move
  failed).

OBS-URL: https://build.opensuse.org/request/show/512261
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/rrdtool?expand=0&rev=77
This commit is contained in:
Dirk Mueller 2017-07-24 18:53:36 +00:00 committed by Git OBS Bridge
parent df269f9318
commit f228d263c8
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Jul 24 12:14:04 UTC 2017 - dimstar@opensuse.org
- Only move the lua bindings from /usr/local when needed: this was
generally only a hack as our lua.pc 'forgot' to expose the
variables INSTALL_CMOD. As lua is now being fixed, this hack is
no longer needed (for compatibility with older/broken lua
packages we keep it in place, but don't abort if the move
failed).
-------------------------------------------------------------------
Mon Jul 3 11:22:55 UTC 2017 - tchvatal@suse.com

View File

@ -270,8 +270,8 @@ make \
%perl_process_packlist
%if %{with lua}
# install ruby bindings manually
mv %{buildroot}%{_prefix}/local/lib/lua %{buildroot}%{_libdir}/lua
# Move lua lib to the right point, in case lua did not expose the right INSTALL_CMOD variable
mv %{buildroot}%{_prefix}/local/lib/lua %{buildroot}%{_libdir}/lua || true
%endif
%if %{with ruby}