[proxool] Use .mfiles generated during build

gil gil at fedoraproject.org
Sun Jun 8 02:31:16 UTC 2014


commit 3070173bd4f6cb7fbd62aa0c2ed077c602351eeb
Author: gil <puntogil at libero.it>
Date:   Sun Jun 8 04:31:05 2014 +0200

    Use .mfiles generated during build

 proxool.spec |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/proxool.spec b/proxool.spec
index 81c42f1..b78236b 100644
--- a/proxool.spec
+++ b/proxool.spec
@@ -26,7 +26,7 @@ BuildRequires: dom4j
 BuildRequires: avalon-framework
 BuildRequires: hsqldb1
 BuildRequires: junit
-BuildRequires: log4j
+BuildRequires: log4j12
 BuildRequires: tomcat-servlet-3.0-api
 BuildRequires: checkstyle
 
@@ -74,13 +74,10 @@ cp -pr build/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 # pom
 install -d -m 0755 $RPM_BUILD_ROOT%{_mavenpomdir}
 install -m 0644 %{S:1} $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom
-%add_maven_depmap JPP-%{name}.pom %{name}.jar
+%add_maven_depmap
 
-%files
+%files -f .mfiles
 %doc *.txt
-%{_javadir}/%{name}.jar
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
 
 %files javadoc
 %doc LICENCE.txt


More information about the scm-commits mailing list