|
|
|
@ -1,31 +1,23 @@
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
Name: plexus-compiler
|
|
|
|
|
Version: 2.15.0
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 2.8.5
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Compiler call initiators for Plexus
|
|
|
|
|
# extras subpackage has a bit different licensing
|
|
|
|
|
# parts of compiler-api are Apache-2.0/MIT
|
|
|
|
|
License: MIT AND Apache-2.0
|
|
|
|
|
# parts of compiler-api are ASL2.0/MIT
|
|
|
|
|
License: MIT and ASL 2.0
|
|
|
|
|
URL: https://github.com/codehaus-plexus/plexus-compiler
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: https://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
Source2: LICENSE.MIT
|
|
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(javax.inject:javax.inject)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-components:pom:)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
|
|
|
|
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
|
|
|
|
|
BuildRequires: mvn(org.eclipse.sisu:sisu-maven-plugin)
|
|
|
|
|
BuildRequires: mvn(org.slf4j:slf4j-api)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Plexus Compiler adds support for using various compilers from a
|
|
|
|
@ -34,10 +26,10 @@ additional compilers see %{name}-extras package.
|
|
|
|
|
|
|
|
|
|
%package extras
|
|
|
|
|
Summary: Extra compiler support for %{name}
|
|
|
|
|
# Apache-2.0: src/main/java/org/codehaus/plexus/compiler/util/scan/
|
|
|
|
|
# ASL 2.0: src/main/java/org/codehaus/plexus/compiler/util/scan/
|
|
|
|
|
# ...codehaus/plexus/compiler/csharp/CSharpCompiler.java
|
|
|
|
|
# Apache-1.1/MIT: ...codehaus/plexus/compiler/jikes/JikesCompiler.java
|
|
|
|
|
License: MIT AND Apache-2.0 AND Apache-1.1
|
|
|
|
|
# ASL 1.1/MIT: ...codehaus/plexus/compiler/jikes/JikesCompiler.java
|
|
|
|
|
License: MIT and ASL 2.0 and ASL 1.1
|
|
|
|
|
|
|
|
|
|
%description extras
|
|
|
|
|
Additional support for csharp, eclipse and jikes compilers
|
|
|
|
@ -49,22 +41,18 @@ Summary: Maven POM files for %{name}
|
|
|
|
|
This package provides %{summary}.
|
|
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
|
License: MIT AND Apache-2.0 AND Apache-1.1
|
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
License: MIT and ASL 2.0 and ASL 1.1
|
|
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n %{name}-%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
find -name '.class' -delete
|
|
|
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
cp %{SOURCE1} LICENSE
|
|
|
|
|
cp %{SOURCE2} LICENSE.MIT
|
|
|
|
|
|
|
|
|
|
%pom_remove_dep :junit-bom
|
|
|
|
|
|
|
|
|
|
%pom_disable_module plexus-compiler-aspectj plexus-compilers
|
|
|
|
|
# missing com.google.errorprone:error_prone_core
|
|
|
|
|
%pom_disable_module plexus-compiler-javac-errorprone plexus-compilers
|
|
|
|
@ -73,7 +61,6 @@ cp %{SOURCE2} LICENSE.MIT
|
|
|
|
|
|
|
|
|
|
# don't build/install compiler-test module, it needs maven2 test harness
|
|
|
|
|
%pom_disable_module plexus-compiler-test
|
|
|
|
|
%pom_disable_module plexus-compiler-its
|
|
|
|
|
|
|
|
|
|
# don't install sources jars
|
|
|
|
|
%mvn_package ":*::sources:" __noinstall
|
|
|
|
@ -85,10 +72,7 @@ cp %{SOURCE2} LICENSE.MIT
|
|
|
|
|
%pom_xpath_remove "pom:dependency[pom:artifactId[text()='plexus-compiler-test']]" plexus-compilers
|
|
|
|
|
|
|
|
|
|
%pom_remove_plugin :maven-site-plugin
|
|
|
|
|
%pom_remove_plugin :maven-enforcer-plugin
|
|
|
|
|
|
|
|
|
|
%pom_remove_dep -r org.codehaus.plexus:plexus-compiler-javac-errorprone
|
|
|
|
|
%pom_remove_dep org.codehaus.plexus:plexus-xml plexus-compiler-manager
|
|
|
|
|
%pom_remove_plugin :animal-sniffer-maven-plugin
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Tests are skipped because of unavailable plexus-compiler-test artifact
|
|
|
|
@ -98,123 +82,23 @@ cp %{SOURCE2} LICENSE.MIT
|
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
|
%license LICENSE LICENSE.MIT
|
|
|
|
|
|
|
|
|
|
%doc LICENSE LICENSE.MIT
|
|
|
|
|
%files extras -f .mfiles-extras
|
|
|
|
|
|
|
|
|
|
%files pom -f .mfiles-pom
|
|
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
|
%license LICENSE LICENSE.MIT
|
|
|
|
|
%doc LICENSE LICENSE.MIT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 29 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.15.0-6
|
|
|
|
|
- Update javapackages test plan to f42
|
|
|
|
|
|
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Apr 08 2024 Marian Koncek <mkoncek@redhat.com> - 2.15.0-1
|
|
|
|
|
- Update to upstream version 2.15.0
|
|
|
|
|
|
|
|
|
|
* Tue Feb 27 2024 Jiri Vanek <jvanek@redhat.com> - 2.14.2-3
|
|
|
|
|
- Rebuilt for java-21-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
* Fri Feb 23 2024 Jiri Vanek <jvanek@redhat.com> - 2.14.2-2
|
|
|
|
|
- bump of release for for java-21-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
* Thu Feb 01 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.14.2-1
|
|
|
|
|
- Update to upstream version 2.14.2
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 18 2023 Marian Koncek <mkoncek@redhat.com> - 2.14.1-1
|
|
|
|
|
- Update to upstream version 2.14.1
|
|
|
|
|
|
|
|
|
|
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.13.0-2
|
|
|
|
|
- Convert License tag to SPDX format
|
|
|
|
|
|
|
|
|
|
* Thu Aug 17 2023 Marian Koncek <mkoncek@redhat.com> - 2.13.0-1
|
|
|
|
|
- Update to upstream version 2.13.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Sep 05 2022 Marian Koncek <mkoncek@redhat.com> - 2.12.1-1
|
|
|
|
|
- Update to upstream version 2.12.1
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Apr 24 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.11.1-1
|
|
|
|
|
- Update to upstream version 2.11.1
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.8.8-5
|
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-3
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.8.8-2
|
|
|
|
|
- Bootstrap build
|
|
|
|
|
- Non-bootstrap build
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.8.8-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Sep 11 2020 Marian Koncek <mkoncek@redhat.com> - 2.8.8-1
|
|
|
|
|
- Update to upstream version 2.8.8
|
|
|
|
|
|
|
|
|
|
* Fri Aug 28 2020 Fabio Valentini <decathorpe@gmail.com> - 0:2.8.8-1
|
|
|
|
|
- Update to version 2.8.8.
|
|
|
|
|
|
|
|
|
|
* Sun Aug 16 2020 Fabio Valentini <decathorpe@gmail.com> - 0:2.8.7-1
|
|
|
|
|
- Update to version 2.8.7.
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.8.6-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 0:2.8.6-2
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
|
|
* Mon Feb 17 2020 Alexander Scheel <ascheel@redhat.com> - 0:2.8.6-1
|
|
|
|
|
- Update to version 2.8.6
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.8.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.8.5-3
|
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2019 Fabio Valentini <decathorpe@gmail.com> - 0:2.8.5-1
|
|
|
|
|
- Update to version 2.8.5.
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.8.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.8.5-2
|
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
|
|
|
|
|
* Mon May 13 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.8.5-1
|
|
|
|
|
- Update to upstream version 2.8.5
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.8.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.8.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.8.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|