From 026b5c4170004995b550d99d41eaac6baa872e0f Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Wed, 15 Jan 2025 13:04:22 -0600 Subject: [PATCH] Import from Fedora --- .fmf/version | 1 + .gitignore | 24 ++++ ci.fmf | 1 + gating.yaml | 7 ++ mojo-parent.spec | 271 +++++++++++++++++++++++++++++++++++++++++ plans/javapackages.fmf | 7 ++ sources | 2 + 7 files changed, 313 insertions(+) create mode 100644 .fmf/version create mode 100644 .gitignore create mode 100644 ci.fmf create mode 100644 gating.yaml create mode 100644 mojo-parent.spec create mode 100644 plans/javapackages.fmf create mode 100644 sources diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2e93161 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +/mojo-parent-24-source-release.zip +/mojo-parent-28-source-release.zip +mojo-parent-29-source-release.zip +/mojo-parent-31-source-release.zip +/mojo-parent-32-source-release.zip +/LICENSE-2.0.txt +/mojo-parent-33-source-release.zip +/mojo-parent-34-source-release.zip +/mojo-parent-35-source-release.zip +/mojo-parent-36-source-release.zip +/mojo-parent-37-source-release.zip +/mojo-parent-38-source-release.zip +/mojo-parent-39-source-release.zip +/mojo-parent-40-source-release.zip +/mojo-parent-40.tar.gz +/mojo-parent-50.tar.gz +/mojo-parent-60.tar.gz +/mojo-parent-67.tar.gz +/mojo-parent-70.tar.gz +/mojo-parent-76-source-release.zip +/mojo-parent-77-source-release.zip +/mojo-parent-78-source-release.zip +/mojo-parent-84-source-release.zip +/mojo-parent-85-source-release.zip diff --git a/ci.fmf b/ci.fmf new file mode 100644 index 0000000..c5aa0e0 --- /dev/null +++ b/ci.fmf @@ -0,0 +1 @@ +resultsdb-testcase: separate diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..df26947 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - rhel-9 +decision_contexts: + - osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/javapackages.functional} diff --git a/mojo-parent.spec b/mojo-parent.spec new file mode 100644 index 0000000..9a73d38 --- /dev/null +++ b/mojo-parent.spec @@ -0,0 +1,271 @@ +%bcond_with bootstrap + +Name: mojo-parent +Version: 85 +Release: 2%{?dist} +Summary: Codehaus MOJO parent project pom file +License: Apache-2.0 +URL: https://www.mojohaus.org/mojo-parent/ +BuildArch: noarch +ExclusiveArch: %{java_arches} noarch + +Source0: https://repo1.maven.org/maven2/org/codehaus/mojo/mojo-parent/%{version}/mojo-parent-%{version}-source-release.zip +Source1: https://www.apache.org/licenses/LICENSE-2.0.txt + +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else +BuildRequires: maven-local +BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) +%endif + +%description +Codehaus MOJO parent project pom file + +%prep +%autosetup -p1 +# Not needed in Fedora. +%pom_remove_plugin :maven-enforcer-plugin +%pom_remove_plugin :maven-site-plugin +%pom_remove_plugin :maven-checkstyle-plugin +%pom_remove_plugin :spotless-maven-plugin +%pom_remove_dep :junit-bom + +cp %SOURCE1 . + +%build +%mvn_alias : org.codehaus.mojo:mojo +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE-2.0.txt + +%changelog +* Fri Nov 29 2024 Mikolaj Izdebski - 85-2 +- Update javapackages test plan to f42 + +* Fri Aug 23 2024 Mikolaj Izdebski - 85-1 +- Update to upstream version 85 +- Resolves: rhbz#2304212 + +* Thu Jul 18 2024 Fedora Release Engineering - 84-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Jun 18 2024 Marian Koncek - 84-1 +- Update to upstream version 84 + +* Tue Feb 27 2024 Jiri Vanek - 78-3 +- Rebuilt for java-21-openjdk as system jdk + +* Fri Feb 23 2024 Jiri Vanek - 78-2 +- bump of release for for java-21-openjdk as system jdk + +* Thu Feb 01 2024 Mikolaj Izdebski - 78-1 +- Update to upstream version 78 + +* Thu Jan 25 2024 Fedora Release Engineering - 77-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 77-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Oct 19 2023 Mikolaj Izdebski - 77-1 +- Update to upstream version 77 + +* Fri Sep 01 2023 Mikolaj Izdebski - 76-2 +- Convert License tag to SPDX format + +* Thu Aug 17 2023 Mikolaj Izdebski - 76-1 +- Update to upstream version 76 + +* Thu Jul 20 2023 Fedora Release Engineering - 70-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 70-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Sep 06 2022 Marian Koncek - 70-1 +- Update to upstream version 70 + +* Thu Jul 21 2022 Fedora Release Engineering - 67-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed May 04 2022 Mikolaj Izdebski - 67-1 +- Update to upstream version 67 + +* Sat Feb 05 2022 Jiri Vanek - 60-5 +- Rebuilt for java-17-openjdk as system jdk + +* Thu Jan 20 2022 Fedora Release Engineering - 60-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 60-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon May 17 2021 Mikolaj Izdebski - 60-2 +- Bootstrap build +- Non-bootstrap build + +* Mon Feb 01 2021 Fabio Valentini - 60-1 +- Update to version 60. + +* Tue Jan 26 2021 Fedora Release Engineering - 50-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jan 26 2021 Marian Koncek - 60-1 +- Update to upstream version 60 + +* Wed Jul 29 2020 Marian Koncek - 50-1 +- Update to upstream version 50 + +* Tue Jul 28 2020 Fedora Release Engineering - 50-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Jul 11 2020 Jiri Vanek - 50-2 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Thu May 14 2020 Fabio Valentini - 50-1 +- Update to version 50. + +* Wed Jan 29 2020 Fedora Release Engineering - 40-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Nov 05 2019 Mikolaj Izdebski - 40-8 +- Mass rebuild for javapackages-tools 201902 + +* Thu Jul 25 2019 Fedora Release Engineering - 40-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 24 2019 Mikolaj Izdebski - 40-7 +- Mass rebuild for javapackages-tools 201901 + +* Fri Feb 01 2019 Fedora Release Engineering - 40-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 40-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 40-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 40-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 40-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 02 2017 Michael Simacek - 40-3 +- Remove dependency on site-plugin and checkstyle-plugin + +* Thu Aug 11 2016 Michael Simacek - 40-2 +- Update upstream URLs + +* Thu Aug 11 2016 Michael Simacek - 40-1 +- Update to upstream version 40 + +* Mon Apr 11 2016 Mikolaj Izdebski - 39-1 +- Update to upstream version 39 + +* Thu Feb 04 2016 Fedora Release Engineering - 38-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Aug 31 2015 Mikolaj Izdebski - 38-1 +- Update to upstream version 38 + +* Fri Aug 7 2015 Mikolaj Izdebski - 37-2 +- Remove maven-enforcer-plugin from POM + +* Wed Aug 5 2015 Mikolaj Izdebski - 37-1 +- Update to upstream version 37 + +* Thu Jul 23 2015 Mikolaj Izdebski - 36-1 +- Update to upstream version 36 + +* Tue Jul 21 2015 Mikolaj Izdebski - 35-1 +- Update to upstream version 35 + +* Wed Jun 17 2015 Fedora Release Engineering - 34-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Jan 19 2015 Michael Simacek - 34-2 +- Add BR maven-site-plugin + +* Mon Oct 13 2014 Mikolaj Izdebski - 34-1 +- Update to upstream version 34 + +* Sat Jun 07 2014 Fedora Release Engineering - 33-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 28 2014 Mikolaj Izdebski - 33-3 +- Rebuild to regenerate Maven auto-requires + +* Wed May 21 2014 Mikolaj Izdebski - 33-2 +- Regenerate requires + +* Mon Mar 10 2014 Mikolaj Izdebski - 33-1 +- Update to upstream version 33 + +* Sat Aug 03 2013 Fedora Release Engineering - 32-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jul 22 2013 Stanislav Ochotnicky - 32-3 +- Add ASL 2.0 license text to rpms + +* Mon Apr 22 2013 Stanislav Ochotnicky - 32-2 +- Update to latest upstream (#948704) + +* Fri Feb 8 2013 Mikolaj Izdebski - 31-1 +- Update to upstream version 31 + +* Wed Feb 06 2013 Java SIG - 30-5 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Thu Jan 17 2013 Michal Srb - 30-4 +- Build with xmvn + +* Fri Jan 4 2013 Mikolaj Izdebski - 30-3 +- Disable maven-plugin-cobertura + +* Tue Nov 27 2012 Mikolaj Izdebski - 30-2 +- Install additional depmap +- Resolves: rhbz#880619 + +* Mon Jul 23 2012 Mikolaj Izdebski - 30-1 +- Update to upstream version 30 + +* Fri Jul 20 2012 Fedora Release Engineering - 29-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 29-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Dec 7 2011 Alexander Kurtakov 29-1 +- Update to latest upstream. + +* Tue Mar 8 2011 Stanislav Ochotnicky - 28-2 +- Remove parent from pom.xml (no codehaus-parent in Fedora now) + +* Mon Mar 7 2011 Stanislav Ochotnicky - 28-1 +- Update to latest upstream + +* Tue Feb 08 2011 Fedora Release Engineering - 24-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Sep 16 2010 Stanislav Ochotnicky - 24-5 +- Add component-javadoc to R + +* Thu Sep 16 2010 Stanislav Ochotnicky - 24-4 +- Add forgotten jpackage-utils BR + +* Tue Sep 14 2010 Stanislav Ochotnicky - 24-3 +- Change to license used by upstream (ASL 2.0) + +* Mon Sep 6 2010 Stanislav Ochotnicky - 24-2 +- Removed %%build section and BRs (not really needed) + +* Mon Sep 6 2010 Stanislav Ochotnicky - 24-1 +- Initial version of the package diff --git a/plans/javapackages.fmf b/plans/javapackages.fmf new file mode 100644 index 0000000..8ba3510 --- /dev/null +++ b/plans/javapackages.fmf @@ -0,0 +1,7 @@ +summary: Run javapackages-specific tests +discover: + how: fmf + url: https://src.fedoraproject.org/tests/javapackages + ref: c9s +execute: + how: tmt diff --git a/sources b/sources new file mode 100644 index 0000000..71faef0 --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (mojo-parent-85-source-release.zip) = 10226cfbb57dbc62c70a34f7c14055250fc34871b1046644ff70c8974a85f96b7066aed5eb4c7fed7a0e33d3d98a877ad6baf1a9f47719823df7b70fe8167ab5 +SHA512 (LICENSE-2.0.txt) = 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8