Remove javadoc package

This commit is contained in:
Mikolaj Izdebski 2019-10-28 13:48:20 +01:00
parent 65b5bc3a43
commit 25dfe1e759

View File

@ -44,12 +44,6 @@ engines:
* JRuby * JRuby
* JudoScript * JudoScript
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
Javadoc for %{name}.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -61,20 +55,17 @@ find -name \*.jar -delete
%build %build
export CLASSPATH=$(build-classpath apache-commons-logging xalan-j2) export CLASSPATH=$(build-classpath apache-commons-logging xalan-j2)
ant -Dsource.level=1.6 jar javadocs ant -Dsource.level=1.6 jar
%mvn_artifact %{SOURCE1} build/lib/%{name}.jar %mvn_artifact %{SOURCE1} build/lib/%{name}.jar
%install %install
%mvn_install -J build/javadocs %mvn_install
%files -f .mfiles %files -f .mfiles
%license LICENSE.txt NOTICE.txt %license LICENSE.txt NOTICE.txt
%doc AUTHORS.txt CHANGES.txt README.txt TODO.txt RELEASE-NOTE.txt %doc AUTHORS.txt CHANGES.txt README.txt TODO.txt RELEASE-NOTE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt NOTICE.txt
%changelog %changelog
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4.0-31 * Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4.0-31
- Mass rebuild for javapackages-tools 201901 - Mass rebuild for javapackages-tools 201901