From b0aca1186b541cdfc9561f1e0d958513af5024aa6d078a222ed725d39f0f8169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sat, 2 Jul 2011 19:57:45 +0000 Subject: [PATCH] - Fix manpage generation (bnc #703591) OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=48 --- llvm.changes | 5 +++++ llvm.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/llvm.changes b/llvm.changes index d8092fc..01b1fe1 100644 --- a/llvm.changes +++ b/llvm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 2 19:31:38 UTC 2011 - idonmez@novell.com + +- Fix manpage generation (bnc #703591) + ------------------------------------------------------------------- Sun Jun 5 14:39:53 UTC 2011 - idonmez@novell.com diff --git a/llvm.spec b/llvm.spec index 0ba6657..fba60ea 100644 --- a/llvm.spec +++ b/llvm.spec @@ -50,7 +50,6 @@ BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc BuildRequires: gcc-c++ -BuildRequires: groff BuildRequires: libtool BuildRequires: openSUSE-release BuildRequires: python-devel @@ -242,7 +241,7 @@ mv utils/vim/README utils/vim/README.vim install -m 755 -d %{buildroot}%{_mandir}/man1 for i in docs/CommandGuide/*.pod tools/clang/docs/tools/*.pod; do page=`echo $i|awk -F"/" '{print $(NF)}'|sed s,.pod,,` && - groff -Tps -man $i > %{buildroot}%{_mandir}/man1/$page.1; + pod2man -s1 $i %{buildroot}%{_mandir}/man1/$page.1; done # Remove gtest library