From b59f759fc834fd62ed764e0a4df92465748acbf9 Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Mon, 15 Feb 2021 22:53:03 +0100 Subject: [PATCH] Only install manpages through make install Other documentation are installed with %doc in Files section. --- environment-modules.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/environment-modules.spec b/environment-modules.spec index 2f97015..3c55667 100644 --- a/environment-modules.spec +++ b/environment-modules.spec @@ -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