|
|
|
@ -1,13 +1,14 @@
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
%global upstream_version %(echo %{version} | tr '~' '-')
|
|
|
|
|
|
|
|
|
|
Name: qdox
|
|
|
|
|
Version: 2.1.0
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 2.0.0
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Summary: Extract class/interface/method definitions from sources
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: https://github.com/paul-hammant/qdox
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
# ./generate-tarball.sh
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
@ -15,17 +16,14 @@ Source1: qdox-MANIFEST.MF
|
|
|
|
|
# Remove bundled binaries which are possibly proprietary
|
|
|
|
|
Source2: generate-tarball.sh
|
|
|
|
|
|
|
|
|
|
Patch0: qdox-port-tests-to-java-21.patch
|
|
|
|
|
Patch0: 0001-Port-to-JFlex-1.7.0.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: byaccj
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: jflex
|
|
|
|
|
BuildRequires: mvn(org.assertj:assertj-core)
|
|
|
|
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter)
|
|
|
|
|
BuildRequires: mvn(org.mockito:mockito-core)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -42,8 +40,8 @@ Summary: Javadoc for %{name}
|
|
|
|
|
API docs for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch 0 -p1
|
|
|
|
|
%setup -q -n %{name}-%{upstream_version}
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
|
|
# remove unnecessary dependency on parent POM
|
|
|
|
|
%pom_remove_parent
|
|
|
|
@ -53,7 +51,7 @@ API docs for %{name}.
|
|
|
|
|
%pom_remove_plugin :maven-assembly-plugin
|
|
|
|
|
%pom_remove_plugin :maven-failsafe-plugin
|
|
|
|
|
%pom_remove_plugin :maven-invoker-plugin
|
|
|
|
|
%pom_remove_plugin :jflex-maven-plugin
|
|
|
|
|
%pom_remove_plugin :maven-jflex-plugin
|
|
|
|
|
%pom_remove_plugin :maven-enforcer-plugin
|
|
|
|
|
%pom_remove_plugin :exec-maven-plugin
|
|
|
|
|
|
|
|
|
@ -74,10 +72,10 @@ jflex -d src/main/java/com/thoughtworks/qdox/parser/impl src/grammar/commentlexe
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# Build artifact
|
|
|
|
|
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
|
|
|
|
%mvn_build -f
|
|
|
|
|
|
|
|
|
|
# Inject OSGi manifests
|
|
|
|
|
jar ufm target/%{name}-%{version}.jar %{SOURCE1}
|
|
|
|
|
jar ufm target/%{name}-%{upstream_version}.jar %{SOURCE1}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%mvn_install
|
|
|
|
@ -90,55 +88,15 @@ jar ufm target/%{name}-%{version}.jar %{SOURCE1}
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.1.0-6
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.0-5
|
|
|
|
|
- Port to OpenJDK 21
|
|
|
|
|
- Resolves: RHEL-52713
|
|
|
|
|
|
|
|
|
|
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 2.1.0-3
|
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.1.0-2
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 02 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.0-1
|
|
|
|
|
- Update to upstream version 2.1.0
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.3-2
|
|
|
|
|
- Convert License tag to SPDX format
|
|
|
|
|
|
|
|
|
|
* Thu Aug 17 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.3-1
|
|
|
|
|
- Update to upstream version 2.0.3
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.0.0-9
|
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.0-8
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.0-7
|
|
|
|
|
- Set explicit Java compiler source/target levels to 1.7
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.0-7
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.0-6
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.0-5
|
|
|
|
|
- Bootstrap build
|
|
|
|
|