Unify macro usage in install section

This commit is contained in:
Jan Staněk 2017-03-20 10:17:59 +01:00
parent b70a031518
commit 700bcc96d2

View File

@ -65,7 +65,7 @@ popd
%install %install
pushd %{archive_path} pushd %{archive_path}
# make install expects existing directory tree # make install expects existing directory tree
mkdir -m 0755 -p %{buildroot}%{_prefix}{/bin,/include} mkdir -m 0755 -p %{buildroot}{%{_bindir},%{_includedir}}
mkdir -m 0755 -p %{buildroot}{%{_libdir},%{_mandir}/man1} mkdir -m 0755 -p %{buildroot}{%{_libdir},%{_mandir}/man1}
make DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} mandir=%{_mandir} install make DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} mandir=%{_mandir} install
popd popd