summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d8c9dc)
raw | patch | inline | side by side (parent: 1d8c9dc)
author | Pavel Roskin <proski@gnu.org> | |
Fri, 30 Jun 2006 05:09:26 +0000 (01:09 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 3 Jul 2006 00:14:44 +0000 (17:14 -0700) |
Otherwise, rpm would complain about unpacked files.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git.spec.in | patch | blob | history |
diff --git a/git.spec.in b/git.spec.in
index 8ccd2564e728efe13966c2c1fd3e1cb93ea583a6..b8feda325feed6778d99a1a2547f23303a39ff68 100644 (file)
--- a/git.spec.in
+++ b/git.spec.in
(find $RPM_BUILD_ROOT%{_bindir} -type f | grep -vE "arch|svn|cvs|email|gitk" | sed -e s@^$RPM_BUILD_ROOT@@) > bin-man-doc-files
%if %{!?_without_docs:1}0
(find $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/Documentation -type f | grep -vE "arch|svn|git-cvs|email|gitk" | sed -e s@^$RPM_BUILD_ROOT@@ -e 's/$/*/' ) >> bin-man-doc-files
+%else
+rm -rf $RPM_BUILD_ROOT%{_mandir}
%endif
%clean