[eclipselink] Use .mfiles generated during build

gil gil at fedoraproject.org
Sat Jun 7 16:35:40 UTC 2014


commit 929824b41ffa8581cbe28b826c81ad33125bf580
Author: gil <puntogil at libero.it>
Date:   Sat Jun 7 18:35:45 2014 +0200

    Use .mfiles generated during build

 eclipselink.spec |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/eclipselink.spec b/eclipselink.spec
index 24df300..1710867 100644
--- a/eclipselink.spec
+++ b/eclipselink.spec
@@ -149,10 +149,8 @@ install -pm 644 jpa-pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-org.eclipse.
 mkdir -p %{buildroot}%{_javadocdir}/%{name}
 cp -pr target/api/* %{buildroot}%{_javadocdir}/%{name}
 
-%files
-%{_javadir}/%{name}
-%{_mavenpomdir}/JPP.%{name}-*.pom
-%{_mavendepmapfragdir}/%{name}
+%files -f .mfiles
+%dir %{_javadir}/%{name}
 %doc about.html license.html readme.html
 
 %files javadoc


More information about the scm-commits mailing list