[flyingsaucer] fix itext B/R, fix javac target/source.

gil gil at fedoraproject.org
Sat Dec 15 03:46:02 UTC 2012


commit f2f0a82826ee8843895c809381f310c9e5274449
Author: gil <puntogil at libero.it>
Date:   Sat Dec 15 04:45:37 2012 +0100

    fix itext B/R, fix javac target/source.

 flyingsaucer.spec |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/flyingsaucer.spec b/flyingsaucer.spec
index 940c5d2..5b73543 100644
--- a/flyingsaucer.spec
+++ b/flyingsaucer.spec
@@ -1,7 +1,7 @@
 
 Name:          flyingsaucer
 Version:       8
-Release:       3%{?dist}
+Release:       4%{?dist}
 Summary:       XML/XHTML and CSS 2.1 renderer in pure Java
 Group:         Development/Libraries
 License:       LGPLv2+
@@ -20,12 +20,12 @@ BuildRequires: jpackage-utils
 
 BuildRequires: ant
 # main
-BuildRequires: itext
+BuildRequires: itext-core
 BuildRequires: xml-commons-apis
 # optional for svg demo
 BuildRequires: svgsalamander
 
-Requires:      itext
+Requires:      itext-core
 Requires:      xml-commons-apis
 
 Requires:      java
@@ -56,10 +56,10 @@ This package contains demostrations and samples for %{name}.
 %prep
 %setup -q -c
 
-find -name '*.class' -exec rm -f '{}' \;
-find -name '*.dll' -exec rm -f '{}' \;
-find -name '*.exe' -exec rm -f '{}' \;
-find -name '*.jar' -exec rm -f '{}' \;
+find -name '*.class' -delete
+find -name '*.dll' -delete
+find -name '*.exe' -delete
+find -name '*.jar' -delete
 
 # file non free licensed under CC-2.5
 rm -rf demos/browser/xhtml/recipebook-xml.css
@@ -96,6 +96,11 @@ sed -i 's/Class-Path: joshy-common.jar ss_css2.jar core-renderer.jar xalan.jar//
 # lib/dev/Pack200Task.jar !
 # lib/dev/jdic_win_30092005/jdic_30092005.jar !
 
+sed -i 's|<property name="compiler.source" value="1.4"/>|<property name="compiler.source" value="1.5"/>|' \
+  etc/build/properties.xml
+sed -i 's|<property name="compiler.target" value="1.4"/>|<property name="compiler.target" value="1.5"/>|' \
+  etc/build/properties.xml
+  
 %build
 
 # test skipped requires X11 DISPLAY variable set
@@ -146,6 +151,10 @@ cp -pr doc/full/api/* %{buildroot}%{_javadocdir}/%{name}
 %doc LICENSE*
 
 %changelog
+* Sat Dec 15 2012 gil cattaneo <puntogil at libero.it>  8-4
+- fix itext B/R
+- fix javac target/source 
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 8-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list