[wesnoth] Fix man pages.

Jon Ciesla limb at fedoraproject.org
Mon Feb 4 16:22:26 UTC 2013


commit 04e75e19a5dff8ab058df1a2b863160fbad3bff0
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Mon Feb 4 10:19:29 2013 -0600

    Fix man pages.

 wesnoth.spec |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/wesnoth.spec b/wesnoth.spec
index 91fa00e..73210fc 100644
--- a/wesnoth.spec
+++ b/wesnoth.spec
@@ -3,7 +3,7 @@
 
 Name:           wesnoth
 Version:        1.10.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Turn-based strategy game with a fantasy theme
 
 Group:          Amusements/Games
@@ -192,19 +192,18 @@ rm CMakeLists.txt
 #rm cmake_install.cmake
 #rm -rf CMakeFiles/
 #rm Makefile
-mv *.6 $RPM_BUILD_ROOT/%{_mandir}/man6/
-for i in *; do
-	pushd $i
-	mkdir man6
+#mv *.6 $RPM_BUILD_ROOT/%{_mandir}/man6/
+for i in */; do
+	mkdir $i/man6
 	if [ -f "*.6" ]; then
-		mv *.6 man6/
+		mv *.6 $i/man6/
 	fi
-	popd
 done
 popd
 popd
 
-cp -pr doc/man/*/ $RPM_BUILD_ROOT/%{_mandir}
+cp -pr doc/man/* $RPM_BUILD_ROOT/%{_mandir}
+find $RPM_BUILD_ROOT/%{_mandir} -name '*.6'  | xargs gzip
 
 %find_lang %{name}*.\*
 
@@ -348,6 +347,9 @@ fi
 #%endif
 
 %changelog
+* Fri Feb 01 2013 Jon Ciesla <limburgher at gmail.com> - 1.10.5-3
+- Fin man page locations, BZ 905379.
+
 * Tue Nov 20 2012 Jon Ciesla <limburgher at gmail.com> - 1.10.5-2
 - Switched from cmake to scons to fix build issue.
 


More information about the scm-commits mailing list