From 86d97e1764f63ea7fc5822aea0c0fcc99e684fbc Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Apr 09 2013 13:34:39 +0000 Subject: Remove iText PDF backend --- diff --git a/maven-doxia-sitetools.spec b/maven-doxia-sitetools.spec index de4d0f4..f8add0d 100644 --- a/maven-doxia-sitetools.spec +++ b/maven-doxia-sitetools.spec @@ -33,7 +33,7 @@ Name: %{parent}-%{subproj} Version: 1.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Doxia content generation framework License: ASL 2.0 Group: Development/Tools @@ -46,7 +46,6 @@ Patch0: 0003-Migration-to-component-metadata.patch Patch1: 0001-Remove-dependency-on-velocity-tools.patch BuildRequires: java-devel >= 1:1.7.0 -BuildRequires: itext BuildRequires: jpackage-utils BuildRequires: maven-local BuildRequires: maven-compiler-plugin @@ -118,6 +117,18 @@ API documentation for %{name}. %pom_xpath_inject "pom:plugin[pom:artifactId[text()='modello-maven-plugin']]/pom:configuration" \ "true" doxia-decoration-model +# There are two backends for generating PDFs: one based on iText and +# one using FOP. iText module is broken and only brings additional +# dependencies. Besides that upstream admits that iText support will +# likely removed in future versions of Doxia. In Fedora we remove +# iText backend sooner in order to fix dependency problems. +# +# See also: http://maven.apache.org/doxia/faq.html#How_to_export_in_PDF +# http://lists.fedoraproject.org/pipermail/java-devel/2013-April/004742.html +rm -rf $(find -type d -name itext) +%pom_remove_dep :itext doxia-doc-renderer +%pom_remove_dep :doxia-module-itext doxia-doc-renderer + %build # tests can't run because of missing deps %mvn_build -f @@ -131,6 +142,9 @@ API documentation for %{name}. %files javadoc -f .mfiles-javadoc %changelog +* Tue Apr 9 2013 Mikolaj Izdebski - 1.3-3 +- Remove iText PDF backend + * Tue Apr 09 2013 Michal Srb - Remove dependency on velocity-tools