48 lines
1.3 KiB
RPMSpec
48 lines
1.3 KiB
RPMSpec
Name: classloader-leak-test-framework
|
|
Version: 1.1.1
|
|
Release: 7
|
|
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 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
|
|
* Tue Feb 25 2020 yangjian<yangjian79@huawei.com> - 1.1.1-7
|
|
- Package init
|