Disable tests and remove dependency on mojarra
- Resolves: rhbz#1584006
This commit is contained in:
parent
e4c17e1b1d
commit
a32421832a
@ -1,6 +1,8 @@
|
||||
%bcond_with tests
|
||||
|
||||
Name: classloader-leak-test-framework
|
||||
Version: 1.1.1
|
||||
Release: 4%{?dist}
|
||||
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}
|
||||
@ -8,14 +10,14 @@ Source0: https://github.com/mjiderhamn/classloader-leak-prevention/archive/%{nam
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
# build
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.bcel:bcel)
|
||||
# test dependencies
|
||||
BuildRequires: mvn(javax.el:el-api)
|
||||
BuildRequires: mvn(com.sun.faces:jsf-api)
|
||||
BuildRequires: mvn(com.sun.faces:jsf-impl)
|
||||
%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
|
||||
@ -35,7 +37,11 @@ rm -r classloader-leak-prevention
|
||||
cp -r %{name}/* .
|
||||
|
||||
%build
|
||||
%if %{with tests}
|
||||
%mvn_build
|
||||
%else
|
||||
%mvn_build -f
|
||||
%endif
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
@ -48,6 +54,9 @@ cp -r %{name}/* .
|
||||
%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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user