Accepting request 869003 from home:pmonrealgonzalez:branches:Java:packages
- Update to 1.15 * Fix: stack corruption when generating a java parser * Fix: Targets with empty right-hand side problematic in Java mode - Update the spec file * Simplify the docs installation * Remove mac and arch specifics OBS-URL: https://build.opensuse.org/request/show/869003 OBS-URL: https://build.opensuse.org/package/show/Java:packages/byaccj?expand=0&rev=9
This commit is contained in:
parent
7d8785434b
commit
5b8e5aee13
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 3 18:57:06 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.15
|
||||||
|
* Fix: stack corruption when generating a java parser
|
||||||
|
* Fix: Targets with empty right-hand side problematic in Java mode
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 3 18:19:13 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
- Update the spec file
|
||||||
|
* Simplify the docs installation
|
||||||
|
* Remove mac and arch specifics
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 7 11:05:45 UTC 2014 - schwab@suse.de
|
Tue Jan 7 11:05:45 UTC 2014 - schwab@suse.de
|
||||||
|
|
||||||
|
44
byaccj.spec
44
byaccj.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package byaccj
|
# spec file for package byaccj
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,21 +12,19 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define jpp_release 3
|
||||||
|
Name: byaccj
|
||||||
|
Version: 1.15
|
||||||
|
Release: 0
|
||||||
Summary: Parser Generator with Java Extension
|
Summary: Parser Generator with Java Extension
|
||||||
License: SUSE-Public-Domain
|
License: SUSE-Public-Domain
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
|
URL: http://byaccj.sourceforge.net/
|
||||||
Name: byaccj
|
Source0: https://downloads.sourceforge.net/%{name}/%{name}%{version}_src.tar.gz
|
||||||
Version: 1.14
|
|
||||||
Release: 0
|
|
||||||
%define jpp_release 3
|
|
||||||
Url: http://byaccj.sourceforge.net/
|
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}%{version}_src.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Requires: man-pages
|
Requires: man-pages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -40,30 +38,26 @@ use every day to produce C/C++ parsers. I have added a "-J" flag which
|
|||||||
will cause BYACC to generate Java source code, instead. So there
|
will cause BYACC to generate Java source code, instead. So there
|
||||||
finally is a YACC for Java now!
|
finally is a YACC for Java now!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}%{version}_src
|
%setup -q -n %{name}%{version}
|
||||||
|
|
||||||
|
chmod -c -x src/* docs/*
|
||||||
|
sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4|$(LDFLAGS)|g' src/Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd src
|
pushd src
|
||||||
make linux CFLAGS="$RPM_OPT_FLAGS"
|
%make_build yacc CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
#Fix wrong-file-end-of-line-encoding
|
||||||
sed -i 's/\r//g' docs/tf.y
|
sed -i 's/\r//g' docs/tf.y
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# manual
|
install -d -m 755 %{buildroot}%{_bindir}
|
||||||
install -d -m 755 %{buildroot}%{_mandir}/man1
|
install -p -m 755 src/yacc %{buildroot}%{_bindir}/%{name}
|
||||||
mv docs/yacc.cat %{buildroot}%{_mandir}/man1
|
|
||||||
# jars
|
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
|
||||||
cp -p src/yacc.linux \
|
|
||||||
%{buildroot}%{_bindir}/%{name}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%doc docs/* src/README
|
||||||
%doc docs/* src/readme src/README
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/yacc.cat*
|
|
||||||
%attr(755, root, root) %{_bindir}/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2d257c2a4afb01aac1c08ba22c27f36bc4b39819d8b38e31cb7f44c25bdc23ba
|
|
||||||
size 55123
|
|
BIN
byaccj1.15_src.tar.gz
(Stored with Git LFS)
Normal file
BIN
byaccj1.15_src.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user