Allow testframework to still be built even with tests disabled, which is
needed by other packages
This commit is contained in:
parent
7bc25953f9
commit
9f58bf4110
@ -3,7 +3,7 @@
|
||||
|
||||
Name: apache-%{short_name}
|
||||
Version: 3.2.2
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: Provides new interfaces, implementations and utilities for Java Collections
|
||||
License: ASL 2.0
|
||||
URL: http://commons.apache.org/%{base_name}/
|
||||
@ -66,7 +66,7 @@ sed -i 's/\r//' LICENSE.txt PROPOSAL.html README.txt NOTICE.txt
|
||||
%build
|
||||
# 2017-09-18 mizdebsk: Temporarly disable tests, they stopped working
|
||||
# after Maven Surefire upgrade to 2.20, need to investigate why.
|
||||
%mvn_build -f
|
||||
%mvn_build -- -DskipTests
|
||||
|
||||
ant tf.javadoc -Dtf.build.docs=target/site/apidocs/
|
||||
|
||||
@ -82,15 +82,20 @@ dummy = posix.readlink(dir) and os.remove(dir)
|
||||
|
||||
|
||||
%files -f .mfiles
|
||||
%doc PROPOSAL.html README.txt LICENSE.txt NOTICE.txt
|
||||
%doc PROPOSAL.html README.txt
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
|
||||
%files testframework -f .mfiles-testframework
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 24 2018 Mat Booth <mat.booth@redhat.com> - 3.2.2-8
|
||||
- Allow testframework to still be built even with tests disabled, which is
|
||||
needed by other packages
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user