Core API for JDK Mission Control
be7d571543173f2e55f5a04e2aa35707a7d2f68c..1b97ab6f5346bc1e5d8762e8564d814ffd262f14
9 days ago CentOS Sources
import rh-jmc-jmc-core-7.0.0-4.20190211hg62c5279452a6.el7
1b97ab diff | tree
3 files added
1 files deleted
114 ■■■■■ changed files
.gitignore 1 ●●●● patch | view | raw | blame | history
.rh-jmc-jmc-core.metadata 1 ●●●● patch | view | raw | blame | history
README.md 4 ●●●● patch | view | raw | blame | history
SPECS/jmc-core.spec 108 ●●●●● patch | view | raw | blame | history
.gitignore
New file
@@ -0,0 +1 @@
SOURCES/62c5279452a6.tar.gz
.rh-jmc-jmc-core.metadata
New file
@@ -0,0 +1 @@
12595f69470b8ae045b9cc402d6402efe5b26152 SOURCES/62c5279452a6.tar.gz
README.md
File was deleted
SPECS/jmc-core.spec
New file
@@ -0,0 +1,108 @@
# https://src.fedoraproject.org/rpms/jmc-core/raw/jmc/f/jmc-core.spec
%{?scl:%scl_package jmc-core}
%{!?scl:%global pkg_name %{name}}
# Version
%global major 7
%global minor 0
%global patchlevel 0
# Revision
%global revnum 4
# set to 1 for hg snapshots, 0 for release
%global usesnapshot 1
# SNAPSHOT version
%global hgrevhash 62c5279452a6
%global hgrevdate 20190211
%global tarball_name jmc7-%{hgrevhash}
%if %{usesnapshot}
  %global releasestr %{revnum}.%{hgrevdate}hg%{hgrevhash}
%else
  %global releasestr %{revnum}
%endif
Name:     %{scl_prefix}jmc-core
Version:  %{major}.%{minor}.%{patchlevel}
Release:  %{releasestr}%{?dist}
Summary:  Core API for JDK Mission Control
License:  UPL
URL:      http://openjdk.java.net/projects/jmc/
Source0:    https://hg.openjdk.java.net/jmc/jmc7/archive/62c5279452a6.tar.gz
BuildArch:  noarch
BuildRequires:  %{?scl_prefix_maven}maven-local
BuildRequires:  %{?scl_prefix_jmc}mvn(org.owasp.encoder:encoder)
# maven requires generator will add Require for runtime dependency
# on mvn(org.owasp.encoder:encoder)
%description
JDK Mission Control is an advanced set of tools that enables efficient and
detailed analysis of the extensive data collected by JDK Flight Recorder.
The tool chain enables developers and administrators to collect and analyze data
from Java applications running locally or deployed in production environments.
%package javadoc
Summary:  Javadoc for %{name}
%description javadoc
%{summary}.
%prep
%setup -q -n %{tarball_name}/core
cp ../license/* ./
cp ../README.md ./
%pom_remove_plugin :nexus-staging-maven-plugin
%pom_remove_plugin org.apache.maven.plugins:maven-javadoc-plugin
%build
%{?scl:scl enable %{scl_maven} %{scl} - << "EOFSCL"}
# some tests require large heap and fail with OOM
# depending on the builder resources
%mvn_build -- -Dmaven.test.failure.ignore=true
%{?scl:EOFSCL}
%install
%{?scl:scl enable %{scl_maven} %{scl} - << "EOFSCL"}
%mvn_install
%{?scl:EOFSCL}
%files -f .mfiles
%license LICENSE.txt
%license THIRDPARTYREADME.txt
%doc README.md
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%license THIRDPARTYREADME.txt
%doc README.md
%changelog
* Wed Feb 27 2019 Jie Kang <jkang@redhat.com> - 7.0.0-4.20190211hg62c5279452a6
- Update to jmc7 revision 62c5279452a6
* Fri Feb 08 2019 Jie Kang <jkang@redhat.com> - 7.0.0-3.20190204hgbfd2c61eb116
- Update to jmc7 revision bfd2c61eb116
* Mon Jan 21 2019 Jie Kang <jkang@redhat.com> - 7.0.0-2.20181130hg1ddf3baa4e26
- SCL-ize package
* Fri Dec 21 2018 Jie Kang <jkang@redhat.com> - 7.0.0-1.20181130hg1ddf3baa4e26
- Update version to match jmc package
- Use tarball from URL instead of script
* Fri Nov 23 2018 Salman Siddiqui <sasiddiq@redhat.com> - 7.0.0-1.20181122hg9aa7085f938b
- Update to latest SNAPSHOT
* Fri Sep 14 2018 Salman Siddiqui <sasiddiq@redhat.com> - 7.0.0-1
- Initial packaging