From 748cd47cdce8e067d90d5ae55c551c5cfdaddc6d Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Jun 22 2015 08:33:50 +0000 Subject: Update to ver. 8027. Also Fix compilation errors. --- diff --git a/plantuml-doc-errors.patch b/plantuml-doc-errors.patch new file mode 100644 index 0000000..1014aa7 --- /dev/null +++ b/plantuml-doc-errors.patch @@ -0,0 +1,21 @@ +Fix compilation under openjdk 1.8.0_60. + +diff -up plantuml/src/net/sourceforge/plantuml/AnimatedGifEncoder.java.old plantuml/src/net/sourceforge/plantuml/AnimatedGifEncoder.java +--- plantuml/src/net/sourceforge/plantuml/AnimatedGifEncoder.java.old 2015-06-22 09:50:44.050253313 +0200 ++++ plantuml/src/net/sourceforge/plantuml/AnimatedGifEncoder.java 2015-06-22 09:51:08.031355587 +0200 +@@ -136,7 +136,6 @@ public class AnimatedGifEncoder { + * + * @param iter + * int number of iterations. +- * @return + */ + public void setRepeat(int iter) { + if (iter >= 0) { +@@ -258,7 +257,6 @@ public class AnimatedGifEncoder { + * + * @param quality + * int greater than 0. +- * @return + */ + public void setQuality(int quality) { + if (quality < 1) diff --git a/plantuml.spec b/plantuml.spec index e531ab8..4d5c0c9 100644 --- a/plantuml.spec +++ b/plantuml.spec @@ -1,6 +1,6 @@ Name: plantuml -Version: 8020 -Release: 2%{?dist} +Version: 8027 +Release: 1%{?dist} Summary: Program to generate UML diagram from a text description License: LGPLv3+ @@ -16,6 +16,8 @@ BuildRequires: ant Requires: jpackage-utils Requires: java-headless +Patch1: plantuml-doc-errors.patch + %description PlantUML is a program allowing to draw UML diagrams, using a simple and human readable text description. It is extremely useful for code @@ -40,6 +42,7 @@ This package contains the API documentation for %{name}. %prep %setup -q -c -n plantuml +%patch1 -p1 -b .doc-errors %build ant @@ -65,6 +68,9 @@ cp -rp javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} %{_javadocdir}/%{name} %changelog +* Mon Jun 22 2015 Jan Safranek - 8027-1 +- Update to ver. 8027 + * Thu Jun 18 2015 Fedora Release Engineering - 8020-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild