Namespace slf4j and jcl-over-slf4j binary packages

This commit is contained in:
Mikolaj Izdebski 2019-06-28 11:32:24 +02:00
parent fd1008dadc
commit d362fce4a9

View File

@ -58,6 +58,7 @@ SLF4J interfaces directly, e.g. NLOG4J or SimpleLogger. Alternatively,
it is possible (and rather easy) to write SLF4J adapters for the given it is possible (and rather easy) to write SLF4J adapters for the given
API implementation, e.g. Log4jLoggerAdapter or JDK14LoggerAdapter.. API implementation, e.g. Log4jLoggerAdapter or JDK14LoggerAdapter..
%{?module_package}
%{?javadoc_package} %{?javadoc_package}
%package manual %package manual
@ -84,10 +85,10 @@ Summary: SLF4J JCL Binding
%description jcl %description jcl
SLF4J JCL Binding. SLF4J JCL Binding.
%package -n jcl-over-slf4j %package -n %{?module_prefix}jcl-over-slf4j
Summary: JCL 1.1.1 implemented over SLF4J Summary: JCL 1.1.1 implemented over SLF4J
%description -n jcl-over-slf4j %description -n %{?module_prefix}jcl-over-slf4j
JCL 1.1.1 implemented over SLF4J. JCL 1.1.1 implemented over SLF4J.
%package -n log4j-over-slf4j %package -n log4j-over-slf4j
@ -177,13 +178,13 @@ install -d -m 0755 $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-manual
rm -rf target/site/{.htaccess,apidocs} rm -rf target/site/{.htaccess,apidocs}
cp -pr target/site/* $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-manual cp -pr target/site/* $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-manual
%files -f .mfiles %files -n %{?module_prefix}%{name} -f .mfiles
%license LICENSE.txt APACHE-LICENSE %license LICENSE.txt APACHE-LICENSE
%files jdk14 -f .mfiles-%{name}-jdk14 %files jdk14 -f .mfiles-%{name}-jdk14
%files log4j12 -f .mfiles-%{name}-log4j12 %files log4j12 -f .mfiles-%{name}-log4j12
%files jcl -f .mfiles-%{name}-jcl %files jcl -f .mfiles-%{name}-jcl
%files -n jcl-over-slf4j -f .mfiles-jcl-over-slf4j %files -n %{?module_prefix}jcl-over-slf4j -f .mfiles-jcl-over-slf4j
%files -n log4j-over-slf4j -f .mfiles-log4j-over-slf4j %files -n log4j-over-slf4j -f .mfiles-log4j-over-slf4j
%files -n jul-to-slf4j -f .mfiles-jul-to-slf4j %files -n jul-to-slf4j -f .mfiles-jul-to-slf4j