Ignore:
Timestamp:
Mar 30, 2013, 2:28:14 AM (13 years ago)
Author:
dmik
Message:

mercurial: Disable building man docs due to missing python-docutils.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/mercurial.spec

    r345 r346  
    8787
    8888%build
    89 make SHELL=sh all
     89# Building docs is broken due to missing python-docutils package, skip this step
     90#make SHELL=sh all
     91make SHELL=sh build
    9092
    9193%install
    9294rm -rf $RPM_BUILD_ROOT
    9395%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT --prefix %{_prefix} --record=%{name}.files
    94 make install-doc SHELL=sh DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
     96# As we can't build docs (see above) disable it for now (only affects man)
     97#make install-doc SHELL=sh DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
    9598
    9699grep -v 'hgk.py*' < %{name}.files > %{name}-base.files
     
    146149%defattr(-,root,root,-)
    147150%doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html *.cgi contrib/*.fcgi
    148 %doc %attr(644,root,root) %{_mandir}/man?/hg*
     151# As we can't build docs (see above) disable it for now (only affects man)
     152#%doc %attr(644,root,root) %{_mandir}/man?/hg*
    149153%doc %attr(644,root,root) contrib/*.svg contrib/sample.hgrc
    150154%{_sysconfdir}/bash_completion.d/mercurial.sh
Note: See TracChangeset for help on using the changeset viewer.