Remove build-dependency on exec-maven-plugin

This commit is contained in:
Mikolaj Izdebski 2021-07-10 13:50:43 +02:00
commit 01bec5c9de

View File

@ -1,10 +1,9 @@
%global base_name net
%global short_name commons-%{base_name}
Name: apache-%{short_name}
Version: 3.6
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Internet protocol suite Java library
License: ASL 2.0
URL: http://commons.apache.org/%{base_name}/
@ -16,8 +15,6 @@ BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin)
%description
This is an Internet protocol suite Java library originally developed by
@ -40,6 +37,8 @@ rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
# Fails in Koji with "Address already in use"
rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
%pom_remove_plugin :exec-maven-plugin
%mvn_file : %{short_name} %{name}
%mvn_alias : org.apache.commons:%{short_name}
@ -49,7 +48,6 @@ rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
%install
%mvn_install
%files -f .mfiles
%doc README.md RELEASE-NOTES.txt
%license LICENSE.txt NOTICE.txt
@ -58,9 +56,15 @@ rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
%license LICENSE.txt NOTICE.txt
%changelog
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-12
- Remove build-dependency on exec-maven-plugin
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Sep 30 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-6
- Remove build-dependency on exec-maven-plugin
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
@ -70,9 +74,15 @@ rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-5
- Mass rebuild for javapackages-tools 201902
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-4
- Mass rebuild for javapackages-tools 201901
* Thu Feb 07 2019 Mat Booth <mat.booth@redhat.com> - 3.6-6
- Rebuild to regenerate OSGi metadata
@ -187,4 +197,3 @@ rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.0-1
- Update to upstream 2.0.