Use javadoc_package macro
This commit is contained in:
parent
bcd7e1399a
commit
fd1008dadc
@ -58,11 +58,7 @@ SLF4J interfaces directly, e.g. NLOG4J or SimpleLogger. Alternatively,
|
||||
it is possible (and rather easy) to write SLF4J adapters for the given
|
||||
API implementation, e.g. Log4jLoggerAdapter or JDK14LoggerAdapter..
|
||||
|
||||
%package javadoc
|
||||
Summary: API documentation for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package provides %{summary}.
|
||||
%{?javadoc_package}
|
||||
|
||||
%package manual
|
||||
Summary: Manual for %{name}
|
||||
@ -194,9 +190,6 @@ cp -pr target/site/* $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-manual
|
||||
%files sources -f .mfiles-sources
|
||||
%license LICENSE.txt APACHE-LICENSE
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE.txt APACHE-LICENSE
|
||||
|
||||
%files manual
|
||||
%license LICENSE.txt APACHE-LICENSE
|
||||
%{_defaultdocdir}/%{name}-manual
|
||||
|
Loading…
Reference in New Issue
Block a user