Patch so that generated action methods do not exceed the 65535 byte JVM
method size limit. Supplied by eclipse-pdt project. - Drop rpm bug workaround scriptlet.
This commit is contained in:
parent
63f05d8277
commit
54bcb6ffb1
2 changed files with 87 additions and 7 deletions
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
Name: java_cup
|
||||
Version: 0.11a
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
Epoch: 1
|
||||
Summary: Java source interpreter
|
||||
License: MIT
|
||||
|
|
@ -49,6 +49,10 @@ Source3: LICENSE.txt
|
|||
Patch0: %{name}-build.patch
|
||||
Patch1: java_cup-0.11a-manifest.patch
|
||||
|
||||
# Patch from eclipe-pdt to get around generated actions methods exceeding the 65535 bytes limit:
|
||||
# http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/tree/plugins/org.eclipse.php.core.parser/javacup10k_split_do_action_method.diff
|
||||
Patch2: javacup10k_split_do_action_method.diff
|
||||
|
||||
BuildRequires: ant
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: jpackage-utils >= 0:1.5
|
||||
|
|
@ -59,7 +63,6 @@ BuildRequires: java_cup >= 1:0.11a
|
|||
BuildRequires: zip
|
||||
|
||||
Requires: java
|
||||
Requires: jpackage-utils
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
|
|
@ -82,6 +85,9 @@ Documentation for java_cup.
|
|||
%setup -q
|
||||
%patch0 -b .build
|
||||
%patch1 -p1 -b .manifest
|
||||
pushd src
|
||||
%patch2 -p1 -b .orig
|
||||
popd
|
||||
cp %{SOURCE1} pom.xml
|
||||
cp %{SOURCE3} .
|
||||
|
||||
|
|
@ -135,16 +141,16 @@ cp -pr dist/javadoc/* %{buildroot}%{_javadocdir}/%{name}
|
|||
%files manual
|
||||
%doc manual.html LICENSE.txt
|
||||
|
||||
%pre javadoc
|
||||
# workaround for rpm bug, can be removed in F-17
|
||||
[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
|
||||
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
|
||||
|
||||
%files javadoc
|
||||
%doc LICENSE.txt
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Aug 30 2013 Mat Booth <fedora@matbooth.co.uk> - 1:0.11a-14
|
||||
- Patch so that generated action methods do not exceed the 65535 byte JVM
|
||||
method size limit. Supplied by eclipse-pdt project.
|
||||
- Drop rpm bug workaround scriptlet.
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.11a-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue