[groovy18] Use .mfiles generated during build

gil gil at fedoraproject.org
Thu Jun 12 12:31:03 UTC 2014


commit 263b3bcfda0fd699c015af8a1d263fb96d642174
Author: gil <puntogil at libero.it>
Date:   Thu Jun 12 14:30:43 2014 +0200

    Use .mfiles generated during build

 groovy18.spec |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/groovy18.spec b/groovy18.spec
index fc28b91..94e45b4 100644
--- a/groovy18.spec
+++ b/groovy18.spec
@@ -177,11 +177,8 @@ install -d $RPM_BUILD_ROOT%{_mavenpomdir}
 install -p -m644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom
 %add_maven_depmap JPP-%{name}.pom %{name}.jar  -a "org.codehaus.groovy:%{name}-all" -v "%{majorversion}"
 
-%files
+%files -f .mfiles
 %{_bindir}/*
-%{_javadir}/%{name}-*.jar
-%{_mavenpomdir}/JPP-%{name}-*.pom
-%{_mavendepmapfragdir}/%{name}
 %config(noreplace) %{_sysconfdir}/%{name}-starter.conf
 %doc README.md
 %doc LICENSE.txt LICENSE-2.0.txt NOTICE.txt cpl-v10.txt epl-v10.txt


More information about the scm-commits mailing list