[eclipse-eclemma] Update to upstream 2.2.0.

Krzysztof Daniel kdaniel at fedoraproject.org
Mon Dec 10 10:31:04 UTC 2012


commit 6bd8233c9cbdb1ccbf2b7584912a34523c977122
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date:   Mon Dec 10 11:30:56 2012 +0100

    Update to upstream 2.2.0.

 .gitignore           |    1 +
 eclipse-eclemma.spec |   28 +++++++++++++++++++---------
 sources              |    2 +-
 3 files changed, 21 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5a0d35d..4b895d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ eclemma-v2.1.1.tar.gz
 eclemma-v2.1.2.tar.gz
 /eclemma-v2.1.4.tar.gz
 /v2.1.4
+/v2.2.0.tar.gz
diff --git a/eclipse-eclemma.spec b/eclipse-eclemma.spec
index 4bab294..fb1c8cc 100644
--- a/eclipse-eclemma.spec
+++ b/eclipse-eclemma.spec
@@ -1,26 +1,25 @@
 %global install_loc  %{_datadir}/eclipse/dropins/eclemma
 
 Name:      eclipse-eclemma
-Version:   2.1.4
-Release:   2%{?dist}
+Version:   2.2.0
+Release:   1%{?dist}
 Summary:   Java code coverage tool plugin for Eclipse
 Group:     Development/Tools
 License:   EPL and ASL 2.0
 URL:       http://www.eclemma.org
 
-# Source tarball and script used to generate it
-# http://eclemma.svn.sourceforge.net/viewvc/eclemma/eclemma/tags/v2.1.2/?view=tar
-Source0:   eclemma-v%{version}.tar.gz
+Source0:   https://github.com/jacoco/eclemma/archive/v2.2.0.tar.gz
 
 BuildArch:        noarch
 BuildRequires:    java-devel
 BuildRequires:    jpackage-utils
 BuildRequires:    eclipse-pde >= 1:4.2.0
-BuildRequires:    jacoco >= 0.5.9
+BuildRequires:    jacoco >= 0.6.0
 Requires:         java
 Requires:         jpackage-utils
 Requires:         eclipse-jdt >= 1:4.2.0
-Requires:         jacoco >= 0.5.9
+Requires:         jacoco >= 0.6.0
+Requires:         objectweb-asm4
 
 %description
 EclEmma is a Java code coverage tool for Eclipse based on the EMMA Java
@@ -29,7 +28,11 @@ coverage analysis summaries, and highlighting in Java source code
 editors.
 
 %prep
-%setup -q -n v%{version}
+%setup -q -n eclemma-%{version}
+
+#git does not handle empty folders - but this one is necessary
+
+mkdir -p com.mountainminds.eclemma.asm/src
 rm -fr com.mountainminds.eclemma.debug.ui.compatibility/src/org/eclipse/debug/ui/actions/RelaunchLastAction.java
 find -name '*.class' -exec rm -f '{}' \;
 find -name '*.jar' -exec rm -f '{}' \;
@@ -40,6 +43,7 @@ pushd orbitDeps
 ln -s %{_javadir}/jacoco/org.jacoco.core.jar
 ln -s %{_javadir}/jacoco/org.jacoco.agent.jar
 ln -s %{_javadir}/jacoco/org.jacoco.report.jar
+ln -s %{_javadir}/objectweb-asm4/asm-all.jar
 popd
 
 %build
@@ -55,7 +59,7 @@ rm -fr org.objectweb.asm*
 ln -s %{_javadir}/jacoco/org.jacoco.agent.jar 
 ln -s %{_javadir}/jacoco/org.jacoco.core.jar 
 ln -s %{_javadir}/jacoco/org.jacoco.report.jar
-ln -s %{_javadir}/objectweb-asm/asm-all.jar
+ln -s %{_javadir}/objectweb-asm4/asm-all.jar
 popd
 
 %files
@@ -65,6 +69,12 @@ popd
 %{install_loc}
 
 %changelog
+* Mon Dec 10 2012 Krzysztof Daniel <kdaniel at redhat.com> 2.2.0-1
+- Update to upstream 2.2.0.
+
+* Wed Dec 5 2012 Krzysztof Daniel <kdaniel at redhat.com> 2.1.4-3
+- Update dependency to asm4.
+
 * Mon Sep 17 2012 Krzysztof Daniel <kdaniel at redhat.com> 2.1.4-2
 - Specify BR/R jacoco.
 
diff --git a/sources b/sources
index 3f6378a..9147244 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3ab1d2d36421086219fd481c9a67db11  eclemma-v2.1.4.tar.gz
+42e4218ee88fb057bc0efdf02937d54e  v2.2.0.tar.gz


More information about the scm-commits mailing list