Use %make_build and %make_install

This commit is contained in:
Pavel Roskin 2016-12-26 23:50:42 -08:00
parent b3f77696e1
commit 85247383dc

View File

@ -46,11 +46,10 @@ echo '#!/bin/bash -l
%build
%configure --enable-fuse --enable-pixman
%{__make} %{?_smp_mflags}
%make_build
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
%make_install
#install sesman pam config /etc/pam.d/xrdp-sesman
%{__install} -Dp -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/xrdp-sesman