[packages/adapter: 321/631] - no %doc for %{_mandir} (it's automatic by rpm)

glen glen at pld-linux.org
Mon Sep 12 20:01:21 CEST 2016


commit f158eddce8bf3402a5fc2ddb8b12e2955ec935ae
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu May 25 15:58:13 2006 +0000

    - no %doc for %{_mandir} (it's automatic by rpm)
    
    Changed files:
        adapter.awk -> 1.309

 adapter.awk | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 1b898a5..21dfa4b 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1284,6 +1284,8 @@ function use_files_macros(	i, n, t, a)
 		return;
 	}
 
+	sub("^%doc %{_mandir}", "%{_mandir}")
+
 	gsub("^%{_sbindir}", "%attr(755,root,root) %{_sbindir}")
 	gsub("^%{_bindir}", "%attr(755,root,root) %{_bindir}")
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list