diff --git a/reload4j.spec b/reload4j.spec index 78207ae..a27f3fe 100644 --- a/reload4j.spec +++ b/reload4j.spec @@ -32,7 +32,7 @@ BuildRequires: fdupes BuildRequires: geronimo-jms-1_1-api BuildRequires: java-devel >= 1.8 BuildRequires: javamail -BuildRequires: javapackages-local +BuildRequires: javapackages-local >= 6 Obsoletes: chainsaw < 2.1 Obsoletes: log4j < 1.3 Obsoletes: log4j-mini < 1.3 @@ -99,7 +99,7 @@ done #pom install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name} -install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom +%mvn_install_pom pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom %add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar -a log4j:log4j # javadoc