[jdom] Add jaxen on build classpath to compile full support
Stanislav Ochotnicky
sochotni at fedoraproject.org
Fri Dec 14 09:43:45 UTC 2012
commit 5e78ab20e13902be1d5d2c4ca2b835fb7bf82db2
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date: Fri Dec 14 10:43:12 2012 +0100
Add jaxen on build classpath to compile full support
jdom.spec | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/jdom.spec b/jdom.spec
index e2f551a..48efca6 100644
--- a/jdom.spec
+++ b/jdom.spec
@@ -30,7 +30,7 @@
Name: jdom
Version: 1.1.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Epoch: 0
Summary: Java alternative to DOM and SAX
License: ASL 1.1
@@ -40,13 +40,18 @@ Source0: http://jdom.org/dist/binary/archive/jdom-%{version}.tar.gz
Source1: http://repo1.maven.org/maven2/org/jdom/jdom/%{version}/jdom-%{version}.pom
Patch0: %{name}-crosslink.patch
Patch1: %{name}-1.1-OSGiManifest.patch
-Requires: xalan-j2 >= 0:2.2.0
+
BuildRequires: ant >= 0:1.6
-BuildRequires: xalan-j2 >= 0:2.2.0
-BuildRequires: jpackage-utils >= 0:1.6
BuildRequires: java-javadoc
-BuildArch: noarch
+BuildRequires: jaxen
+BuildRequires: jpackage-utils >= 0:1.6
+BuildRequires: xalan-j2 >= 0:2.2.0
+
+Requires: jaxen
Requires: jpackage-utils
+Requires: xalan-j2 >= 0:2.2.0
+
+BuildArch: noarch
%description
JDOM is, quite simply, a Java representation of an XML document. JDOM
@@ -82,7 +87,7 @@ find . -name "*.jar" -exec rm -f {} \;
find . -name "*.class" -exec rm -f {} \;
%build
-export CLASSPATH=$(build-classpath xalan-j2)
+export CLASSPATH=$(build-classpath xalan-j2 jaxen)
ant -Dj2se.apidoc=%{_javadocdir}/java package javadoc-link
%install
@@ -118,6 +123,9 @@ cp %{SOURCE1} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-jdom.pom
%doc LICENSE.txt
%changelog
+* Fri Dec 14 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 0:1.1.3-3
+- Add jaxen on build classpath to compile full support
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0:1.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list