From 22eb36aa18ae5bf94d7a3ff852cab9ccdc40b930 Mon Sep 17 00:00:00 2001 From: Jakub Narebski Date: Fri, 1 Jun 2007 18:27:30 +0200 Subject: [PATCH] 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 --- tig.spec.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2