From 7ea5eb1b866d7c1c623b44566e1fcb775ecfc983 Mon Sep 17 00:00:00 2001 From: Milos Jakubicek Date: Wed, 22 Feb 2012 18:55:17 +0100 Subject: [PATCH 1/3] - Fix permissions for egg-info dir (fixes BZ#790499) --- antlr3.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/antlr3.spec b/antlr3.spec index 9e86cca..a19e5dd 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: 16%{?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 @@ -248,7 +248,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 @@ -324,6 +325,9 @@ rm -rf $RPM_BUILD_ROOT %{_javadir}/*gunit*.jar %changelog +* 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 From 990f5c449ecd6f70620141ef51ea0ee37f4f36b4 Mon Sep 17 00:00:00 2001 From: Milos Jakubicek Date: Wed, 22 Feb 2012 22:13:52 +0100 Subject: [PATCH 2/3] - added BR: maven2 --- antlr3.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/antlr3.spec b/antlr3.spec index a19e5dd..4dbbfc5 100644 --- a/antlr3.spec +++ b/antlr3.spec @@ -9,7 +9,7 @@ Summary: ANother Tool for Language Recognition Name: antlr3 Version: %{antlr_version} -Release: 16%{?dist} +Release: 17%{?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 @@ -325,6 +326,9 @@ rm -rf $RPM_BUILD_ROOT %{_javadir}/*gunit*.jar %changelog +* 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) From 1bcd6f8691bf1ca20c9e1f0fbd235595ed340d9b Mon Sep 17 00:00:00 2001 From: Milos Jakubicek Date: Sun, 9 Sep 2012 17:58:33 +0200 Subject: [PATCH 3/3] - Fix wrong man page references (see BZ#855619) --- antlr3.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 - 3.2-18 +- Fix wrong man page references (see BZ#855619) + * Wed Feb 22 2012 Miloš Jakubíček - 3.2-17 - added BR: maven2