import jmc-core-8.0.0-2.module+el8.4.0+10229+75da8244
This commit is contained in:
parent
8e7f115f1e
commit
8bf6983673
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/e67446b5fc9d.tar.gz
|
SOURCES/8ab40bfb565c1002e84bb238a620ab81bb64eceb.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
676ac85e3a33296288129c09e1b898a9d460d36f SOURCES/e67446b5fc9d.tar.gz
|
84a94e40c47c9b5ab5975bb4c97ad6f69ae0c68f SOURCES/8ab40bfb565c1002e84bb238a620ab81bb64eceb.tar.gz
|
||||||
|
10
SOURCES/0-amend-lz4-java-reference.patch
Normal file
10
SOURCES/0-amend-lz4-java-reference.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
diff --git a/core/org.openjdk.jmc.common/META-INF/MANIFEST.MF b/core/org.openjdk.jmc.common/META-INF/MANIFEST.MF
|
||||||
|
index af4ea12..acd7831 100644
|
||||||
|
--- a/org.openjdk.jmc.common/META-INF/MANIFEST.MF
|
||||||
|
+++ b/org.openjdk.jmc.common/META-INF/MANIFEST.MF
|
||||||
|
@@ -13,4 +13,4 @@ Export-Package: org.openjdk.jmc.common,
|
||||||
|
org.openjdk.jmc.common.util,
|
||||||
|
org.openjdk.jmc.common.version
|
||||||
|
Automatic-Module-Name: org.openjdk.jmc.common
|
||||||
|
-Require-Bundle: org.owasp.encoder, org.lz4.lz4-java
|
||||||
|
+Require-Bundle: org.owasp.encoder, lz4-java
|
@ -1,21 +1,21 @@
|
|||||||
# Version
|
# Version
|
||||||
%global major 7
|
%global major 8
|
||||||
%global minor 1
|
%global minor 0
|
||||||
%global patchlevel 1
|
%global patchlevel 0
|
||||||
|
|
||||||
# Revision
|
# Revision
|
||||||
%global revnum 3
|
%global revnum 2
|
||||||
# set to 1 for hg snapshots, 0 for release
|
# set to 1 for snapshots, 0 for release
|
||||||
%global usesnapshot 0
|
%global usesnapshot 0
|
||||||
|
|
||||||
# SNAPSHOT version
|
# SNAPSHOT version
|
||||||
%global hgrevhash e67446b5fc9d
|
%global revhash 8ab40bfb565c1002e84bb238a620ab81bb64eceb
|
||||||
%global hgrevdate 20200422
|
%global revdate 20210212
|
||||||
|
|
||||||
%global tarball_name jmc7-%{hgrevhash}
|
%global tarball_name jmc-%{revhash}
|
||||||
|
|
||||||
%if %{usesnapshot}
|
%if %{usesnapshot}
|
||||||
%global releasestr %{revnum}.%{hgrevdate}hg%{hgrevhash}
|
%global releasestr %{revnum}.%{revdate}
|
||||||
%else
|
%else
|
||||||
%global releasestr %{revnum}
|
%global releasestr %{revnum}
|
||||||
%endif
|
%endif
|
||||||
@ -32,13 +32,21 @@ Summary: Core API for JDK Mission Control
|
|||||||
License: UPL
|
License: UPL
|
||||||
URL: http://openjdk.java.net/projects/jmc/
|
URL: http://openjdk.java.net/projects/jmc/
|
||||||
|
|
||||||
Source0: https://hg.openjdk.java.net/jmc/jmc7/archive/%{hgrevhash}.tar.gz
|
Source0: https://github.com/openjdk/jmc/archive/%{revhash}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: x86_64
|
||||||
|
|
||||||
|
# Change common manifest to reference lz4-java
|
||||||
|
Patch0: 0-amend-lz4-java-reference.patch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||||
|
BuildRequires: mvn(org.commonjava.maven.plugins:directory-maven-plugin)
|
||||||
BuildRequires: mvn(org.owasp.encoder:encoder)
|
BuildRequires: mvn(org.owasp.encoder:encoder)
|
||||||
|
|
||||||
|
BuildRequires: lz4-java
|
||||||
|
|
||||||
# maven requires generator will add Require for runtime dependency
|
# maven requires generator will add Require for runtime dependency
|
||||||
# on mvn(org.owasp.encoder:encoder)
|
# on mvn(org.owasp.encoder:encoder)
|
||||||
|
|
||||||
@ -59,16 +67,18 @@ Summary: Javadoc for %{name}
|
|||||||
cp ../license/* ./
|
cp ../license/* ./
|
||||||
cp ../README.md ./
|
cp ../README.md ./
|
||||||
|
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%pom_remove_plugin :nexus-staging-maven-plugin
|
%pom_remove_plugin :nexus-staging-maven-plugin
|
||||||
%pom_remove_plugin :maven-source-plugin
|
%pom_remove_plugin :maven-source-plugin
|
||||||
%pom_remove_plugin :maven-javadoc-plugin
|
%pom_remove_plugin :maven-javadoc-plugin
|
||||||
|
%pom_disable_module org.openjdk.jmc.flightrecorder.writer
|
||||||
|
|
||||||
%pom_remove_plugin :jacoco-maven-plugin tests
|
%pom_remove_plugin :jacoco-maven-plugin tests
|
||||||
%pom_disable_module coverage
|
%pom_disable_module coverage
|
||||||
|
|
||||||
# don't install test packages
|
# don't install test packages (aside from flightrecorder.test)
|
||||||
%mvn_package org.openjdk.jmc:missioncontrol.core.tests __noinstall
|
%mvn_package org.openjdk.jmc:missioncontrol.core.tests __noinstall
|
||||||
%mvn_package org.openjdk.jmc:flightrecorder.test __noinstall
|
|
||||||
%mvn_package org.openjdk.jmc:flightrecorder.rules.test __noinstall
|
%mvn_package org.openjdk.jmc:flightrecorder.rules.test __noinstall
|
||||||
%mvn_package org.openjdk.jmc:flightrecorder.rules.jdk.test __noinstall
|
%mvn_package org.openjdk.jmc:flightrecorder.rules.jdk.test __noinstall
|
||||||
|
|
||||||
@ -91,15 +101,26 @@ cp ../README.md ./
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 04 2021 Alex Macdonald <almacdon@redhat.com> - 8.0.0-2
|
||||||
|
- Add ExclusiveArch: x86_64
|
||||||
|
|
||||||
|
* Fri Feb 12 2021 Alex Macdonald <almacdon@redhat.com> - 8.0.0-1
|
||||||
|
- Update to jmc8 branch commit 8ab40bf
|
||||||
|
|
||||||
* Thu Apr 23 2020 Alex Macdonald <almacdon@redhat.com> - 7.1.1-3
|
* Thu Apr 23 2020 Alex Macdonald <almacdon@redhat.com> - 7.1.1-3
|
||||||
- Update to latest commit e67446b5fc9d
|
- Update to latest commit e67446b5fc9d
|
||||||
|
|
||||||
* Fri Apr 17 2020 Alex Macdonald <almacdon@redhat.com> - 7.1.1-2
|
* Fri Apr 17 2020 Alex Macdonald <almacdon@redhat.com> - 7.1.1-2
|
||||||
- remove plugins from pom (maven-source-plugin, jacoco)
|
- remove plugins from pom (maven-source-plugin, jacoco)
|
||||||
|
|
||||||
* Thu Apr 16 2020 Alex Macdonald <almacdon@redhat.com> - 7.1.1-1
|
* Thu Apr 16 2020 Alex Macdonald <almacdon@redhat.com> - 7.1.1-1
|
||||||
- Updated to version 7.1.1
|
- Updated to version 7.1.1
|
||||||
|
|
||||||
* Thu Nov 14 2019 Jie Kang <jkang@redhat.com> - 7.0.0-3
|
* Thu Nov 14 2019 Jie Kang <jkang@redhat.com> - 7.0.0-3
|
||||||
- Don't require junit
|
- Don't require junit
|
||||||
|
|
||||||
* Wed Nov 13 2019 Jie Kang <jkang@redhat.com> - 7.0.0-2
|
* Wed Nov 13 2019 Jie Kang <jkang@redhat.com> - 7.0.0-2
|
||||||
- Exclude test packages
|
- Exclude test packages
|
||||||
|
|
||||||
* Tue Mar 12 2019 Jie Kang <jkang@redhat.com> - 7.0.0-1
|
* Tue Mar 12 2019 Jie Kang <jkang@redhat.com> - 7.0.0-1
|
||||||
- Initial package
|
- Initial package
|
||||||
|
Loading…
Reference in New Issue
Block a user