OBS User unknown 2008-01-28 15:00:10 +00:00 committed by Git OBS Bridge
parent ccb1cc2b92
commit bb935fa109
5 changed files with 74 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3075f3fbab871a2ef051e18d74cdd3b02bb80ffd9875e382949b40ee788b6b16
size 620642

3
javacc-4.0src.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:062a35b89cf1bb4260627c32f480d26e17bf4595024e4b4e472a46fe1b24655f
size 765150

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jan 28 15:00:14 CET 2008 - mmaher@suse.de
- updated to 4.0:
See the bug list in issue tracker for all the bugs fixed in this release.
JJTree and JavaCC both now support 1.5 syntax.
We now support accessing token fields in the grammar like: s=<ID>.image
Convenient constructors for passing encoding directly to the grammar
Tabsetting is now customizable.
SimpleNode can now extend a class using the NODE_EXTENDS option.
JAVACODE and BNF productions take optional access modifiers.
-------------------------------------------------------------------
Wed Sep 20 01:32:35 CEST 2006 - ro@suse.de

33
javacc.patch Normal file
View File

@ -0,0 +1,33 @@
diff -Naur javacc.old/src/org/javacc/jjdoc/build.xml javacc.changed/src/org/javacc/jjdoc/build.xml
--- javacc.old/src/org/javacc/jjdoc/build.xml 2004-12-24 19:11:13.000000000 +0100
+++ javacc.changed/src/org/javacc/jjdoc/build.xml 2008-01-28 14:25:00.000000000 +0100
@@ -38,7 +38,6 @@
<javac srcdir="${javacc.root}/src"
destdir="${javacc.root}/classes"
debug="${build.compiler.debug}"
- source="1.4"
classpath="${javacc.root}/classes">
</javac>
</target>
diff -Naur javacc.old/src/org/javacc/jjtree/build.xml javacc.changed/src/org/javacc/jjtree/build.xml
--- javacc.old/src/org/javacc/jjtree/build.xml 2005-08-13 18:57:35.000000000 +0200
+++ javacc.changed/src/org/javacc/jjtree/build.xml 2008-01-28 14:24:43.000000000 +0100
@@ -47,7 +47,6 @@
<javac srcdir="${javacc.root}/src"
destdir="${javacc.root}/classes"
debug="${build.compiler.debug}"
- source="1.4"
classpath="${javacc.root}/classes">
</javac>
</target>
diff -Naur javacc.old/src/org/javacc/parser/build.xml javacc.changed/src/org/javacc/parser/build.xml
--- javacc.old/src/org/javacc/parser/build.xml 2005-01-09 15:15:34.000000000 +0100
+++ javacc.changed/src/org/javacc/parser/build.xml 2008-01-28 14:24:12.000000000 +0100
@@ -45,7 +45,6 @@
<javac srcdir="${javacc.root}/src"
destdir="${javacc.root}/classes"
debug="${build.compiler.debug}"
- source="1.4"
classpath="${javacc.root}/classes:${junit.jar}">
</javac>
</target>

View File

@ -1,7 +1,7 @@
#
# spec file for package javacc (Version 3.2)
# spec file for package javacc (Version 4.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -13,15 +13,16 @@
Name: javacc
BuildRequires: ant java2-devel-packages xml-commons-apis
%define section free
Version: 3.2
Release: 23
Version: 4.0
Release: 1
Summary: A Parser and Scanner Generator for Java
License: BSD
Source0: javacc-3.2-src.tar.gz
License: BSD 3-Clause
Source0: %{name}-%{version}src.tar.gz
Source1: javacc
Source2: jjdoc
Source3: jjtree
URL: https://javacc.dev.java.net/
Patch: javacc.patch
Url: https://javacc.dev.java.net/
Group: Development/Libraries/Java
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@ -69,7 +70,8 @@ with JavaCC), actions, debugging, etc.
%prep
%setup -q
%setup -n javacc
%patch -p1
cp %{SOURCE1} javacc
cp %{SOURCE2} jjdoc
cp %{SOURCE3} jjtree
@ -79,7 +81,7 @@ mv www/doc .
for file in `find -name build.xml` ; do
if ! grep -q "javac.*source=" $file ; then
perl -p -i -e 's|<javac |<javac source=\"1.4\" |' $file
perl -p -i -e 's|<javadoc |<javadoc source=\"1.4\" |' $file
perl -p -i -e 's|<javadoc |<javadoc source=\"1.4" |' $file
fi
done
ant \
@ -113,14 +115,23 @@ rm -rf $RPM_BUILD_ROOT
%defattr(0644,root,root,0755)
/usr/share/%{name}/
%changelog -n javacc
* Wed Sep 20 2006 - ro@suse.de
%changelog
* Mon Jan 28 2008 mmaher@suse.de
- updated to 4.0:
See the bug list in issue tracker for all the bugs fixed in this release.
JJTree and JavaCC both now support 1.5 syntax.
We now support accessing token fields in the grammar like: s=<ID>.image
Convenient constructors for passing encoding directly to the grammar
Tabsetting is now customizable.
SimpleNode can now extend a class using the NODE_EXTENDS option.
JAVACODE and BNF productions take optional access modifiers.
* Wed Sep 20 2006 ro@suse.de
- set source=1.4 for java
* Wed Jan 25 2006 - mls@suse.de
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Oct 18 2005 - jsmeix@suse.de
* Tue Oct 18 2005 jsmeix@suse.de
- Current version 3.2 from JPackage.org
* Thu Sep 29 2005 - dmueller@suse.de
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Fri Feb 18 2005 - skh@suse.de
* Fri Feb 18 2005 skh@suse.de
- initial package