2009-08-20 06:31:33 +00:00
|
|
|
Name: easymock
|
2020-08-31 15:06:44 +00:00
|
|
|
Version: 4.2
|
|
|
|
Release: 1%{?dist}
|
2009-08-20 06:31:33 +00:00
|
|
|
Summary: Easy mock objects
|
2013-08-30 10:01:44 +00:00
|
|
|
License: ASL 2.0
|
|
|
|
|
2020-08-31 15:06:44 +00:00
|
|
|
URL: http://www.easymock.org
|
|
|
|
Source0: https://github.com/easymock/easymock/archive/easymock-%{version}.tar.gz
|
2013-08-30 10:01:44 +00:00
|
|
|
|
2017-09-18 07:08:46 +00:00
|
|
|
Patch1: 0001-Disable-android-support.patch
|
|
|
|
Patch2: 0002-Unshade-cglib-and-asm.patch
|
|
|
|
Patch3: 0003-Fix-OSGi-manifest.patch
|
2013-08-30 10:01:44 +00:00
|
|
|
|
2009-08-20 06:31:33 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2013-08-30 10:01:44 +00:00
|
|
|
BuildRequires: maven-local
|
2016-05-30 13:09:44 +00:00
|
|
|
BuildRequires: mvn(cglib:cglib)
|
2013-08-30 10:01:44 +00:00
|
|
|
BuildRequires: mvn(junit:junit)
|
2016-05-30 13:09:44 +00:00
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
2013-08-30 10:01:44 +00:00
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
|
2020-08-31 15:06:44 +00:00
|
|
|
BuildRequires: mvn(org.apache.maven.surefire:surefire-junit-platform)
|
2017-09-18 07:08:46 +00:00
|
|
|
BuildRequires: mvn(org.apache.maven.surefire:surefire-testng)
|
2013-08-30 10:01:44 +00:00
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
2020-08-31 15:06:44 +00:00
|
|
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter)
|
|
|
|
BuildRequires: mvn(org.junit.vintage:junit-vintage-engine)
|
2016-05-30 13:09:44 +00:00
|
|
|
BuildRequires: mvn(org.objenesis:objenesis)
|
2017-02-23 12:48:49 +00:00
|
|
|
BuildRequires: mvn(org.ow2.asm:asm)
|
2017-09-18 07:08:46 +00:00
|
|
|
BuildRequires: mvn(org.testng:testng)
|
2017-02-23 12:48:49 +00:00
|
|
|
# xmvn-builddep misses this:
|
|
|
|
BuildRequires: mvn(org.apache:apache-jar-resource-bundle)
|
2013-08-30 10:01:44 +00:00
|
|
|
|
2016-06-01 07:32:47 +00:00
|
|
|
Obsoletes: %{name}3 < 3.4
|
2013-08-30 10:01:44 +00:00
|
|
|
Provides: %{name}3 = %{version}-%{release}
|
2015-07-13 06:55:14 +00:00
|
|
|
Obsoletes: %{name}2 < 2.5.2-10
|
2013-08-30 10:01:44 +00:00
|
|
|
|
2009-08-20 06:31:33 +00:00
|
|
|
%description
|
|
|
|
EasyMock provides Mock Objects for interfaces in JUnit tests by generating
|
|
|
|
them on the fly using Java's proxy mechanism. Due to EasyMock's unique style
|
|
|
|
of recording expectations, most refactorings will not affect the Mock Objects.
|
|
|
|
So EasyMock is a perfect fit for Test-Driven Development.
|
|
|
|
|
2013-08-30 10:01:44 +00:00
|
|
|
|
|
|
|
%package javadoc
|
2009-08-20 06:31:33 +00:00
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
2013-08-30 10:01:44 +00:00
|
|
|
%description javadoc
|
2009-08-20 06:31:33 +00:00
|
|
|
Javadoc for %{name}.
|
|
|
|
|
2013-08-30 10:01:44 +00:00
|
|
|
|
2009-08-20 06:31:33 +00:00
|
|
|
%prep
|
2016-05-30 13:09:44 +00:00
|
|
|
%setup -q -n %{name}-%{name}-%{version}
|
2009-08-20 06:31:33 +00:00
|
|
|
|
2016-05-30 13:09:44 +00:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
2009-08-20 06:31:33 +00:00
|
|
|
|
2020-08-31 15:06:44 +00:00
|
|
|
# disable unnecessary maven plugins
|
|
|
|
%pom_remove_plugin :animal-sniffer-maven-plugin . core
|
|
|
|
%pom_remove_plugin :license-maven-plugin
|
2018-10-08 14:40:37 +00:00
|
|
|
%pom_remove_plugin :maven-enforcer-plugin
|
2020-08-31 15:06:44 +00:00
|
|
|
%pom_remove_plugin :maven-gpg-plugin test-java8 test-junit5 test-testng
|
|
|
|
%pom_remove_plugin :maven-timestamp-plugin
|
|
|
|
%pom_remove_plugin :versions-maven-plugin
|
2017-02-07 10:24:17 +00:00
|
|
|
|
2013-08-30 10:01:44 +00:00
|
|
|
# remove android support
|
2016-05-30 13:09:44 +00:00
|
|
|
rm core/src/main/java/org/easymock/internal/Android*.java
|
|
|
|
rm core/src/test/java/org/easymock/tests2/ClassExtensionHelperTest.java
|
|
|
|
%pom_disable_module test-android
|
|
|
|
%pom_remove_dep :dexmaker core
|
|
|
|
|
|
|
|
# unbundle asm and cglib
|
|
|
|
%pom_disable_module test-nodeps
|
|
|
|
%pom_remove_plugin :maven-shade-plugin core
|
2013-08-30 10:01:44 +00:00
|
|
|
|
2016-05-30 13:09:44 +00:00
|
|
|
# missing test deps
|
|
|
|
%pom_disable_module test-integration
|
|
|
|
%pom_disable_module test-osgi
|
2009-08-20 06:31:33 +00:00
|
|
|
|
2013-08-30 10:01:44 +00:00
|
|
|
# For compatibility reasons
|
|
|
|
%mvn_file ":easymock{*}" easymock@1 easymock3@1
|
2009-08-20 06:31:33 +00:00
|
|
|
|
2016-05-30 13:09:44 +00:00
|
|
|
# ssh not needed during our builds
|
2014-03-04 10:17:18 +00:00
|
|
|
%pom_xpath_remove pom:extensions
|
2010-11-26 10:30:06 +00:00
|
|
|
|
2020-08-31 15:06:44 +00:00
|
|
|
|
2013-08-30 10:01:44 +00:00
|
|
|
%build
|
|
|
|
%mvn_build
|
|
|
|
|
2020-08-31 15:06:44 +00:00
|
|
|
|
2013-08-30 10:01:44 +00:00
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
2016-05-30 13:09:44 +00:00
|
|
|
%license core/LICENSE.txt
|
2013-08-30 10:01:44 +00:00
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
2016-05-30 13:09:44 +00:00
|
|
|
%license core/LICENSE.txt
|
2009-08-20 06:31:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-08-31 15:06:44 +00:00
|
|
|
* Mon Aug 31 2020 Fabio Valentini <decathorpe@gmail.com> - 4.2-1
|
|
|
|
- Update to version 4.2.
|
|
|
|
|
2020-07-27 16:12:12 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-10 16:22:00 +00:00
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.6-6
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
2020-01-28 16:49:55 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-24 22:55:23 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 18:07:31 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-11-30 00:49:58 +00:00
|
|
|
* Fri Nov 30 2018 Mat Booth <mat.booth@redhat.com> - 3.6-2
|
|
|
|
- Rebuild to fix OSGi dependency on ASM 7
|
|
|
|
|
2018-10-08 14:40:37 +00:00
|
|
|
* Mon Oct 8 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-1
|
|
|
|
- Update to upstream version 3.6
|
|
|
|
|
2018-07-31 08:48:54 +00:00
|
|
|
* Tue Jul 31 2018 Michael Simacek <msimacek@redhat.com> - 3.5-4
|
|
|
|
- Repack the tarball without binaries
|
|
|
|
|
2018-07-12 23:29:31 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 07:51:24 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-18 07:08:46 +00:00
|
|
|
* Mon Sep 18 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5-1
|
|
|
|
- Update to upstream version 3.5
|
|
|
|
|
2017-09-15 14:23:21 +00:00
|
|
|
* Fri Sep 15 2017 Mat Booth <mat.booth@redhat.com> - 3.4-6
|
|
|
|
- Regenerate OSGi metadata due to Objectweb ASM upgrade
|
|
|
|
|
2017-07-26 06:57:42 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-23 12:48:49 +00:00
|
|
|
* Thu Feb 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4-4
|
|
|
|
- Add missing BR on apache-resource-bundles
|
|
|
|
|
2017-02-07 10:24:17 +00:00
|
|
|
* Tue Feb 07 2017 Michael Simacek <msimacek@redhat.com> - 3.4-3
|
|
|
|
- Remove useless license-plugin
|
|
|
|
|
2016-06-01 07:32:47 +00:00
|
|
|
* Wed Jun 1 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4-2
|
|
|
|
- Fix OSGi manifest
|
|
|
|
- Resolves: rhbz#1341052
|
|
|
|
|
2016-05-30 13:09:44 +00:00
|
|
|
* Mon May 30 2016 Michael Simacek <msimacek@redhat.com> - 3.4-1
|
|
|
|
- Update to upstream version 3.4
|
|
|
|
|
2016-05-30 08:41:54 +00:00
|
|
|
* Mon May 30 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.1-5
|
|
|
|
- Port to maven-jar-plugin 3.0.0
|
|
|
|
|
2016-02-03 19:28:03 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-13 06:55:14 +00:00
|
|
|
* Mon Jul 13 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.1-3
|
|
|
|
- Obsolete easymock2
|
|
|
|
- Resolves: rhbz#1172958
|
|
|
|
|
2015-06-17 05:01:08 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-05 06:31:01 +00:00
|
|
|
* Tue May 5 2015 Alexander Kurtakov <akurtako@redhat.com> 3.3.1-1
|
|
|
|
- Update to upstream 3.3.1 release.
|
|
|
|
|
2015-03-07 10:48:52 +00:00
|
|
|
* Sat Mar 07 2015 Michael Simacek <msimacek@redhat.com> - 3.3-2
|
|
|
|
- Remove retired maven-timestamp-plugin
|
|
|
|
|
2014-11-25 09:15:11 +00:00
|
|
|
* Tue Nov 25 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3-1
|
|
|
|
- Update to upstream version 3.3
|
|
|
|
|
2014-06-07 09:20:14 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-04 08:04:19 +00:00
|
|
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.2-2
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2013-08-30 10:01:44 +00:00
|
|
|
* Fri Aug 30 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.2-1
|
|
|
|
- Update to upstream version 3.2
|
|
|
|
|
2013-08-03 08:56:46 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-18 15:35:30 +00:00
|
|
|
* Mon Feb 18 2013 Tomas Radej <tradej@redhat.com> - 0:1.2-20
|
|
|
|
- Fixed sources (bz #905973)
|
|
|
|
|
2013-02-13 20:28:55 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-27 16:28:43 +00:00
|
|
|
* Tue Nov 27 2012 Tomas Radej <tradej@redhat.com> - 0:1.2-18
|
|
|
|
- Removed ownership of _mavenpomdir
|
|
|
|
|
2012-08-16 16:45:14 +00:00
|
|
|
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.2-17
|
|
|
|
- Add LICENSE file
|
|
|
|
- Remove rpm bug workaround
|
|
|
|
- Update to current packaging guidelines
|
|
|
|
|
2012-07-18 22:18:55 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-02-21 15:36:07 +00:00
|
|
|
* Tue Feb 21 2012 Tomas Radej <tradej@redhat.com> - 0:1.2-15
|
|
|
|
- Removed test
|
|
|
|
|
2012-01-13 01:23:00 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 16:01:17 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-26 10:30:06 +00:00
|
|
|
* Fri Nov 26 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.2-12
|
|
|
|
- Fix pom filename (Resolves rhbz#655795)
|
|
|
|
- Remove clean section and buildroot declaration
|
|
|
|
- Remove versioned jars and pom files
|
|
|
|
|
2009-08-20 19:58:18 +00:00
|
|
|
* Thu Aug 20 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-11
|
|
|
|
- Bump release for rebuild.
|
|
|
|
|
2009-08-20 06:51:20 +00:00
|
|
|
* Thu Aug 20 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-10
|
|
|
|
- Disable tests.
|
|
|
|
|
2009-08-20 06:31:33 +00:00
|
|
|
* Mon May 18 2009 Fernando Nasser <fnasser@redhat.com> 0:1.2-9
|
|
|
|
- Update instructions for obtaining source tar ball
|
|
|
|
|
|
|
|
* Mon May 04 2009 Yong Yang <yyang@redhat.com> 0:1.2-8
|
|
|
|
- Rebuild with maven2-2.0.8 built in non-bootstrap mode
|
|
|
|
|
|
|
|
* Wed Mar 18 2009 Yong Yang <yyang@redhat.com> 0:1.2-7
|
|
|
|
- merge from JPP-6
|
|
|
|
- rebuild with new maven2 2.0.8 built in bootstrap mode
|
|
|
|
|
|
|
|
* Mon Feb 02 2009 David Walluck <dwalluck@redhat.com> 0:1.2-6
|
|
|
|
- fix component-info.xml
|
|
|
|
|
|
|
|
* Mon Feb 02 2009 David Walluck <dwalluck@redhat.com> 0:1.2-5
|
|
|
|
- remove unneeded maven flag
|
|
|
|
|
|
|
|
* Mon Feb 02 2009 David Walluck <dwalluck@redhat.com> 0:1.2-4
|
|
|
|
- add repolib
|
|
|
|
|
|
|
|
* Fri Jan 30 2009 Will Tatam <will.tatam@red61.com> 1.2-3.jpp5
|
|
|
|
- Inital JPP-5 Build
|
|
|
|
|
|
|
|
* Fri Jan 09 2009 Yong Yang <yyang@redhat.com> 1.2-2jpp.1
|
|
|
|
- Imported from dbhole's maven 2.0.8 packages, initial building on jpp6
|
|
|
|
|
|
|
|
* Fri Apr 11 2008 Deepak Bhole <dbhole@redhat.com> 1.2-1jpp.1
|
|
|
|
- Import from JPackage
|
|
|
|
- Add pom file
|
|
|
|
|
|
|
|
* Fri Feb 24 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.2-1jpp
|
|
|
|
- Update to 1.2 keeping only java 1.4 requirement
|
|
|
|
|
|
|
|
* Fri Feb 24 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.1-3jpp
|
|
|
|
- drop java-1.3.1 requirement
|
|
|
|
|
|
|
|
* Mon Oct 04 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.1-2jpp
|
|
|
|
- Fixed Url, Summary, Description and License
|
|
|
|
|
|
|
|
* Mon Oct 04 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.1-1jpp
|
|
|
|
- First JPackage release
|
2020-08-31 15:06:44 +00:00
|
|
|
|