From 4caf507be07313f89d44c0cced0cc4646c6c47ca Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Thu, 4 May 2017 11:33:32 +0200 Subject: [PATCH] Suppress requires from batik-all uberjar --- batik.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/batik.spec b/batik.spec index 0b90893..a7b4dbf 100644 --- a/batik.spec +++ b/batik.spec @@ -2,7 +2,7 @@ Name: batik Version: 1.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Scalable Vector Graphics for Java License: ASL 2.0 and W3C URL: https://xmlgraphics.apache.org/batik/ @@ -106,6 +106,9 @@ cp -p %{SOURCE1} batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbr # We don't want a dependency %pom_xpath_inject 'pom:dependency[pom:artifactId="jython"]' 'true' batik-script +# It's an uberjar, it shouldn't have requires +%pom_xpath_inject pom:dependency 'true' batik-all + # eclipse expects xmlgraphics to be optional %pom_xpath_inject 'pom:dependency[pom:artifactId="xmlgraphics-commons"]' 'true' batik-css @@ -187,6 +190,9 @@ cp -pr samples $RPM_BUILD_ROOT%{_datadir}/%{name}/ %changelog +* Thu May 04 2017 Michael Simacek - 1.9-3 +- Suppress requires from batik-all uberjar + * Wed Apr 26 2017 Michael Simacek - 1.9-2 - Fix OSGi metadata generation and eclipse compatibility