Fridrich Strba 2024-11-13 22:20:06 +00:00 committed by Git OBS Bridge
parent 595061919b
commit d74268f3b8
4 changed files with 8 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3af29c69665f247af08f1d60a7bdcf83c18cfe272a572f697a87ce015ce7067d
size 217803

3
parent-0.16.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec559ab546f5af67670afe747022fe198088ea5a5baafa3071747a9ccb927fe4
size 245785

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e2567d9b6baaa2043d0487ab8d9524a266519be3b4848a41a80ad2a74915a9a
size 162801

View File

@ -19,7 +19,7 @@
%global version_id parent
%global upstream_name client_java
Name: prometheus-simpleclient-java
Version: 0.12.0
Version: 0.16.0
Release: 0
Summary: Prometheus Java Suite
License: Apache-2.0 AND CC0-1.0
@ -167,6 +167,7 @@ find . -name \*.jar -print0 | xargs -0 rm
%pom_remove_plugin :maven-release-plugin
%pom_remove_plugin :maven-deploy-plugin
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :versions-maven-plugin
for m in simpleclient_caffeine \
simpleclient_dropwizard \
@ -174,6 +175,7 @@ for m in simpleclient_caffeine \
simpleclient_spring_web \
simpleclient_spring_boot \
simpleclient_vertx \
simpleclient_vertx4 \
integration_tests \
benchmarks; do
%pom_disable_module $m
@ -189,8 +191,8 @@ done
%pom_add_dep io.prometheus:simpleclient_tracer_common:%{version} simpleclient
# Change compiler source/target version to JDK 8 level
%pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" "1.8" pom.xml
%pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" "1.8" pom.xml
%pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" "1.8" . simpleclient_hotspot
%pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" "1.8" . simpleclient_hotspot
%build
%{mvn_build} -f -s