From cf3d99cb4f1c0d1284fa1af82f449240e53622f8 Mon Sep 17 00:00:00 2001 From: gil Date: Mar 06 2016 10:37:43 +0000 Subject: update to 2.8.2 --- diff --git a/.gitignore b/.gitignore index 6ca7dc1..57f808a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /jmock-2.5.1-clean-src-svn.tar.gz /2.8.1.tar.gz +/2.8.2.tar.gz diff --git a/jmock.spec b/jmock.spec index c7b5ae6..912789c 100644 --- a/jmock.spec +++ b/jmock.spec @@ -2,8 +2,8 @@ %global namedversion %{version}%{?namedreltag} Name: jmock -Version: 2.8.1 -Release: 3%{?dist} +Version: 2.8.2 +Release: 1%{?dist} Summary: Java library for testing code with mock objects License: BSD Url: http://www.jmock.org/ @@ -34,6 +34,42 @@ The jMock library: * plugs into your favorite test framework * is easy to extend. +%package example +Summary: jMock Examples + +%description example +jMock Examples. + +%package junit3 +Summary: jMock JUnit 3 Integration + +%description junit3 +jMock JUnit 3 Integration. + +%package junit4 +Summary: jMock JUnit 4 Integration + +%description junit4 +jMock JUnit 4 Integration. + +%package legacy +Summary: jMock Legacy Plugins + +%description legacy +Plugins that make it easier to use jMock with legacy code. + +%package parent +Summary: jMock Parent POM + +%description parent +jMock Parent POM. + +%package testjar +Summary: jMock Test Jar + +%description testjar +Source for JAR files used in jMock Core tests. + %package javadoc Summary: Javadoc for %{name} @@ -49,8 +85,8 @@ This package contains javadoc for %{name}. %pom_remove_plugin :maven-gpg-plugin testjar -%pom_xpath_set "pom:dependency[pom:groupId = 'cglib' ]/pom:artifactId" cglib -%pom_xpath_set "pom:dependency[pom:groupId = 'cglib' ]/pom:artifactId" cglib %{name} +%pom_change_dep cglib: :cglib +%pom_change_dep cglib: :cglib %{name} sed -i "s|%classpath|$(build-classpath objectweb-asm/asm)|" %{name}/pom.xml @@ -64,24 +100,38 @@ sed -i "s|%classpath|$(build-classpath objectweb-asm/asm)|" %{name}/pom.xml %pom_add_dep org.%{name}:%{name}-junit4:'${project.version}' %{name}-example %mvn_alias org.%{name}:%{name} :%{name}-script -%mvn_package org.%{name}:%{name}::tests: -%mvn_package org.%{name}:%{name}-junit3::tests: +%mvn_package org.%{name}:%{name}::tests: %{name} +%mvn_package org.%{name}:%{name}-junit3::tests: %{name}-junit3 %build -%mvn_build +%mvn_build -s %install %mvn_install -%files -f .mfiles +%files -f .mfiles-%{name} %doc README* %license LICENSE.txt +%files example -f .mfiles-%{name}-example +%files junit3 -f .mfiles-%{name}-junit3 +%files junit4 -f .mfiles-%{name}-junit4 +%files legacy -f .mfiles-%{name}-legacy + +%files parent -f .mfiles-%{name}-parent +%license LICENSE.txt + +%files testjar -f .mfiles-%{name}-testjar +%license LICENSE.txt + %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog +* Sun Mar 06 2016 gil cattaneo 2.8.2-1 +- updated to 2.8.2 + * Thu Feb 04 2016 Fedora Release Engineering - 2.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild @@ -114,4 +164,4 @@ sed -i "s|%classpath|$(build-classpath objectweb-asm/asm)|" %{name}/pom.xml - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Apr 19 2012 gil cattaneo 2.5.1-1 -- initial rpm \ No newline at end of file +- initial rpm diff --git a/sources b/sources index 6132b52..9c08964 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ca06badaa3e8cd429e1ce873080178d7 2.8.1.tar.gz +ddfc7d745f85452cc611033a67cd369d 2.8.2.tar.gz