diff --git a/apache-commons-net.spec b/apache-commons-net.spec index 51e8f9e..3d33eda 100644 --- a/apache-commons-net.spec +++ b/apache-commons-net.spec @@ -42,7 +42,7 @@ rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java # Workaround for suprious test failure (NET-586) # Reported upstream: https://issues.apache.org/jira/browse/NET-586 -sed -i '/testFeb29IfLeapYear/s/./@org.junit.Ignore/' $(find -name FTPTimestampParserImplTest.java) +sed -i 's/testFeb29IfLeapYear/ignored_&/' $(find -name FTPTimestampParserImplTest.java) %mvn_file : %{short_name} %{name} %mvn_alias : org.apache.commons:%{short_name}