classloader-leak-test-frame.../classloader-leak-test-framework.spec

51 lines
1.5 KiB
RPMSpec

Name: classloader-leak-test-framework
Version: 1.1.1
Release: 8
Summary: Detection and verification of Java ClassLoader leaks
License: Apache-2.0
URL: https://github.com/mjiderhamn/classloader-leak-prevention/tree/master/%{name}
Source0: https://github.com/mjiderhamn/classloader-leak-prevention/archive/refs/tags/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.bcel:bcel)
BuildRequires: mvn(javax.el:el-api) mvn(com.sun.faces:jsf-api) mvn(com.sun.faces:jsf-impl)
%description
Independent testing framework for detecting and / or verifying the existence
of Java ClassLoader leaks. You can also test the leak prevention mechanism to
confirm that the leak was indeed avoided. The framework is built on JUnit.
%package help
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
Summary: Javadoc for %{name}
%description help
This package contains the API documentation for %{name}.
%prep
%autosetup -n classloader-leak-prevention-%{name}-%{version} -p1
rm -r classloader-leak-prevention
cp -r %{name}/* .
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE.txt
%files help -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Wed Nov 23 2022 Ge Wang<wangge20@h-partners.com> - 1.1.1-8
- Bring source file into correspondence with described in spec file
* Tue Feb 25 2020 yangjian<yangjian79@huawei.com> - 1.1.1-7
- Package init