Remove bundled minified js from javadoc

This commit is contained in:
Michael Simacek 2018-08-03 13:08:08 +02:00
parent 518e63d4be
commit ee68f538f5
3 changed files with 8 additions and 5 deletions

View File

@ -13,7 +13,7 @@ rm -rf ${SRCDIR}
tar -xf ${SRCDIR}.tar
rm ${SRCDIR}.tar
pushd ${SRCDIR}
rm -rf `find -name *.jar` build.gradle cglib-and-asm doc gradle gradlew gradlew.bat
rm -rf `find -name *.jar` build.gradle cglib-and-asm doc gradle gradlew gradlew.bat javadoc
dos2unix `find -name *.java`
popd

View File

@ -1,6 +1,6 @@
Name: mockito
Version: 1.10.19
Release: 16%{?dist}
Release: 17%{?dist}
Summary: A Java mocking framework
License: MIT
@ -49,13 +49,13 @@ This package contains the API documentation for %{name}.
%patch2 -p1
%patch3 -p1
%patch4 -p1
# workaround rhbz#1292777 Files not found for javadoc generation
touch javadoc/stylesheet.css
%pom_add_dep net.sf.cglib:cglib:3.1 maven/mockito-core.pom
find . -name "*.java" -exec sed -i "s|org\.%{name}\.cglib|net\.sf\.cglib|g" {} +
mkdir -p lib/compile
%pom_xpath_remove 'target[@name="javadoc"]/copy' build.xml
%build
build-jar-repository lib/compile objenesis cglib junit hamcrest/core
ant jar javadoc
@ -89,6 +89,9 @@ sed -i -e "s|@version@|%{version}|g" maven/%{name}-core.pom
%license LICENSE NOTICE
%changelog
* Fri Aug 03 2018 Michael Simacek <msimacek@redhat.com> - 1.10.19-17
- Remove bundled minified js from javadoc
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.19-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
b42b2fe1d47a2ca5c10a05aa211e357b mockito-1.10.19.tar.xz
SHA512 (mockito-1.10.19.tar.xz) = 339f173ce800dcad8a827069f6e3b08f39e3035a9c16a7051883303e5aa61be6a127664184f2b99349fc095d208ee90cf1824b4a37e349c35bacb785eacc7297