Compare commits

...

No commits in common. 'c9' and 'stream-javapackages-tools-202201-msvsphere-9.1.0' have entirely different histories.

14
.gitignore vendored

@ -1 +1,13 @@
SOURCES/easymock-4.2.tar.gz
/results_*
/*.src.rpm
/easymock-1.2-src.tar.gz
/easymock-1.2_Java1.5.pom
/easymock-3.2.tar.gz
/easymock-3.3.tar.gz
/easymock-3.3.1.tar.gz
/easymock-3.4.tar.gz
/easymock-3.5.tar.gz
/easymock-3.6.tar.gz
/easymock-4.0.2.tar.gz
/easymock-4.2.tar.gz

@ -2,7 +2,7 @@
Name: easymock
Version: 4.2
Release: 6%{?dist}
Release: 8%{?dist}
Summary: Easy mock objects
License: ASL 2.0
URL: http://www.easymock.org
@ -18,11 +18,12 @@ Patch3: 0003-Fix-OSGi-manifest.patch
Patch4: 0004-Port-to-hamcrest-2.1.patch
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
BuildRequires: maven-local
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
BuildRequires: mvn(cglib:cglib)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
@ -103,6 +104,17 @@ rm core/src/test/java/org/easymock/tests2/ClassExtensionHelperTest.java
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-surefire-plugin']" \
"<configuration><testNGArtifactName>none:none</testNGArtifactName></configuration>" core
# Workaround Java 17 compatibility issue that should be fixed in
# easymock 4.4: https://github.com/easymock/easymock/issues/274
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-surefire-plugin']/pom:configuration" \
"<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED</argLine>" core
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-surefire-plugin']/pom:configuration" \
"<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED</argLine>" test-testng
%pom_add_plugin :maven-surefire-plugin test-java8 "<configuration>
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED</argLine></configuration>"
%pom_add_plugin :maven-surefire-plugin test-junit5 "<configuration>
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED</argLine></configuration>"
%build
%mvn_build
@ -116,15 +128,23 @@ rm core/src/test/java/org/easymock/tests2/ClassExtensionHelperTest.java
%license core/LICENSE.txt
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.2-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Jul 14 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 4.2-8
- Rebuilt for MSVSphere 9.2
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 4.2-7
- Rebuilt for java-17-openjdk as system jdk
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2-5
- Rebuild to workaround DistroBaker issue
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2-5
- Workaround build issue with OpenJDK 17
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2-4
- Bootstrap Maven for CentOS Stream 9
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2-3
- Bootstrap build

Loading…
Cancel
Save