diff --git a/lua53.spec b/lua53.spec index dbadc76..319a8f7 100644 --- a/lua53.spec +++ b/lua53.spec @@ -33,6 +33,8 @@ BuildRequires: libtool BuildRequires: lua-macros BuildRequires: pkgconfig BuildRequires: readline-devel +Requires(post): update-alternatives +Requires(postun): update-alternatives Provides: lua = %{version} Provides: Lua(API) = %{major_version} @@ -54,6 +56,8 @@ Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: %{name} = %{version} Requires: lua-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives Provides: lua-devel = %{version} Provides: Lua(devel) = %{major_version}