diff --git a/lua53.changes b/lua53.changes index f081f49..2936d45 100644 --- a/lua53.changes +++ b/lua53.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 10 11:32:37 UTC 2017 - tchvatal@suse.com + +- Require lua macros rather than bundling them with lua itself + ------------------------------------------------------------------- Fri Jul 7 13:31:06 UTC 2017 - tchvatal@suse.com diff --git a/lua53.spec b/lua53.spec index 241ae4d..6f4f368 100644 --- a/lua53.spec +++ b/lua53.spec @@ -26,13 +26,13 @@ License: MIT Group: Development/Languages/Other Url: http://www.lua.org Source: http://www.lua.org/ftp/lua-%{version}.tar.gz -Source1: macros.lua -Source2: baselibs.conf +Source99: baselibs.conf # PATCH-FIX-SUSE tweak the buildsystem to produce what is needed for SUSE Patch0: lua-build-system.patch BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: readline-devel +BuildRequires: lua-macros Provides: lua = %{version} Provides: Lua(API) = %{major_version} @@ -53,6 +53,7 @@ Summary: Development files for lua Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: %{name} = %{version} +Requires: lua-macros Provides: lua-devel = %{version} Provides: Lua(devel) = %{major_version} @@ -122,7 +123,6 @@ make install \ V=%{major_version} \ INSTALL_TOP="%{buildroot}%{_prefix}" \ INSTALL_LIB="%{buildroot}%{_libdir}" -install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.lua find %{buildroot} -type f -name "*.la" -delete -print @@ -215,7 +215,6 @@ fi %{_libdir}/liblua.so.* %files devel -%config %{_sysconfdir}/rpm/macros.lua %dir %{_includedir}/lua%{major_version} %{_includedir}/lua%{major_version}/lauxlib.h %{_includedir}/lua%{major_version}/lua.h