rpms/dovecot/devel dovecot.spec,1.191,1.192

Michal Hlavinka mhlavink at fedoraproject.org
Mon Jun 28 10:23:46 UTC 2010


Author: mhlavink

Update of /cvs/pkgs/rpms/dovecot/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26975

Modified Files:
	dovecot.spec 
Log Message:
install man pages from all sections



Index: dovecot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dovecot/devel/dovecot.spec,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -p -r1.191 -r1.192
--- dovecot.spec	28 Jun 2010 09:53:19 -0000	1.191
+++ dovecot.spec	28 Jun 2010 10:23:46 -0000	1.192
@@ -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,-)



More information about the scm-commits mailing list