diff --git a/snakeyaml.spec b/snakeyaml.spec index fafd94d..1962246 100644 --- a/snakeyaml.spec +++ b/snakeyaml.spec @@ -5,7 +5,7 @@ Name: snakeyaml Summary: YAML parser and emitter for Java Version: 1.26 -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 URL: https://bitbucket.org/asomov/%{name} @@ -26,7 +26,6 @@ BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(commons-codec:commons-codec) BuildRequires: mvn(commons-io:commons-io) -BuildRequires: mvn(joda-time:joda-time) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-lang3) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) @@ -77,6 +76,10 @@ rm -f src/test/java/examples/SpringTest.java # Replacement for bundled gdata-java-client %pom_add_dep commons-codec:commons-codec +# Unnecessary test-time only dependency +%pom_remove_dep joda-time:joda-time +rm -rf src/test/java/examples/jodatime + # remove bundled stuff rm -rf target @@ -111,6 +114,9 @@ rm src/test/java/org/yaml/snakeyaml/helpers/FileTestHelper.java %changelog +* Wed May 06 2020 Mat Booth - 1.26-2 +- Drop unnecessary dep on joda-time + * Wed Apr 15 2020 Severin Gehwolf - 1.26-1 - Update to latest upstream 1.26 release. - Resolves: CVE-2017-18640