|
|
|
@ -1,9 +1,8 @@
|
|
|
|
|
%bcond_without eclipse
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
Name: plexus-compiler
|
|
|
|
|
Epoch: 0
|
|
|
|
|
Version: 2.8.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 2.8.8
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: Compiler call initiators for Plexus
|
|
|
|
|
# extras subpackage has a bit different licensing
|
|
|
|
|
# parts of compiler-api are ASL2.0/MIT
|
|
|
|
@ -12,19 +11,19 @@ URL: https://github.com/codehaus-plexus/plexus-compiler
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
Source1: https://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
Source2: LICENSE.MIT
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
%else
|
|
|
|
|
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)
|
|
|
|
|
%if %{with eclipse}
|
|
|
|
|
BuildRequires: mvn(org.eclipse.tycho:org.eclipse.jdt.core)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Plexus Compiler adds support for using various compilers from a
|
|
|
|
|
unified api. Support for javac is available in main package. For
|
|
|
|
@ -56,6 +55,8 @@ API documentation for %{name}.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
find -name '.class' -delete
|
|
|
|
|
|
|
|
|
|
cp %{SOURCE1} LICENSE
|
|
|
|
|
cp %{SOURCE2} LICENSE.MIT
|
|
|
|
|
|
|
|
|
@ -63,9 +64,7 @@ cp %{SOURCE2} LICENSE.MIT
|
|
|
|
|
# missing com.google.errorprone:error_prone_core
|
|
|
|
|
%pom_disable_module plexus-compiler-javac-errorprone plexus-compilers
|
|
|
|
|
|
|
|
|
|
%if %{without eclipse}
|
|
|
|
|
%pom_disable_module plexus-compiler-eclipse plexus-compilers
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# don't build/install compiler-test module, it needs maven2 test harness
|
|
|
|
|
%pom_disable_module plexus-compiler-test
|
|
|
|
@ -80,6 +79,10 @@ 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 :animal-sniffer-maven-plugin
|
|
|
|
|
%pom_remove_plugin :maven-enforcer-plugin
|
|
|
|
|
|
|
|
|
|
%pom_remove_dep -r org.codehaus.plexus:plexus-compiler-javac-errorprone
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Tests are skipped because of unavailable plexus-compiler-test artifact
|
|
|
|
@ -89,7 +92,6 @@ cp %{SOURCE2} LICENSE.MIT
|
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
|
%dir %{_javadir}/%{name}
|
|
|
|
|
%doc LICENSE LICENSE.MIT
|
|
|
|
|
%files extras -f .mfiles-extras
|
|
|
|
|
%files pom -f .mfiles-pom
|
|
|
|
@ -98,8 +100,67 @@ cp %{SOURCE2} LICENSE.MIT
|
|
|
|
|
%doc LICENSE LICENSE.MIT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Dec 12 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0:2.8.2-2
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.8.8-6
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.8.8-5
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.8.8-4
|
|
|
|
|
- Non-bootstrap build
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.8.8-3
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|