From 177c11076a98d6018ad432311830ecc651be81758428930c2e3d014049c63da1 Mon Sep 17 00:00:00 2001 From: Michal Vyskocil Date: Fri, 12 Jul 2013 12:37:49 +0000 Subject: [PATCH] Accepting request 182817 from home:dirkmueller:branches:Java:packages - drop antlr-cshap, entirely unused and removes mono dependency OBS-URL: https://build.opensuse.org/request/show/182817 OBS-URL: https://build.opensuse.org/package/show/Java:packages/antlr?expand=0&rev=16 --- antlr-bootstrap.spec | 2 +- antlr.changes | 5 +++++ antlr.spec | 35 +---------------------------------- 3 files changed, 7 insertions(+), 35 deletions(-) diff --git a/antlr-bootstrap.spec b/antlr-bootstrap.spec index 6f68232..3e3e686 100644 --- a/antlr-bootstrap.spec +++ b/antlr-bootstrap.spec @@ -2,7 +2,7 @@ # # spec file for package antlr-bootstrap # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/antlr.changes b/antlr.changes index c2e7b21..5bf06f5 100644 --- a/antlr.changes +++ b/antlr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 11 13:04:14 UTC 2013 - dmueller@suse.com + +- drop antlr-cshap, entirely unused and removes mono dependency + ------------------------------------------------------------------- Wed Oct 31 10:23:55 UTC 2012 - mvyskocil@suse.com diff --git a/antlr.spec b/antlr.spec index 2840de7..27a50de 100644 --- a/antlr.spec +++ b/antlr.spec @@ -1,7 +1,7 @@ # # spec file for package antlr # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -39,9 +39,6 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: java-devel BuildRequires: libstdc++-devel -BuildRequires: mono-core -BuildRequires: mono-data -BuildRequires: mono-devel BuildRequires: python-devel BuildRequires: unzip BuildRequires: xml-commons-apis @@ -130,23 +127,6 @@ technology to the Python language and platform. ANTLR Python support was contributed (and is to be maintained) by Wolfgang Haefelinger and Marq Kole. -%package csharp -Summary: ANother Tool for Language Recognition (python runtime) -Group: Development/Tools/Other -Requires: antlr -Requires: mono-core - -%description csharp -To be able to build and use the C# language Lexers, Parsers and TreeParsers, -you will need to link to the ANTLR C# runtime library. The C# runtime model is -based on the existing runtime models for Java and C++ and is thus immediately -familiar. The C# runtime and the Java runtime in particular are very similar -although there a number of subtle (and not so subtle) differences. Some of -these result from differences in the respective runtime environments. - -ANTLR C# support was contributed (and is maintained) by Kunle Odutola, Micheal -Jordan and Anthony Oguntimehin. - %prep %setup -q # remove all binary libs @@ -195,13 +175,6 @@ cp -a lib/python/antlr/* %{buildroot}%{py_sitedir}/%{name} ln -s -f %{py_sitedir}/%{name}/*.py %{buildroot}%{_datadir}/%{name}-%{version}/ ln -s -f %{py_sitedir}/%{name}/*.pyc %{buildroot}%{_datadir}/%{name}-%{version}/ -### csharp runtime ### -install -d -m 0755 %{buildroot}%{_libdir} -install -m 0755 lib/*dll %{buildroot}%{_libdir} -# compat symlink -ln -s -f %{_libdir}/%{name}.astframe.dll %{buildroot}%{_datadir}/%{name}-%{version}/ -ln -s -f %{_libdir}/%{name}.runtime.dll %{buildroot}%{_datadir}/%{name}-%{version}/ - ### cpp runtime ### install -m 0644 lib/cpp/src/lib%{name}.a %{buildroot}%{_libdir} install -d -m 0755 %{buildroot}%{_includedir}/%{name} @@ -255,10 +228,4 @@ rm -rf %{buildroot} %{_datadir}/%{name}-%{version}/*pyc %py_sitedir/%{name} -%files csharp -%defattr(0644,root,root) -%dir %{_datadir}/%{name}-%{version} -%attr(755,root,root) %{_datadir}/%{name}-%{version}/*dll -%attr(755,root,root) %{_libdir}/*.dll - %changelog