Only install manpages through make install

Other documentation are installed with %doc in Files section.
This commit is contained in:
Xavier Delaruelle 2021-02-15 22:53:03 +01:00
parent 756769f74d
commit b59f759fc8

View File

@ -80,10 +80,11 @@ This package provides Environment Modules compatibility version (3.2).
--etcdir=%{_sysconfdir}/%{name} \
--bindir=%{_datadir}/Modules/bin \
--libexecdir=%{_datadir}/Modules/libexec \
--docdir=%{_docdir}/%{name} \
--mandir=%{_mandir} \
--vimdatadir=%{vimdatadir} \
--enable-multilib-support \
--enable-compat-version \
--disable-doc-install \
--enable-dotmodulespath \
--disable-set-shell-startup \
--with-python=/usr/bin/python3 \
@ -122,7 +123,6 @@ mv {doc/build/,}MIGRATING.txt
mv {doc/build/,}CONTRIBUTING.txt
mv {doc/build/,}diff_v3_v4.txt
mv {doc/,}example.txt
rm -f %{buildroot}%{_docdir}/%{name}/{COPYING.GPLv2,ChangeLog-compat,INSTALL{,-win}.txt,NEWS-compat}
cp -p script/createmodule.sh %{buildroot}%{_datadir}/Modules/bin