[velocity] Use .mfiles generated during build

Mikolaj Izdebski mizdebsk at fedoraproject.org
Wed May 21 16:45:37 UTC 2014


commit a26004588ff376f55fee22871f978afd0670c290
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Wed May 21 18:45:20 2014 +0200

    Use .mfiles generated during build

 velocity.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/velocity.spec b/velocity.spec
index 10115ea..b901c02 100644
--- a/velocity.spec
+++ b/velocity.spec
@@ -30,7 +30,7 @@
 
 Name:           velocity
 Version:        1.7
-Release:        10%{?dist}
+Release:        11%{?dist}
 Epoch:          0
 Summary:        Java-based template engine
 License:        ASL 2.0
@@ -192,11 +192,8 @@ install -pD -T -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
 %add_maven_depmap -a "%{name}:%{name}"
 
 
-%files
+%files -f .mfiles
 %doc LICENSE NOTICE README.txt
-%{_javadir}/*.jar
-%{_mavendepmapfragdir}/%{name}
-%{_mavenpomdir}/JPP-%{name}.pom
 
 %files manual
 %doc LICENSE NOTICE
@@ -211,6 +208,9 @@ install -pD -T -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
 %{_datadir}/%{name}
 
 %changelog
+* Wed May 21 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 0:1.7-11
+- Use .mfiles generated during build
+
 * Sat Sep 21 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 0:1.7-10
 - Port from werken-xpath to jdom
 - Resolves: rhbz#875817


More information about the scm-commits mailing list