[scirenderer/f18] Use tee instead of cat to print out the jar path

Clément David davidcl at fedoraproject.org
Fri Nov 16 13:31:18 UTC 2012


commit 7590e5c7eaa1b94600234d78bc33145d73dacbcb
Author: Clément DAVID <clement.david at scilab-enterprises.com>
Date:   Fri Nov 16 14:30:42 2012 +0100

    Use tee instead of cat to print out the jar path
    
    - remove noarch to pass the build (f18 only)
    - rebuilt

 scirenderer.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/scirenderer.spec b/scirenderer.spec
index ae1732a..14ced0e 100644
--- a/scirenderer.spec
+++ b/scirenderer.spec
@@ -1,6 +1,6 @@
 Name:           scirenderer
 Version:        1.0.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A Java rendering library based on JoGL
 
 License:        CeCILL
@@ -19,7 +19,8 @@ Requires:       jpackage-utils
 Requires:       jogl2
 Requires:       jlatexmath
 
-BuildArch:      noarch   
+# koji build issue on f18 only
+#BuildArch:      noarch   
 
 %description
 This Java API allows 2-D or 3-D plotting from simple 2-D graph to complex
@@ -39,7 +40,7 @@ This package contains the API documentation for %{name}.
 %setup -q
 
 # Update path according to the Fedora Guidelines
-cat >scirenderer-libs.properties << EOF
+tee >scirenderer-libs.properties << EOF
 jogl2.jar = %{_libdir}/jogl2/jogl2.jar
 gluegen2-rt.jar = %{_libdir}/gluegen2/gluegen2-rt.jar
 jlatexmath.jar = %{_javadir}/jlatexmath.jar
@@ -76,6 +77,11 @@ cp -pr docs/* %{buildroot}%{_javadocdir}/%{name}
 %doc CHANGES
 
 %changelog
+* Fri Nov 16 2012 Clément David <c.david86 at gmail.com> - 1.0.2-2
+- Use tee instead of cat to print out the jar path
+- remove noarch to pass the build (f18 only)
+- rebuilt
+
 * Tue Oct 02 2012 Clément David <c.david86 at gmail.com> - 1.0.2-1
 - Update version
 


More information about the scm-commits mailing list