[sinjdoc] - Avoid use of bundled dependencies during build.

Jon VanAlten jvanalte at fedoraproject.org
Fri Nov 16 01:43:56 UTC 2012


commit 1443057921c04ebd3845b3175904a6cb1ebcfea1
Author: Jon VanAlten <jon.vanalten at redhat.com>
Date:   Thu Nov 15 14:55:41 2012 -0500

    - Avoid use of bundled dependencies during build.

 sinjdoc.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/sinjdoc.spec b/sinjdoc.spec
index 3b0e48a..4e53ed0 100644
--- a/sinjdoc.spec
+++ b/sinjdoc.spec
@@ -1,6 +1,6 @@
 Name:           sinjdoc
 Version:        0.5
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        Documentation generator for Java source code
 
 Group:          Development/Tools
@@ -33,6 +33,12 @@ documentation from Java source code
 %setup -q
 %patch0 -p0
 %patch1 -p0
+# Use packaged jar, not bundled jar.
+rm -f lib/cup.jar
+ln -s %{_javadir}/java_cup.jar lib/cup.jar
+# This is given in classpath in various makefiles, but no classes
+# from this jar are actually imported.
+rm -f lib/jutil.jar
 
 %build
 aclocal
@@ -74,6 +80,9 @@ fi
 %{_libdir}/gcj/%{name}
 
 %changelog
+* Thu Nov 15 2012 Jon VanAlten <jvanalte at redhat.com> - 0.5-14
+- Avoid use of bundled dependencies during build.
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list