Remove bundled minified js from javadoc
This commit is contained in:
parent
518e63d4be
commit
ee68f538f5
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user