From 39f7fc333994c7b303541fcffb8cdb9faf5335ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Wed, 14 Oct 2020 22:53:41 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/classloader-leak-test-framework#446a7b11b57cfdcf0d788bf06da6032e4fcf02f1 --- .gitignore | 1 + classloader-leak-test-framework.spec | 95 ++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 97 insertions(+) create mode 100644 classloader-leak-test-framework.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..2792166 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/classloader-leak-test-framework-1.1.1.tar.gz diff --git a/classloader-leak-test-framework.spec b/classloader-leak-test-framework.spec new file mode 100644 index 0000000..bb16ebe --- /dev/null +++ b/classloader-leak-test-framework.spec @@ -0,0 +1,95 @@ +%bcond_without tests + +Name: classloader-leak-test-framework +Version: 1.1.1 +Release: 13%{?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 + +BuildArch: noarch + +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 +%setup -q -n classloader-leak-prevention-%{name}-%{version} + +rm -r classloader-leak-prevention +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 + +%build +%if %{with tests} +%mvn_build --xmvn-javadoc +%else +%mvn_build -f --xmvn-javadoc +%endif + +%install +%mvn_install + +%files -f .mfiles +%doc README.md +%license LICENSE.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt + +%changelog +* Mon Jul 27 2020 Fedora Release Engineering - 1.1.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Jiri Vanek - 1.1.1-12 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Fri May 15 2020 Ondrej Dubaj - 1.1.1-11 +- fixed javadoc build problem + +* Thu May 14 2020 Jiri Vanek - 1.1.1-10 +- removed javadoc, as it is broken as tooling is not ready for jdk11 + +* Tue Jan 28 2020 Fedora Release Engineering - 1.1.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 1.1.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 1.1.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 1.1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed May 30 2018 Mikolaj Izdebski - 1.1.1-5 +- Disable tests and remove dependency on mojarra + +* Wed Feb 07 2018 Fedora Release Engineering - 1.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Nov 03 2016 Tomas Repik - 1.1.1-1 +- initial package + diff --git a/sources b/sources new file mode 100644 index 0000000..c420842 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +33c85d1be94dd0d4d99e8496f6445415 classloader-leak-test-framework-1.1.1.tar.gz