use %make_install
This commit is contained in:
parent
366e8990c9
commit
c8d98a94f3
@ -43,7 +43,7 @@ make %{?_smp_mflags} prefix=%{_prefix}
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot} prefix=%{_prefix}
|
%make_install prefix=%{_prefix}
|
||||||
# %%doc will be used in %%files to pull in the documentation
|
# %%doc will be used in %%files to pull in the documentation
|
||||||
rm -rf %{buildroot}/%{_datadir}/doc/%{name}
|
rm -rf %{buildroot}/%{_datadir}/doc/%{name}
|
||||||
# remove executable permissions on man pages
|
# remove executable permissions on man pages
|
||||||
|
Loading…
Reference in New Issue
Block a user