Blame SPECS/classloader-leak-test-framework.spec

372fa3
%bcond_with tests
372fa3
372fa3
Name:		classloader-leak-test-framework
372fa3
Version:	1.1.1
372fa3
Release:	5%{?dist}
372fa3
Summary:	Detection and verification of Java ClassLoader leaks
372fa3
License:	ASL 2.0
372fa3
URL:		https://github.com/mjiderhamn/classloader-leak-prevention/tree/master/%{name}
372fa3
Source0:	https://github.com/mjiderhamn/classloader-leak-prevention/archive/%{name}-%{version}.tar.gz
372fa3
372fa3
BuildArch:	noarch
372fa3
372fa3
BuildRequires:	maven-local
372fa3
BuildRequires:	mvn(junit:junit)
372fa3
BuildRequires:	mvn(org.apache.bcel:bcel)
372fa3
%if %{with tests}
372fa3
BuildRequires: mvn(javax.el:el-api)
372fa3
BuildRequires: mvn(com.sun.faces:jsf-api)
372fa3
BuildRequires: mvn(com.sun.faces:jsf-impl)
372fa3
%endif
372fa3
372fa3
%description
372fa3
Stand-alone test framework for detecting and/or verifying the existence or
372fa3
non-existence of Java ClassLoader leaks. It is also possible to test leak
372fa3
prevention mechanisms to confirm that the leak really is avoided. The framework
372fa3
is an built upon JUnit.
372fa3
372fa3
%package javadoc
372fa3
Summary:	Javadoc for %{name}
372fa3
372fa3
%description javadoc
372fa3
This package contains the API documentation for %{name}.
372fa3
372fa3
%prep
372fa3
%setup -q -n classloader-leak-prevention-%{name}-%{version}
372fa3
rm -r classloader-leak-prevention
372fa3
cp -r %{name}/* .
372fa3
372fa3
%build
372fa3
%if %{with tests}
372fa3
%mvn_build
372fa3
%else
372fa3
%mvn_build -f
372fa3
%endif
372fa3
372fa3
%install
372fa3
%mvn_install
372fa3
372fa3
%files -f .mfiles
372fa3
%doc README.md
372fa3
%license LICENSE.txt
372fa3
372fa3
%files javadoc -f .mfiles-javadoc
372fa3
%license LICENSE.txt
372fa3
372fa3
%changelog
372fa3
* Wed May 30 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.1-5
372fa3
- Disable tests and remove dependency on mojarra
372fa3
372fa3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
372fa3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
372fa3
372fa3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
372fa3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
372fa3
372fa3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
372fa3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
372fa3
372fa3
* Thu Nov 03 2016 Tomas Repik <trepik@redhat.com> - 1.1.1-1
372fa3
- initial package
372fa3