From 403093cff8d65e76347ca806e331b973aac1f524 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Nov 10 2014 11:53:10 +0000 Subject: Change org.json:json dependency scope to test --- diff --git a/xstream.spec b/xstream.spec index cd62a4f..d2d2022 100644 --- a/xstream.spec +++ b/xstream.spec @@ -32,7 +32,7 @@ Name: xstream Version: 1.4.7 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Java XML serialization library License: BSD URL: http://xstream.codehaus.org/ @@ -154,6 +154,9 @@ find . -name "*.jar" -print -delete %pom_xpath_inject "pom:project/pom:dependencies/pom:dependency[pom:groupId = 'junit' ]" "test" xstream-benchmark %pom_remove_plugin :maven-javadoc-plugin xstream-benchmark +# test-only dependency without test scope (reported as XSTR-763) +%pom_xpath_inject "pom:project/pom:dependencies/pom:dependency[pom:artifactId = 'json' ]" "test" xstream + %mvn_file :%{name} %{name}/%{name} %{name} %mvn_file :%{name}-benchmark %{name}/%{name}-benchmark %{name}-benchmark @@ -177,6 +180,9 @@ find . -name "*.jar" -print -delete %doc LICENSE.txt %changelog +* Mon Nov 10 2014 Michael Simacek - 1.4.7-9 +- Change org.json:json dependency scope to test + * Wed Nov 5 2014 Mikolaj Izdebski - 1.4.7-8 - Remove workaround for RPM bug #646523