From c21655a9c11e5e705581126bf9ec38e023b6cadc Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Thu, 29 Apr 2010 03:29:27 +0000 Subject: [PATCH 1/1] fix the build --- util-vserver.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/util-vserver.spec b/util-vserver.spec index 29596ce..8d9b684 100644 --- a/util-vserver.spec +++ b/util-vserver.spec @@ -50,7 +50,7 @@ BuildRequires: e2fsprogs-devel e2fsprogs %{!?_without_beecrypt:BuildRequires: beecrypt-devel} %{?_without_beecrypt:BuildRequires: nss-devel} BuildRequires: e2fsprogs -#%%{!?_without_doc:BuildRequires: doxygen tetex-latex} +%{!?_without_doc:BuildRequires: doxygen tetex-latex} %{!?_without_python:BuildRequires: python python-devel ctags} Requires(post): %name-core Requires(pre): %pkglibdir @@ -195,6 +195,7 @@ Linux-VServer API from Python. %prep %setup -q -n %name-%fullver %patch1 -p0 +autoreconf -fi %build %configure --with-initrddir=%_initrddir --enable-release \ @@ -204,7 +205,7 @@ Linux-VServer API from Python. %{?_without_python:--without-python} %__make %{?_smp_mflags} all -#%%{!?_without_doc:%__make %{?_smp_mflags} doc} +%{!?_without_doc:%__make %{?_smp_mflags} doc} %install @@ -382,8 +383,8 @@ test "$1" = 0 || %_initrddir/rebootmgr condrestart >/dev/null || : %files devel -f %name-devel.list %defattr(-,root,root,-) -#%%{!?_without_doc:%doc lib/apidoc/latex/refman.pdf} -#%%{!?_without_doc:%doc lib/apidoc/html} +%{!?_without_doc:%doc lib/apidoc/latex/refman.pdf} +%{!?_without_doc:%doc lib/apidoc/html} %files python -- 2.43.0