|
|
|
|
@ -1,37 +1,36 @@
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
%if !0%{?rhel} && %{without bootstrap}
|
|
|
|
|
%bcond_without bnd_maven_plugin
|
|
|
|
|
%else
|
|
|
|
|
%bcond_with bnd_maven_plugin
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: javaparser
|
|
|
|
|
Version: 3.25.6
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: Java 1 to 13 Parser and Abstract Syntax Tree for Java
|
|
|
|
|
License: LGPL-2.0-or-later OR Apache-2.0
|
|
|
|
|
URL: https://javaparser.org
|
|
|
|
|
Source0: https://github.com/javaparser/javaparser/archive/%{name}-parent-%{version}.tar.gz
|
|
|
|
|
Name: javaparser
|
|
|
|
|
Version: 3.26.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Java 1 to 13 Parser and Abstract Syntax Tree for Java
|
|
|
|
|
License: LGPL-2.0-or-later OR Apache-2.0
|
|
|
|
|
URL: https://javaparser.org
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
Patch1: 0001-Port-to-OpenJDK-21.patch
|
|
|
|
|
Source0: https://github.com/javaparser/javaparser/archive/%{name}-parent-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch: 0001-Port-to-OpenJDK-21.patch
|
|
|
|
|
|
|
|
|
|
%if %{with bnd_maven_plugin}
|
|
|
|
|
BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin)
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(net.java.dev.javacc:javacc)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
|
|
BuildRequires: mvn(javax.annotation:javax.annotation-api)
|
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
|
BuildRequires: mvn(net.java.dev.javacc:javacc)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with bnd_maven_plugin}
|
|
|
|
|
BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package contains a Java 1 to 13 Parser with AST generation and
|
|
|
|
|
@ -40,22 +39,20 @@ and comments. It is also possible to change the AST nodes or create new
|
|
|
|
|
ones to modify the source code.
|
|
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
|
This package contains API documentation for %{name}.
|
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{name}-parent-%{version}
|
|
|
|
|
%autosetup -p1 -n %{name}-%{name}-parent-%{version}
|
|
|
|
|
|
|
|
|
|
%patch 1 -p1
|
|
|
|
|
|
|
|
|
|
sed -i 's/\r//' readme.md
|
|
|
|
|
|
|
|
|
|
# Remove plugins unnecessary for RPM builds
|
|
|
|
|
%pom_remove_plugin -r :jacoco-maven-plugin
|
|
|
|
|
%pom_remove_plugin :maven-source-plugin
|
|
|
|
|
%pom_remove_plugin :coveralls-maven-plugin
|
|
|
|
|
|
|
|
|
|
%if %{without bnd_maven_plugin}
|
|
|
|
|
%pom_remove_plugin :bnd-maven-plugin javaparser-core
|
|
|
|
|
@ -112,19 +109,24 @@ sed -i \
|
|
|
|
|
%license LICENSE LICENSE.APACHE LICENSE.GPL LICENSE.LGPL
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.25.6-7
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
* Thu Jan 02 2025 Markku Korkeala <markku.korkeala@haidion.com> - 3.26.3-1
|
|
|
|
|
- Update to 3.26.3, closes rhbz#2267732
|
|
|
|
|
|
|
|
|
|
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.25.6-6
|
|
|
|
|
* Fri Nov 29 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.25.8-10
|
|
|
|
|
- Update javapackages test plan to f42
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.25.8-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Feb 27 2024 Jiri Vanek <jvanek@redhat.com> - 3.25.8-3
|
|
|
|
|
- Rebuilt for java-21-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
* Thu Feb 22 2024 Marian Koncek <mkoncek@redhat.com> - 3.25.8-2
|
|
|
|
|
- Port to OpenJDK 21
|
|
|
|
|
- Resolves: RHEL-52805
|
|
|
|
|
|
|
|
|
|
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 3.25.6-6
|
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.25.6-5
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
* Wed Feb 21 2024 Markku Korkeala <markku.korkeala@iki.fi> - 3.25.8-1
|
|
|
|
|
- Update to upstream version 3.25.8, closes rhbz#2252668
|
|
|
|
|
- Upstream removed plugin coveralls-maven-plugin
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.25.6-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|