Use %make_build and %make_install
This commit is contained in:
parent
b3f77696e1
commit
85247383dc
@ -46,11 +46,10 @@ echo '#!/bin/bash -l
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-fuse --enable-pixman
|
%configure --enable-fuse --enable-pixman
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__rm} -rf %{buildroot}
|
%make_install
|
||||||
%{__make} install DESTDIR=%{buildroot}
|
|
||||||
|
|
||||||
#install sesman pam config /etc/pam.d/xrdp-sesman
|
#install sesman pam config /etc/pam.d/xrdp-sesman
|
||||||
%{__install} -Dp -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/xrdp-sesman
|
%{__install} -Dp -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/xrdp-sesman
|
||||||
|
Loading…
Reference in New Issue
Block a user