Don't package test artifacts

This commit is contained in:
Michael Simacek 2018-04-24 13:16:33 +02:00
parent a001671bff
commit 8d4aa3fad6
1 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@
Name: netty
Version: 4.1.13
Release: 2%{?dist}
Release: 3%{?dist}
Summary: An asynchronous event-driven network application framework and tools for Java
License: ASL 2.0
URL: https://netty.io/
@ -172,6 +172,8 @@ sed -i 's|taskdef|taskdef classpathref="maven.plugin.classpath"|' all/pom.xml
# the linux classifier.
%mvn_package ":::linux*:"
%mvn_package ':*-tests' __noinstall
%build
export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
%mvn_build -f
@ -186,6 +188,9 @@ export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
%doc LICENSE.txt NOTICE.txt
%changelog
* Tue Apr 24 2018 Michael Simacek <msimacek@redhat.com> - 4.1.13-3
- Don't package test artifacts
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild