Update to javaparser 2.5.1 for Java 1.8 support
This commit is contained in:
parent
089c9ed329
commit
6285d550f2
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/javaparser-1.0.8-src.zip
|
/javaparser-1.0.8-src.zip
|
||||||
/javaparser-1.0.11.tar.gz
|
/javaparser-1.0.11.tar.gz
|
||||||
|
/javaparser-parent-2.5.1.tar.gz
|
||||||
|
@ -1,55 +1,64 @@
|
|||||||
Name: javaparser
|
Name: javaparser
|
||||||
Version: 1.0.11
|
Version: 2.5.1
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Java 1.7 Parser and AST
|
Summary: Java 1.8 Parser Parser and Abstract Syntax Tree for Java
|
||||||
License: GPLv3+ and LGPLv3+
|
License: (GPLv3+ and LGPLv3+) or ASL 2.0
|
||||||
# https://github.com/before/javaparser/
|
URL: http://javaparser.org
|
||||||
URL: http://javaparser.github.io/javaparser/
|
Source0: https://github.com/javaparser/javaparser/archive/%{name}-parent-%{version}.tar.gz
|
||||||
Source0: https://github.com/javaparser/javaparser/archive/%{name}-%{version}.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin)
|
||||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
BuildRequires: mvn(net.java.dev.javacc:javacc)
|
||||||
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
|
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
|
||||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A Java 1.7 Parser with AST generation and visitor support.
|
This package contains a Java 1.8 Parser with AST generation and
|
||||||
The AST records the source code structure, java doc and
|
visitor support. The AST records the source code structure, javadoc
|
||||||
comments. It is also possible to change the AST nodes or
|
and comments. It is also possible to change the AST nodes or create new
|
||||||
create new ones to modify the source code.
|
ones to modify the source code.
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
This package contains javadoc for %{name}.
|
This package contains API documentation for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-parent-%{version}
|
||||||
|
|
||||||
sed -i 's/\r//' readme.md
|
sed -i 's/\r//' readme.md
|
||||||
|
|
||||||
%mvn_file :%{name} %{name}
|
# Remove plugins unnecessary for RPM builds
|
||||||
|
%pom_remove_plugin :animal-sniffer-maven-plugin javaparser-core
|
||||||
|
%pom_remove_plugin :maven-enforcer-plugin javaparser-core
|
||||||
|
%pom_remove_plugin :coveralls-maven-plugin .
|
||||||
|
%pom_remove_plugin :jacoco-maven-plugin . javaparser-testing
|
||||||
|
|
||||||
|
# Compatibility alias
|
||||||
|
%mvn_alias :javaparser-core com.google.code.javaparser:javaparser
|
||||||
|
|
||||||
|
# Missing dep on jbehave for testing
|
||||||
|
%pom_disable_module javaparser-testing
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
# test skip http://code.google.com/p/javaparser/issues/detail?id=43
|
|
||||||
%mvn_build
|
%mvn_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc readme.md
|
%doc readme.md changelog.md
|
||||||
%license COPYING COPYING.LESSER
|
%license LICENSE LICENSE.APACHE LICENSE.GPL LICENSE.LGPL
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
%files javadoc -f .mfiles-javadoc
|
||||||
%license COPYING COPYING.LESSER
|
%license LICENSE LICENSE.APACHE LICENSE.GPL LICENSE.LGPL
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 13 2019 Mat Booth <mat.booth@redhat.com> - 2.5.1-1
|
||||||
|
- Update to javaparser 2.5.1 for Java 1.8 support
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-7
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user