[groovy] Use .mfiles generated during build

Mikolaj Izdebski mizdebsk at fedoraproject.org
Wed May 21 17:39:59 UTC 2014


commit e6e9e2806f5c4047e1db3fd92badf1812269e0b1
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Wed May 21 19:39:46 2014 +0200

    Use .mfiles generated during build

 groovy.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/groovy.spec b/groovy.spec
index ec9c27e..5e2f515 100644
--- a/groovy.spec
+++ b/groovy.spec
@@ -4,7 +4,7 @@
 
 Name:           groovy
 Version:        1.8.9
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Dynamic language for the Java Platform
 
 Group:          Development/Languages
@@ -149,16 +149,14 @@ cp -rp target/html/api/. $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 # Maven depmap
 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
+%add_maven_depmap
 
-%files
+%files -f .mfiles
 %defattr(-,root,root,-)
 %{_bindir}/*
 %{_javadir}/*
 %{_datadir}/pixmaps/*
 %{_datadir}/applications/*
-%{_mavendepmapfragdir}/*
-%{_mavenpomdir}/*
 %config(noreplace) %{_sysconfdir}/*
 %doc README.md
 %doc LICENSE.txt LICENSE-2.0.txt NOTICE.txt cpl-v10.txt epl-v10.txt
@@ -169,6 +167,9 @@ install -p -m644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom
 %doc LICENSE.txt LICENSE-2.0.txt NOTICE.txt cpl-v10.txt epl-v10.txt
 
 %changelog
+* Wed May 21 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.8.9-9
+- Use .mfiles generated during build
+
 * Mon Jan 13 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.8.9-8
 - Add Requires on java-devel
 - Resolves: rhbz#736753


More information about the scm-commits mailing list