lua51/macros.lua
Stephan Kulow ad3cafe2f3 Accepting request 175827 from devel:languages:misc
- move rpm macros back, but install it in /etc/rpm/macros.lua51
  and call lua5.1 in %lua_version definition

- move the lua rpm macros to the devel package to avoid conflict 
  with lua 5.2

- Added url as source.
  Please see http://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/175827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua51?expand=0&rev=8
2013-05-16 14:14:08 +00:00

11 lines
276 B
Lua

# RPM macros for Lua
# The major.minor version of Lua
%lua_version %(lua5.1 -e 'print(_VERSION)' | cut -d ' ' -f 2)
# compiled modules should go here
%lua_archdir %{_libdir}/lua/%{lua_version}
# pure Lua modules should go here
%lua_noarchdir %{_datadir}/lua/%{lua_version}