[antlr3/f16] - Fix wrong man page references (see BZ#855619)

Miloš Jakubíček mjakubicek at fedoraproject.org
Sun Sep 9 15:58:53 UTC 2012


commit 1bcd6f8691bf1ca20c9e1f0fbd235595ed340d9b
Author: Milos Jakubicek <xjakub at fi.muni.cz>
Date:   Sun Sep 9 17:58:33 2012 +0200

    - Fix wrong man page references (see BZ#855619)

 antlr3.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/antlr3.spec b/antlr3.spec
index 4dbbfc5..6e7d634 100644
--- a/antlr3.spec
+++ b/antlr3.spec
@@ -9,7 +9,7 @@
 Summary:			ANother Tool for Language Recognition
 Name:				antlr3
 Version:			%{antlr_version}
-Release:			17%{?dist}
+Release:			18%{?dist}
 URL:				http://www.antlr.org/
 Source0:			http://www.antlr.org/download/antlr-%{antlr_version}.tar.gz
 Source1:			http://www.antlr.org/download/C/libantlr3c-%{antlr_version}.tar.gz
@@ -261,6 +261,7 @@ pushd api/man/man3
 for file in `ls -1 * | grep -vi "^antlr3"`; do
 	mv $file antlr3-$file
 done
+sed -i -e 's,^\.so man3/pANTLR3,.so man3/antlr3-pANTLR3,' `grep -rl 'man3/pANTLR3' .`
 gzip *
 popd
 mv api/man/man3 $RPM_BUILD_ROOT%{_mandir}/
@@ -326,6 +327,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_javadir}/*gunit*.jar
 
 %changelog
+* Sun Sep 09 2012 Miloš Jakubíček <xjakub at fi.muni.cz> - 3.2-18
+- Fix wrong man page references (see BZ#855619)
+
 * Wed Feb 22 2012 Miloš Jakubíček <xjakub at fi.muni.cz> - 3.2-17
 - added BR: maven2
 


More information about the scm-commits mailing list