packages: graphviz/graphviz.spec - fix dir ownership problem in doc package...

glen glen at pld-linux.org
Thu Jun 3 20:08:52 CEST 2010


Author: glen                         Date: Thu Jun  3 18:08:52 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix dir ownership problem in doc packages; rel 2

---- Files affected:
packages/graphviz:
   graphviz.spec (1.112 -> 1.113) 

---- Diffs:

================================================================
Index: packages/graphviz/graphviz.spec
diff -u packages/graphviz/graphviz.spec:1.112 packages/graphviz/graphviz.spec:1.113
--- packages/graphviz/graphviz.spec:1.112	Thu Jun  3 15:38:32 2010
+++ packages/graphviz/graphviz.spec	Thu Jun  3 20:08:47 2010
@@ -37,7 +37,7 @@
 Summary(pl.UTF-8):	Narzędzie do wizualizacji w postaci grafów
 Name:		graphviz
 Version:	2.26.3
-Release:	1
+Release:	2
 License:	CPL v1.0
 Group:		X11/Applications/Graphics
 Source0:	http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
@@ -395,6 +395,10 @@
 
 #patch -p1 < %{PATCH2} || exit 1
 
+rm -rf doc-html doc-pdf
+mv $RPM_BUILD_ROOT%{_datadir}/%{name}/doc/html doc-html
+mv $RPM_BUILD_ROOT%{_datadir}/%{name}/doc/pdf doc-pdf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -489,11 +493,11 @@
 
 %files doc-html
 %defattr(644,root,root,755)
-%doc %{_datadir}/%{name}/doc/html/*
+%doc doc-html/*
 
 %files doc-pdf
 %defattr(644,root,root,755)
-%doc %{_datadir}/%{name}/doc/pdf/*
+%doc doc-pdf/*
 
 %files graphs
 %defattr(644,root,root,755)
@@ -646,6 +650,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.113  2010/06/03 18:08:47  glen
+- fix dir ownership problem in doc packages; rel 2
+
 Revision 1.112  2010/06/03 13:38:32  glen
 - rel 1 (rest can wait i suppose according to package interest)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/graphviz/graphviz.spec?r1=1.112&r2=1.113&f=u



More information about the pld-cvs-commit mailing list