diff --git a/slf4j.spec b/slf4j.spec index 539cded..78acf81 100644 --- a/slf4j.spec +++ b/slf4j.spec @@ -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 API implementation, e.g. Log4jLoggerAdapter or JDK14LoggerAdapter.. +%{?module_package} %{?javadoc_package} %package manual @@ -84,10 +85,10 @@ Summary: SLF4J JCL Binding %description jcl SLF4J JCL Binding. -%package -n jcl-over-slf4j +%package -n %{?module_prefix}jcl-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. %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} 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 %files jdk14 -f .mfiles-%{name}-jdk14 %files log4j12 -f .mfiles-%{name}-log4j12 %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 jul-to-slf4j -f .mfiles-jul-to-slf4j