diff --git a/erlang-cache_tab.spec b/erlang-cache_tab.spec index 0cfe561..abedb94 100644 --- a/erlang-cache_tab.spec +++ b/erlang-cache_tab.spec @@ -5,7 +5,7 @@ Name: erlang-cache_tab Version: 1.0.9 -Release: 2%{?dist} +Release: 3%{?dist} License: ASL 2.0 Summary: Erlang cache table application @@ -15,6 +15,8 @@ Source0: https://github.com/processone/cache_tab/archive/%{version}/%{srcname}-% BuildRequires: erlang-rebar BuildRequires: erlang-p1_utils >= 1.0.9 +%{?__erlang_nif_version:Requires: %{__erlang_nif_version}} + %description This application is intended to proxy back-end operations for Key-Value insert, @@ -33,7 +35,9 @@ can be defined as table parameters to limit the size of the in-memory tables. %install -install -p -D -m 644 ebin/* --target-directory=$RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/ebin +%{erlang_install} + +install -p -D -m 755 priv/lib/* --target-directory=%{buildroot}%{erlang_appdir}/priv/lib/ %check @@ -48,6 +52,9 @@ install -p -D -m 644 ebin/* --target-directory=$RPM_BUILD_ROOT%{_erllibdir}/%{sr %changelog +* Sun Oct 22 2017 Randy Barlow - 1.0.9-3 +- Install the shared objects and depend on erlang_nif (#1505170). + * Wed Aug 02 2017 Fedora Release Engineering - 1.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild