[jacoco] Add ant config

Orion Poplawski orion at fedoraproject.org
Mon Feb 24 20:55:00 UTC 2014


commit b6ccca6349b9d129fec268af03227ab1cf5b2a18
Author: Orion Poplawski <orion at nwra.com>
Date:   Mon Feb 24 13:55:51 2014 -0700

    Add ant config

 jacoco.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/jacoco.spec b/jacoco.spec
index 8f55dbd..1aab3cb 100644
--- a/jacoco.spec
+++ b/jacoco.spec
@@ -2,7 +2,7 @@
 
 Name:      jacoco
 Version:   0.6.4
-Release:   2%{?dist}
+Release:   3%{?dist}
 Summary:   Java Code Coverage for Eclipse 
 Group:     System Environment/Libraries
 License:   EPL
@@ -108,7 +108,12 @@ install -pm 644 jacoco-maven-plugin/pom.xml %{buildroot}/%{_mavenpomdir}/JPP-jac
 install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
 cp -rf target/site/* %{buildroot}%{_javadocdir}/%{name}
 
+# ant config
+mkdir -p %{buildroot}%{_sysconfdir}/ant.d
+echo %{name} %{name}/org.jacoco.ant > %{buildroot}%{_sysconfdir}/ant.d/%{name}
+
 %files
+%config(noreplace) %{_sysconfdir}/ant.d/%{name}
 %{_mavendepmapfragdir}/%{name}
 %{_mavenpomdir}/JPP-%{name}.pom
 #agent
@@ -136,6 +141,9 @@ cp -rf target/site/* %{buildroot}%{_javadocdir}/%{name}
 %{_javadocdir}/%{name}/
 
 %changelog
+* Mon Feb 24 2014 Orion Poplawski <orion at cora.nwra.com> 0.6.4-3
+- Add ant config
+
 * Fri Feb 21 2014 Alexander Kurtakov <akurtako at redhat.com> 0.6.4-2
 - R java-headless.
 - Adapt to new package names.


More information about the scm-commits mailing list