changeset 2015:2722ffe3454e

Update spec file to account for profiler changes. Backport of: http://icedtea.classpath.org/hg/thermostat/rev/0c18f8ad1530 PR3156 Reviewed-by: jerboaa Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2016-August/020748.html
author Jie Kang <jkang@redhat.com>
date Tue, 30 Aug 2016 10:05:18 -0400
parents 95d4e43f484f
children 145331068b53
files distribution/packaging/fedora/thermostat.spec
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/distribution/packaging/fedora/thermostat.spec	Mon Aug 29 14:51:15 2016 -0400
+++ b/distribution/packaging/fedora/thermostat.spec	Tue Aug 30 10:05:18 2016 -0400
@@ -260,6 +260,7 @@
 BuildRequires: %{?scl_prefix_java_common}javapackages-tools
 BuildRequires: %{?scl_prefix_maven}maven-local
 BuildRequires: %{?scl_prefix_maven}maven-dependency-plugin
+BuildRequires: %{?scl_prefix_maven}maven-shade-plugin
 BuildRequires: %{?scl_prefix_maven}maven-surefire-plugin
 BuildRequires: %{?scl_prefix_maven}maven-war-plugin
 BuildRequires: %{?scl_prefix_maven}maven-clean-plugin
@@ -405,6 +406,10 @@
 Requires: %{?scl_prefix_java_common}osgi(org.apache.httpcomponents.httpclient) >= %{hc_client_bundle_version}
 Requires: %{?scl_prefix_java_common}osgi(org.apache.httpcomponents.httpmime) >= %{hc_client_bundle_version}
 
+# The version of asm that this package builds against gets bundled in
+# See https://fedorahosted.org/fpc/ticket/226 for the same issue in another package
+Provides: %{?scl_prefix}bundled(%{?scl_prefix_maven}mvn(%{object_web_asm_maven_coords})
+
 %description
 Thermostat is a monitoring and instrumentation tool for the Hotspot JVM,
 with support for monitoring multiple JVM instances. The system is made