From e6279a194168baf6152c6c297674b3e0009db553 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Mon, 28 Jun 2010 10:23:46 +0000 Subject: [PATCH] install man pages from all sections --- dovecot.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dovecot.spec b/dovecot.spec index 060ec60..67495e4 100644 --- a/dovecot.spec +++ b/dovecot.spec @@ -172,7 +172,10 @@ make install DESTDIR=$RPM_BUILD_ROOT popd pushd dovecot-2-0-man-%{mansnap}/doc/man -install -D -m644 *.1 $RPM_BUILD_ROOT%{_mandir}/man1/ +for f in `find . -regex '.*\.[12345678]$'` +do + install -D -m644 $f $RPM_BUILD_ROOT%{_mandir}/man${f##*.}/$f +done popd #move doc dir back to build dir so doc macro in files section can use it @@ -344,6 +347,7 @@ make check %{_mandir}/man1/dovecot*.1.gz %{_mandir}/man1/dsync.1.gz %{_mandir}/man5/dovecot.conf.5.gz +%{_mandir}/man7/doveadm-search-query.7.gz %files devel %defattr(-,root,root,-)