[gl-manpages] Fix symlinked man references some more (#895986)

Yanko Kaneti yaneti at fedoraproject.org
Wed Jan 16 14:55:11 UTC 2013


commit b67d8ca9611010f261f4af53f44b0b4cadea6b8b
Author: Yanko Kaneti <yaneti at declera.com>
Date:   Wed Jan 16 16:55:16 2013 +0200

    Fix symlinked man references some more (#895986)

 gl-manpages.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gl-manpages.spec b/gl-manpages.spec
index ecab20b..ead6f9e 100644
--- a/gl-manpages.spec
+++ b/gl-manpages.spec
@@ -2,7 +2,7 @@
 
 Name:           gl-manpages
 Version:        1.1
-Release:        3.%{codate}%{?dist}
+Release:        4.%{codate}%{?dist}
 Summary:        OpenGL manpages
 
 License:        MIT and Open Publication
@@ -51,8 +51,8 @@ cp -n {man4,man3,man}/*.3G $RPM_BUILD_ROOT%{_mandir}/man3/
 for MANP in `find gl-manpages-1.0.1 -name *.3gl` ; do
 	FN=${MANP//*\//}
 	cp -a -n $MANP $RPM_BUILD_ROOT%{_mandir}/man3/${FN/.3gl/.3G}
-	find $RPM_BUILD_ROOT%{_mandir}/man3/ -type f -size -100b | xargs sed -i -e 's/\.3gl/\.3G/'
 done
+find $RPM_BUILD_ROOT%{_mandir}/man3/ -type f -size -100b | xargs sed -i -e 's/\.3gl/\.3G/' -e 's,^\.so man3G/,.so man3/,'
 
 
 %files
@@ -60,6 +60,9 @@ done
 
 
 %changelog
+* Wed Jan 16 2013 Yanko Kaneti <yaneti at declera.com> - 1.1-4.%{codate}
+- Fix symlinked man references some more (#895986) 
+
 * Mon Oct 15 2012 Yanko Kaneti <yaneti at declera.com> - 1.1-3.%{codate}
 - Fix symlinked man variants. 
 - Preserve timestamps on the older gl-manpages.


More information about the scm-commits mailing list