From: Jakub Narebski Date: Fri, 1 Jun 2007 16:24:07 +0000 (+0200) Subject: Remove PDF version of manual from being build and installed X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1f84ca3dff6138846552e08f70c0ead5721d0bcd;p=tig.git Remove PDF version of manual from being build and installed Because PDF version of "The tig Manual" doesn't offer anything new that is not present in HTML version, and building PDF requires additional tools (docbook2pdf) and their dependencies present, remove it from tig rpm. Signed-off-by: Jakub Narebski Signed-off-by: Jonas Fonseca --- diff --git a/tig.spec.in b/tig.spec.in index 2ce6cdb..b7753fd 100644 --- a/tig.spec.in +++ b/tig.spec.in @@ -10,7 +10,7 @@ Group: Development/Tools Vendor: Jonas Fonseca URL: http://jonas.nitro.dk/tig/ Source: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz -BuildRequires: ncurses-devel%{!?_without_docs:, xmlto, asciidoc > 6.0.3, /usr/bin/docbook2pdf} +BuildRequires: ncurses-devel%{!?_without_docs:, xmlto, asciidoc > 6.0.3} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: git-core, ncurses @@ -31,7 +31,7 @@ Using it as a pager, it will display input from stdin and colorize it. CFLAGS="$RPM_OPT_FLAGS -DVERSION=tig-%{version}-%{release}" %{__make} %{_smp_mflags} \ prefix=%{_prefix} \ - all %{!?_without_docs: doc} + all %{!?_without_docs: doc-man doc-html} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT @@ -49,8 +49,11 @@ CFLAGS="$RPM_OPT_FLAGS -DVERSION=tig-%{version}-%{release}" %doc README COPYING INSTALL SITES BUGS TODO tigrc %{!?_without_docs: %{_mandir}/man1/*.1*} %{!?_without_docs: %{_mandir}/man5/*.5*} -%{!?_without_docs: %doc *.html *.pdf} +%{!?_without_docs: %doc *.html} %changelog +* Fri Jun 1 2007 Jakub Narebski +- Remove PDF version of manual from being build and installed + * Mon May 28 2007 Jakub Narebski - Initial tig spec file