From 161f976da00680e122c2bf07f59dffa753ff8d6b Mon Sep 17 00:00:00 2001 From: Jiri Date: Wed, 16 Feb 2022 15:06:47 +0100 Subject: [PATCH] Bumped to 2.7.0, set source/target to 8 --- .gitignore | 1 + classloader-leak-test-framework.spec | 16 ++++++++++++---- sources | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2792166..91c910a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /classloader-leak-test-framework-1.1.1.tar.gz +/classloader-leak-prevention-parent-2.7.0.tar.gz diff --git a/classloader-leak-test-framework.spec b/classloader-leak-test-framework.spec index 5777386..0d44e33 100644 --- a/classloader-leak-test-framework.spec +++ b/classloader-leak-test-framework.spec @@ -1,12 +1,13 @@ %bcond_without tests Name: classloader-leak-test-framework -Version: 1.1.1 -Release: 18%{?dist} +%global nwname classloader-leak-prevention-parent +Version: 2.7.0 +Release: 1%{?dist} Summary: Detection and verification of Java ClassLoader leaks License: ASL 2.0 URL: https://github.com/mjiderhamn/classloader-leak-prevention/tree/master/%{name} -Source0: https://github.com/mjiderhamn/classloader-leak-prevention/archive/%{name}-%{version}.tar.gz +Source0: https://github.com/mjiderhamn/classloader-leak-prevention/archive/%{nwname}-%{version}.tar.gz BuildArch: noarch @@ -27,7 +28,7 @@ Summary: Javadoc for %{name} This package contains the API documentation for %{name}. %prep -%setup -q -n classloader-leak-prevention-%{name}-%{version} +%setup -q -n classloader-leak-prevention-%{nwname}-%{version} rm -r classloader-leak-prevention cp -r %{name}/* . @@ -35,6 +36,9 @@ cp -r %{name}/* . %pom_remove_dep com.sun.faces:jsf-api %pom_remove_dep com.sun.faces:jsf-impl %pom_remove_dep javax.el:el-api +sed "s;1.6;8;" -i pom.xml +sed "s;1.6;8;" -i pom.xml +cat pom.xml | grep -B 3 -A 3 -e 1.6 -e 8 %pom_remove_plugin -r :maven-javadoc-plugin @@ -56,6 +60,10 @@ cp -r %{name}/* . %license LICENSE.txt %changelog +* Sat Feb 05 2022 Jiri Vanek - 2.7.0-1 +- bumped to newest versio +- moved source/target to 8 + * Sat Feb 05 2022 Jiri Vanek - 1.1.1-18 - Rebuilt for java-17-openjdk as system jdk diff --git a/sources b/sources index c420842..7585c65 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -33c85d1be94dd0d4d99e8496f6445415 classloader-leak-test-framework-1.1.1.tar.gz +SHA512 (classloader-leak-prevention-parent-2.7.0.tar.gz) = 3d7708cadac2599d60340cd787e3125394aa9d3d56de29aa49674b05e5958ace29cb0ef63619e3e6517f99161d46707360952619a979a44f23ec0321ca98dc1a