%global subver %( s=`echo %fullver | grep -- - | sed 's/.*-/./'`; echo ${s:-.1} )
%global release %( echo %subver | sed -e 's,\.,,' )
+%global _without_doc 1
# Mandriva does funky stuff that break us.
%if %{?mandriva_release:1}%{!?mandriva_release:0}
%build
-make -f Makefile.svn
+# could not reproduce the same trick as for 2926
+# see log for a843358da4e3f1e894dcf2efc5f5db22d5b4739f
+#
+#make -f Makefile.svn
%configure --with-initrddir=%_initrddir --enable-release \
%{?_without_dietlibc:--disable-dietlibc} \
%{?_with_legacy:--enable-apis=NOLEGACY} \
--with-initscripts=sysv \
- %{?_without_python:--without-python}
+ %{?_without_python:--without-python} \
+ --without-doc
%__make %{?_smp_mflags} all
%{!?_without_doc:%__make %{?_smp_mflags} doc}
# ChangeLog not in the svn tree, make is helpless to recreate...
#%doc AUTHORS COPYING ChangeLog NEWS README THANKS
%doc AUTHORS COPYING NEWS README THANKS
-%doc doc/*.html doc/*.css
+#%doc doc/*.html doc/*.css
+%doc doc/*.css
%dir %confdir
%dir %confdefaultdir
%dir %confdefaultdir/apps