use %make_install

This commit is contained in:
Ben Boeckel 2015-08-02 12:58:49 -04:00
parent 366e8990c9
commit c8d98a94f3

View File

@ -43,7 +43,7 @@ make %{?_smp_mflags} prefix=%{_prefix}
%install
make install DESTDIR=%{buildroot} prefix=%{_prefix}
%make_install prefix=%{_prefix}
# %%doc will be used in %%files to pull in the documentation
rm -rf %{buildroot}/%{_datadir}/doc/%{name}
# remove executable permissions on man pages