diff --git a/antlr3.spec b/antlr3.spec index 9e86cca..6e7d634 100644 --- a/antlr3.spec +++ b/antlr3.spec @@ -9,7 +9,7 @@ Summary: ANother Tool for Language Recognition Name: antlr3 Version: %{antlr_version} -Release: 15%{?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 @@ -40,6 +40,7 @@ BuildRequires: tomcat6-servlet-2.5-api BuildRequires: tomcat6 BuildRequires: stringtemplate >= 3.2 BuildRequires: felix-parent +BuildRequires: maven2 %if ! %{with_bootstrap} BuildRequires: antlr3-tool >= 3.2 %endif @@ -248,7 +249,8 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_bindir}/antlr3 # install python runtime pushd antlr_python_runtime-%{python_runtime_version} -%{__python} setup.py install -O1 --skip-build --root %{buildroot} +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +chmod a+x $RPM_BUILD_ROOT%{python_sitelib}/antlr_python_runtime-* popd # install C runtime @@ -259,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}/ @@ -324,6 +327,15 @@ rm -rf $RPM_BUILD_ROOT %{_javadir}/*gunit*.jar %changelog +* Sun Sep 09 2012 Miloš Jakubíček - 3.2-18 +- Fix wrong man page references (see BZ#855619) + +* Wed Feb 22 2012 Miloš Jakubíček - 3.2-17 +- added BR: maven2 + +* Wed Feb 22 2012 Miloš Jakubíček - 3.2-16 +- Fix permissions for egg-info dir (fixes BZ#790499) + * Fri Sep 09 2011 Dan Horák - 3.2-15 - fix build on other arches