From: Jakub Narebski Date: Fri, 1 Jun 2007 16:27:30 +0000 (+0200) Subject: Include documentation sources for rpmbuild with '--without docs' X-Git-Tag: tig-0.8~12^2~1 X-Git-Url: https://git.distorted.org.uk/~mdw/tig/commitdiff_plain/22eb36aa18ae5bf94d7a3ff852cab9ccdc40b930?hp=1f84ca3dff6138846552e08f70c0ead5721d0bcd Include documentation sources for rpmbuild with '--without docs' This includes _all_ documentation sources (and not only manual.txt) in the rpm file build with '--without docs' option. Signed-off-by: Jakub Narebski Signed-off-by: Jonas Fonseca --- diff --git a/tig.spec.in b/tig.spec.in index b7753fd..2385fb8 100644 --- a/tig.spec.in +++ b/tig.spec.in @@ -1,5 +1,5 @@ # -*- mode: rpm-spec-mode; encoding: utf-8; -*- -# Pass '--without docs' to rpmbuild if you don't want the documentation +# Pass '--without docs' to rpmbuild if you don't want the documentation to be build Summary: Tig: text-mode interface for git Name: tig @@ -50,9 +50,11 @@ CFLAGS="$RPM_OPT_FLAGS -DVERSION=tig-%{version}-%{release}" %{!?_without_docs: %{_mandir}/man1/*.1*} %{!?_without_docs: %{_mandir}/man5/*.5*} %{!?_without_docs: %doc *.html} +%{?_without_docs: %doc *.txt} %changelog * Fri Jun 1 2007 Jakub Narebski +- Include documentation sources for --without docs - Remove PDF version of manual from being build and installed * Mon May 28 2007 Jakub Narebski