[cobertura] Use .mfiles generated during build

Mikolaj Izdebski mizdebsk at fedoraproject.org
Wed May 21 17:29:22 UTC 2014


commit 2e6f0de1ec642dad2bd8b3ce4adf2b54b71ed07f
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Wed May 21 19:29:03 2014 +0200

    Use .mfiles generated during build

 cobertura.spec |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/cobertura.spec b/cobertura.spec
index 4ab7c18..ee4f011 100644
--- a/cobertura.spec
+++ b/cobertura.spec
@@ -1,6 +1,6 @@
 Name:           cobertura
 Version:        1.9.4.1
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Java tool that calculates the percentage of code accessed by tests
 
 # ASL 2.0: src/net/sourceforge/cobertura/webapp/web.xml
@@ -117,20 +117,18 @@ EOF
 install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
 cp -rp build/api/* %{buildroot}%{_javadocdir}/%{name}
 
-%files
+%files -f .mfiles
 %doc ChangeLog COPYING COPYRIGHT README LICENSE-ASL-1.1 LICENSE-ASL-2.0
-%{_javadir}/%{name}.jar
-%{_javadir}/%{name}-runtime.jar
 %config %{_sysconfdir}/ant.d/%{name}
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavenpomdir}/JPP-%{name}-runtime.pom
-%{_mavendepmapfragdir}/*
 
 %files javadoc
 %doc COPYING COPYRIGHT LICENSE-ASL-1.1 LICENSE-ASL-2.0
 %{_javadocdir}/%{name}
 
 %changelog
+* Wed May 21 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.9.4.1-12
+- Use .mfiles generated during build
+
 * Thu Mar 06 2014 Michal Srb <msrb at redhat.com> - 1.9.4.1-11
 - Switch to asm3
 


More information about the scm-commits mailing list