removed the subdirs under /usr/share/doc/ as well
authordavelam
Mon, 22 Sep 2008 09:28:26 +0000
changeset 13717 3e8a0e755d62
parent 13716 f956bdb1a19e
child 13718 294b96766a1c
removed the subdirs under /usr/share/doc/ as well
ChangeLog
SUNWgnome-a11y-libs.spec
--- a/ChangeLog	Mon Sep 22 08:40:53 2008 +0000
+++ b/ChangeLog	Mon Sep 22 09:28:26 2008 +0000
@@ -1,7 +1,7 @@
 2008-09-22  Dave Lin  <[email protected]>
 
 	* SUNWgnome-a11y-libs.spec: Removed the empty dir /usr/share/doc/gnome-mag* in 
-	  %install section.	
+	  %install section, and removed the subdirs as well.
 	
 2008-09-22  Jeff Cai<[email protected]>
 
--- a/SUNWgnome-a11y-libs.spec	Mon Sep 22 08:40:53 2008 +0000
+++ b/SUNWgnome-a11y-libs.spec	Mon Sep 22 09:28:26 2008 +0000
@@ -134,6 +134,8 @@
 find $RPM_BUILD_ROOT -name '*.pyo' -exec rm {} \;
 
 # Remove empty dir
+rmdir $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*/reference/html
+rmdir $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*/reference
 rmdir $RPM_BUILD_ROOT%{_datadir}/doc/gnome-mag-*
 
 %if %build_l10n