diff --git a/gsm.spec b/gsm.spec index 55fff71..f7907b9 100644 --- a/gsm.spec +++ b/gsm.spec @@ -67,7 +67,7 @@ export LDFLAGS="%{?__global_ldflags}" export LDFLAGS="%{?__global_ldflags}" mkdir -p %{buildroot}{%{_bindir},%{_includedir}/gsm,%{_libdir},%{_mandir}/{man1,man3}} -make install \ +%make_install \ INSTALL_ROOT=%{buildroot}%{_prefix} \ GSM_INSTALL_INC=%{buildroot}%{_includedir}/gsm \ GSM_INSTALL_LIB=%{buildroot}%{_libdir} \ @@ -83,7 +83,7 @@ echo ".so toast.1" > %{buildroot}%{_mandir}/man1/untoast.1 # This is to ensure that the patch creates the proper library version. [ -f %{buildroot}%{_libdir}/libgsm.so.%{version} ] export LDFLAGS="%{?__global_ldflags}" -make addtst +%{__make} addtst %ldconfig_scriptlets