[libXcm] Fix doc installation

Nicolas Chauvet kwizart at fedoraproject.org
Sat Mar 10 17:36:24 UTC 2012


commit 08ceb78bd0e0dd04ddeb3cfa624ca1efff549943
Author: Nicolas Chauvet <kwizart at gmail.com>
Date:   Sat Mar 10 18:36:01 2012 +0100

    Fix doc installation

 libXcm.spec |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/libXcm.spec b/libXcm.spec
index c6ee426..9d0a5b6 100644
--- a/libXcm.spec
+++ b/libXcm.spec
@@ -49,12 +49,6 @@ make %{?_smp_mflags}
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
-#Remove installed doc
-rm -rf $RPM_BUILD_ROOT%{_docdir}
-
-#Fix timestamp to prevent multilibs conflict
-touch -r ChangeLog doc/html/*
-
 
 %post -p /sbin/ldconfig
 
@@ -68,8 +62,7 @@ touch -r ChangeLog doc/html/*
 
 %files devel
 %defattr(-,root,root,-)
-%doc docs/net-color-spec
-%doc doc/html
+%doc docs/*.txt
 %dir %{_includedir}/X11/Xcm
 %{_includedir}/X11/Xcm/*.h
 %{_libdir}/*.so


More information about the scm-commits mailing list