From 47eaeda401b04d82cfa5bc52a58eb1450dcfc510 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Mar 16 2018 14:01:35 +0000 Subject: Remove -Werror to fix FTBFS --- diff --git a/jline.spec b/jline.spec index 8263e65..71f0962 100644 --- a/jline.spec +++ b/jline.spec @@ -1,6 +1,6 @@ Name: jline Version: 2.13 -Release: 11%{?dist} +Release: 12%{?dist} Summary: JLine is a Java library for handling console input License: BSD URL: https://github.com/jline/jline2 @@ -50,6 +50,9 @@ This package contains the API documentation for %{name}. %pom_xpath_remove "pom:build/pom:extensions" %pom_remove_plugin :maven-site-plugin +# Makes the build fail on deprecation warnings from jansi +%pom_xpath_remove 'pom:arg[text()="-Werror"]' + # Do not import non-existing internal package %pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Import-Package" %pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions" "javax.swing;resolution:=optional,org.fusesource.jansi,!org.fusesource.jansi.internal" @@ -76,6 +79,9 @@ find -name TerminalFactoryTest.java -delete %files javadoc -f .mfiles-javadoc %changelog +* Fri Mar 16 2018 Michael Simacek - 2.13-12 +- Remove -Werror to fix FTBFS + * Wed Feb 07 2018 Fedora Release Engineering - 2.13-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild