Bumped to 2.7.0, set source/target to 8
This commit is contained in:
parent
e7f928c74c
commit
161f976da0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/classloader-leak-test-framework-1.1.1.tar.gz
|
||||
/classloader-leak-prevention-parent-2.7.0.tar.gz
|
||||
|
@ -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;<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
|
||||
|
||||
@ -56,6 +60,10 @@ cp -r %{name}/* .
|
||||
%license LICENSE.txt
|
||||
|
||||
%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
|
||||
- Rebuilt for java-17-openjdk as system jdk
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user