From 898f27d2b1f4039ea65235e184936619f17f4842 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 28 Jul 2022 12:46:11 +0200 Subject: [PATCH] Initial import from Fedora --- .gitignore | 6 ++ .maven-dependency-tree.metadata | 1 + maven-dependency-tree.spec | 173 ++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 181 insertions(+) create mode 100644 .maven-dependency-tree.metadata create mode 100644 maven-dependency-tree.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..c6f99be 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,6 @@ +/maven-dependency-tree-2.0-source-release.zip +/maven-dependency-tree-2.1-source-release.zip +/maven-dependency-tree-2.2-source-release.zip +/maven-dependency-tree-3.0-source-release.zip +/maven-dependency-tree-3.0.1-source-release.zip +/maven-dependency-tree-3.1.0-source-release.zip diff --git a/.maven-dependency-tree.metadata b/.maven-dependency-tree.metadata new file mode 100644 index 0000000..c1970b9 --- /dev/null +++ b/.maven-dependency-tree.metadata @@ -0,0 +1 @@ +75d9eaff18ba3f617e70161e689250869c2bb741 maven-dependency-tree-3.1.0-source-release.zip diff --git a/maven-dependency-tree.spec b/maven-dependency-tree.spec new file mode 100644 index 0000000..5afc59e --- /dev/null +++ b/maven-dependency-tree.spec @@ -0,0 +1,173 @@ +%bcond_with bootstrap + +Name: maven-dependency-tree +Version: 3.1.0 +Release: 2%{?dist} +Summary: Maven dependency tree artifact +License: ASL 2.0 +URL: https://maven.apache.org/ +BuildArch: noarch +ExclusiveArch: %{java_arches} noarch + +Source0: https://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip + +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else +BuildRequires: maven-local +BuildRequires: mvn(org.apache.maven:maven-compat) +BuildRequires: mvn(org.apache.maven:maven-core) +BuildRequires: mvn(org.apache.maven.shared:maven-plugin-testing-harness) +BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:) +BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations) +BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) +BuildRequires: mvn(org.eclipse.aether:aether-api) +BuildRequires: mvn(org.eclipse.aether:aether-util) +%endif + +Provides: maven-shared-dependency-tree = %{version}-%{release} + +%description +Apache Maven dependency tree artifact. Originally part of maven-shared. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q + +rm -R src/main/java/org/apache/maven/shared/dependency/graph/internal/maven30 +rm src/main/java/org/apache/maven/shared/dependency/graph/internal/Maven3DependencyGraphBuilder.java +rm src/main/java/org/apache/maven/shared/dependency/graph/internal/Maven3DependencyCollectorBuilder.java +%pom_remove_dep org.sonatype.aether: + +%pom_remove_plugin :apache-rat-plugin +%pom_remove_plugin :maven-invoker-plugin + +%build +# Incompatible version of jMock (Fedora has 2.x, upstream uses 1.x) +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%doc LICENSE NOTICE + +%changelog +* Thu Jul 21 2022 Fedora Release Engineering - 3.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Apr 24 2022 Mikolaj Izdebski - 3.1.0-1 +- Update to upstream version 3.1.0 + +* Sat Feb 05 2022 Jiri Vanek - 3.0.1-10 +- Rebuilt for java-17-openjdk as system jdk + +* Thu Jan 20 2022 Fedora Release Engineering - 3.0.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 3.0.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon May 17 2021 Mikolaj Izdebski - 3.0.1-7 +- Bootstrap build +- Non-bootstrap build + +* Tue Jan 26 2021 Fedora Release Engineering - 3.0.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 3.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Jiri Vanek - 3.0.1-4 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Wed Jan 29 2020 Fedora Release Engineering - 3.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Nov 05 2019 Mikolaj Izdebski - 3.0.1-3 +- Mass rebuild for javapackages-tools 201902 + +* Thu Jul 25 2019 Fedora Release Engineering - 3.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 24 2019 Mikolaj Izdebski - 3.0.1-2 +- Mass rebuild for javapackages-tools 201901 + +* Tue May 14 2019 Mikolaj Izdebski - 3.0.1-1 +- Update to upstream version 3.0.1 + +* Fri Feb 01 2019 Fedora Release Engineering - 3.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 3.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Oct 9 2015 Mikolaj Izdebski - 3.0-1 +- Update to upstream version 3.0 + +* Wed Jun 17 2015 Fedora Release Engineering - 2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Sep 16 2014 Mikolaj Izdebski - 2.2-1 +- Update to upstream version 2.2 + +* Mon Aug 4 2014 Mikolaj Izdebski - 2.1-8 +- Fix build-requires on parent POM + +* Sat Jun 07 2014 Fedora Release Engineering - 2.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Mar 04 2014 Stanislav Ochotnicky - 2.1-6 +- Use Requires: java-headless rebuild (#1067528) + +* Wed Feb 19 2014 Mikolaj Izdebski - 2.1-5 +- Fix unowned directory + +* Fri Jan 17 2014 Mikolaj Izdebski - 2.1-4 +- Update to Maven 3 APIs + +* Thu Oct 3 2013 Mikolaj Izdebski - 2.1-3 +- Add missing BuildRequires + +* Sat Aug 03 2013 Fedora Release Engineering - 2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 24 2013 Mikolaj Izdebski - 2.1-1 +- Remove dependency on Sonatype Aether +- Resolves: rhbz#985704 + +* Mon Jul 22 2013 Mikolaj Izdebski - 2.1-1 +- Update to upstream version 2.1 + +* Thu Feb 14 2013 Fedora Release Engineering - 2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 2.0-3 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Thu Jan 10 2013 Mikolaj Izdebski - 2.0-2 +- Build with xmvn + +* Wed Oct 24 2012 Stanislav Ochotnicky - 2.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..d060071 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (maven-dependency-tree-3.1.0-source-release.zip) = a34df4748ed28dcf0224abd1ff7c2ebe228c90e95afa01b0a9590770392a9642c3b716cd09847c30f6a58492b5e08015f2ffa0e498f0351a85a97c6dc089e6c4