Compare commits

..

No commits in common. "c8-stream-201902" and "c9-beta-stream-202201" have entirely different histories.

3 changed files with 72 additions and 9 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
SOURCES/sonatype-sisu-build-api-plexus-build-api-0.0.7-0-g883ea67.tar.gz

View File

@ -1 +1 @@
4469a1564e77a8bc22860a25930f60668d50553f SOURCES/sonatype-sisu-build-api-plexus-build-api-0.0.7-0-g883ea67.tar.gz
2ad12167b86793277579149c67620b618b21ce1a SOURCES/plexus-build-api-0.0.7.tar.gz

View File

@ -1,24 +1,29 @@
%bcond_with bootstrap
Name: plexus-build-api
Version: 0.0.7
Release: 22%{?dist}
Release: 37%{?dist}
Summary: Plexus Build API
License: ASL 2.0
URL: https://github.com/sonatype/sisu-build-api
URL: https://github.com/codehaus-plexus/plexus-build-api
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
#Fetched from https://github.com/sonatype/sisu-build-api/tarball/plexus-build-api-0.0.7
Source0: sonatype-sisu-build-api-plexus-build-api-0.0.7-0-g883ea67.tar.gz
Source0: https://github.com/codehaus-plexus/plexus-build-api/archive/refs/tags/plexus-build-api-0.0.7.tar.gz
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
# Forwarded upstream: https://github.com/sonatype/sisu-build-api/pull/2
Patch0: %{name}-migration-to-component-metadata.patch
Patch1: 0000-Port-to-plexus-utils-3.3.0.patch
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
BuildRequires: mvn(org.sonatype.spice:spice-parent:pom:)
%endif
%description
Plexus Build API
@ -30,16 +35,21 @@ Summary: Javadoc for %{name}
API documentation for %{name}.
%prep
%setup -q -n sonatype-sisu-build-api-f1f8849
%setup -q -n plexus-build-api-plexus-build-api-0.0.7
cp -p %{SOURCE1} .
%patch0 -p1
%patch1 -p1
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/*" 1.6
%pom_remove_parent
# From upstream commit: https://github.com/codehaus-plexus/plexus-build-api/commit/6566292a7d85e275b824857bdf92d6504bc4824e
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/*" 1.8
%mvn_file : plexus/%{name}
# Install plexus-build-api-tests as well
%mvn_package :
%build
%mvn_build
@ -53,12 +63,66 @@ cp -p %{SOURCE1} .
%doc LICENSE-2.0.txt
%changelog
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 0.0.7-36
- Rebuilt for java-17-openjdk as system jdk
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.0.7-34
- Set explicit Java compiler source/target levels to 1.8
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-33
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.0.7-32
- Bootstrap build
- Non-bootstrap build
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 16 2020 Mat Booth <mat.booth@redhat.com> - 0.0.7-29
- Unecessary restriction on plexus-util, with the patch it's actually still
source compatible with older versions
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 0.0.7-28
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Nov 25 2019 Fabio Valentini <decathorpe@gmail.com> - 0.0.7-26
- Remove unnecessary dependency on parent POM.
* Wed Nov 13 2019 Fabio Valentini <decathorpe@gmail.com> - 0.0.7-25
- Explicitly specify maven compiler source and target versions.
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.0.7-22
- Mass rebuild for javapackages-tools 201902
* Thu Oct 17 2019 Fabio Valentini <decathorpe@gmail.com> - 0.0.7-24
- Port to plexus-utils 3.3.0.
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.0.7-21
- Mass rebuild for javapackages-tools 201901
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.7-20
- Escape macros in %%changelog