2018-06-27 09:58:21 +00:00
|
|
|
%bcond_without tests
|
2018-05-30 07:21:52 +00:00
|
|
|
|
2016-11-07 14:57:06 +00:00
|
|
|
Name: classloader-leak-test-framework
|
2022-02-16 14:06:47 +00:00
|
|
|
%global nwname classloader-leak-prevention-parent
|
|
|
|
Version: 2.7.0
|
2023-01-18 23:57:39 +00:00
|
|
|
Release: 4%{?dist}
|
2016-11-07 14:57:06 +00:00
|
|
|
Summary: Detection and verification of Java ClassLoader leaks
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://github.com/mjiderhamn/classloader-leak-prevention/tree/master/%{name}
|
2022-02-16 14:06:47 +00:00
|
|
|
Source0: https://github.com/mjiderhamn/classloader-leak-prevention/archive/%{nwname}-%{version}.tar.gz
|
2016-11-07 14:57:06 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
2022-07-08 12:42:30 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2016-11-07 14:57:06 +00:00
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
BuildRequires: mvn(org.apache.bcel:bcel)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Stand-alone test framework for detecting and/or verifying the existence or
|
|
|
|
non-existence of Java ClassLoader leaks. It is also possible to test leak
|
|
|
|
prevention mechanisms to confirm that the leak really is avoided. The framework
|
|
|
|
is an built upon JUnit.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
This package contains the API documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2022-02-16 14:06:47 +00:00
|
|
|
%setup -q -n classloader-leak-prevention-%{nwname}-%{version}
|
2020-04-20 07:39:40 +00:00
|
|
|
|
2016-11-07 14:57:06 +00:00
|
|
|
rm -r classloader-leak-prevention
|
|
|
|
cp -r %{name}/* .
|
|
|
|
|
2020-04-20 07:39:40 +00:00
|
|
|
%pom_remove_dep com.sun.faces:jsf-api
|
|
|
|
%pom_remove_dep com.sun.faces:jsf-impl
|
2020-08-25 06:43:53 +00:00
|
|
|
%pom_remove_dep javax.el:el-api
|
2022-02-16 14:06:47 +00:00
|
|
|
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
|
2020-04-20 07:39:40 +00:00
|
|
|
|
2021-05-12 12:04:46 +00:00
|
|
|
%pom_remove_plugin -r :maven-javadoc-plugin
|
|
|
|
|
2016-11-07 14:57:06 +00:00
|
|
|
%build
|
2018-05-30 07:21:52 +00:00
|
|
|
%if %{with tests}
|
2020-05-15 05:56:56 +00:00
|
|
|
%mvn_build --xmvn-javadoc
|
2018-05-30 07:21:52 +00:00
|
|
|
%else
|
2020-05-15 05:56:56 +00:00
|
|
|
%mvn_build -f --xmvn-javadoc
|
2018-05-30 07:21:52 +00:00
|
|
|
%endif
|
2016-11-07 14:57:06 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
2020-05-15 05:56:56 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
2016-11-07 14:57:06 +00:00
|
|
|
%changelog
|
2023-01-18 23:57:39 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-20 23:02:32 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-08 12:42:30 +00:00
|
|
|
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 2.7.0-2
|
|
|
|
- Rebuilt for Drop i686 JDKs
|
|
|
|
|
2022-02-16 14:06:47 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.7.0-1
|
|
|
|
- bumped to newest versio
|
|
|
|
- moved source/target to 8
|
|
|
|
|
2022-02-05 18:55:46 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.1.1-18
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
2022-01-19 23:18:51 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 19:32:34 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-12 12:04:46 +00:00
|
|
|
* Wed May 12 2021 Ondrej Dubaj <odubaj@redhat.com> - 1.1.1-15
|
|
|
|
- Remove maven-javadoc-plugin dependency
|
|
|
|
|
2021-01-26 02:03:02 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 14:03:11 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-10 15:23:58 +00:00
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.1.1-12
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
2020-05-15 05:56:56 +00:00
|
|
|
* Fri May 15 2020 Ondrej Dubaj <odubaj@redhat.com> - 1.1.1-11
|
|
|
|
- fixed javadoc build problem
|
|
|
|
|
2020-05-14 08:48:20 +00:00
|
|
|
* Thu May 14 2020 Jiri Vanek <jvanek@redhat.com> - 1.1.1-10
|
2020-05-14 08:39:28 +00:00
|
|
|
- removed javadoc, as it is broken as tooling is not ready for jdk11
|
|
|
|
|
2020-01-28 14:08:57 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-24 20:21:11 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 15:41:19 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 21:50:48 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-30 07:21:52 +00:00
|
|
|
* Wed May 30 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.1-5
|
|
|
|
- Disable tests and remove dependency on mojarra
|
|
|
|
|
2018-02-07 05:03:07 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-26 04:55:36 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 07:33:10 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-11-07 14:57:06 +00:00
|
|
|
* Thu Nov 03 2016 Tomas Repik <trepik@redhat.com> - 1.1.1-1
|
|
|
|
- initial package
|
|
|
|
|