Build javadoc only.
This commit is contained in:
parent
625f0f2126
commit
3203c51197
10
xmlunit.spec
10
xmlunit.spec
@ -30,7 +30,7 @@
|
||||
|
||||
Name: xmlunit
|
||||
Version: 1.3
|
||||
Release: 21%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Provides classes to do asserts on xml
|
||||
License: BSD
|
||||
@ -74,7 +74,6 @@ Javadoc for %{name}
|
||||
# remove all binary libs and javadocs
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
rm -rf doc
|
||||
rm -rf userguide
|
||||
|
||||
cat >build.properties <<EOF
|
||||
junit.lib=$(build-classpath junit)
|
||||
@ -91,7 +90,7 @@ sed -i 's/\r//g' README.txt LICENSE.txt
|
||||
|
||||
%build
|
||||
export CLASSPATH=$(build-classpath xalan-j2-serializer)
|
||||
ant -Dbuild.compiler=modern -Dfailonerror=false jar docs
|
||||
ant -Dbuild.compiler=modern -Dfailonerror=false jar javadocs
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -121,7 +120,7 @@ ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_javadir}/*
|
||||
%doc README.txt LICENSE.txt build/doc/userguide/XMLUnit-Java.pdf
|
||||
%doc README.txt LICENSE.txt userguide/XMLUnit-Java.pdf
|
||||
%{_datadir}/maven2/poms/*
|
||||
%{_mavendepmapfragdir}/*
|
||||
|
||||
@ -131,6 +130,9 @@ ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
%doc %{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Thu Dec 30 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.3-3
|
||||
- Build javadoc only.
|
||||
|
||||
* Thu Dec 30 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.3-2
|
||||
- BR java 1.6 to prevent gcj failure.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user