Remove old javadoc dir name.
This commit is contained in:
parent
95794526dd
commit
5d81a09122
@ -78,7 +78,7 @@ install -pm 644 pom.xml \
|
||||
%{buildroot}%{_datadir}/maven2/poms/JPP-%{name}.pom
|
||||
|
||||
# javadoc
|
||||
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
|
||||
rm -rf target/site/api*
|
||||
|
||||
@ -96,7 +96,6 @@ rm -rf target/site/api*
|
||||
|
||||
%files javadoc
|
||||
%defattr(-,root,root,-)
|
||||
%{_javadocdir}/%{name}-%{version}
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user