import sources

This commit is contained in:
Adam Samalik 2023-05-08 11:37:57 +02:00
commit 439b54ab03
3 changed files with 73 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/classloader-leak-test-framework-1.1.1.tar.gz

View File

@ -0,0 +1,71 @@
%bcond_with tests
Name: classloader-leak-test-framework
Version: 1.1.1
Release: 5%{?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)
%if %{with tests}
BuildRequires: mvn(javax.el:el-api)
BuildRequires: mvn(com.sun.faces:jsf-api)
BuildRequires: mvn(com.sun.faces:jsf-impl)
%endif
%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}/* .
%build
%if %{with tests}
%mvn_build
%else
%mvn_build -f
%endif
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Wed May 30 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.1-5
- Disable tests and remove dependency on mojarra
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Nov 03 2016 Tomas Repik <trepik@redhat.com> - 1.1.1-1
- initial package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (classloader-leak-test-framework-1.1.1.tar.gz) = 3525c3ff7bcffce19d0667607034bd624e79e6a2630303321e3b21353f614bc1c5ce7d792dc565b19934c16c584cbd47e533588a76a0fc00be1f6ac7578a6022