Bumped to 2.7.0, set source/target to 8

This commit is contained in:
Jiri 2022-02-16 15:06:47 +01:00
parent e7f928c74c
commit 161f976da0
3 changed files with 14 additions and 5 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/classloader-leak-test-framework-1.1.1.tar.gz /classloader-leak-test-framework-1.1.1.tar.gz
/classloader-leak-prevention-parent-2.7.0.tar.gz

View File

@ -1,12 +1,13 @@
%bcond_without tests %bcond_without tests
Name: classloader-leak-test-framework Name: classloader-leak-test-framework
Version: 1.1.1 %global nwname classloader-leak-prevention-parent
Release: 18%{?dist} Version: 2.7.0
Release: 1%{?dist}
Summary: Detection and verification of Java ClassLoader leaks Summary: Detection and verification of Java ClassLoader leaks
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/mjiderhamn/classloader-leak-prevention/tree/master/%{name} 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 BuildArch: noarch
@ -27,7 +28,7 @@ Summary: Javadoc for %{name}
This package contains the API documentation for %{name}. This package contains the API documentation for %{name}.
%prep %prep
%setup -q -n classloader-leak-prevention-%{name}-%{version} %setup -q -n classloader-leak-prevention-%{nwname}-%{version}
rm -r classloader-leak-prevention rm -r classloader-leak-prevention
cp -r %{name}/* . 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-api
%pom_remove_dep com.sun.faces:jsf-impl %pom_remove_dep com.sun.faces:jsf-impl
%pom_remove_dep javax.el:el-api %pom_remove_dep javax.el:el-api
sed "s;<maven.compiler.source>1.6</maven.compiler.source>;<maven.compiler.source>8</maven.compiler.source>;" -i pom.xml
sed "s;<maven.compiler.target>1.6</maven.compiler.target>;<maven.compiler.target>8</maven.compiler.target>;" -i pom.xml
cat pom.xml | grep -B 3 -A 3 -e 1.6 -e 8
%pom_remove_plugin -r :maven-javadoc-plugin %pom_remove_plugin -r :maven-javadoc-plugin
@ -56,6 +60,10 @@ cp -r %{name}/* .
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.7.0-1
- bumped to newest versio
- moved source/target to 8
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.1.1-18 * Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.1.1-18
- Rebuilt for java-17-openjdk as system jdk - Rebuilt for java-17-openjdk as system jdk

View File

@ -1 +1 @@
33c85d1be94dd0d4d99e8496f6445415 classloader-leak-test-framework-1.1.1.tar.gz SHA512 (classloader-leak-prevention-parent-2.7.0.tar.gz) = 3d7708cadac2599d60340cd787e3125394aa9d3d56de29aa49674b05e5958ace29cb0ef63619e3e6517f99161d46707360952619a979a44f23ec0321ca98dc1a