|
|
@ -3,11 +3,12 @@
|
|
|
|
Name: junit
|
|
|
|
Name: junit
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 4.13.1
|
|
|
|
Version: 4.13.1
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 10%{?dist}
|
|
|
|
Summary: Java regression test package
|
|
|
|
Summary: Java regression test package
|
|
|
|
License: EPL-1.0
|
|
|
|
License: EPL-1.0
|
|
|
|
URL: http://www.junit.org/
|
|
|
|
URL: http://www.junit.org/
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
|
|
# ./generate-tarball.sh
|
|
|
|
# ./generate-tarball.sh
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
@ -15,10 +16,10 @@ Source1: generate-tarball.sh
|
|
|
|
|
|
|
|
|
|
|
|
Patch1: 0001-Port-to-hamcrest-2.2.patch
|
|
|
|
Patch1: 0001-Port-to-hamcrest-2.2.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
|
|
BuildRequires: mvn(org.hamcrest:hamcrest-core)
|
|
|
|
BuildRequires: mvn(org.hamcrest:hamcrest-core)
|
|
|
@ -52,7 +53,7 @@ Javadoc for %{name}.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n junit4-r%{version}
|
|
|
|
%setup -q -n junit4-r%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%patch -P 1 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
|
|
# InaccessibleBaseClassTest fails with Java 8
|
|
|
|
# InaccessibleBaseClassTest fails with Java 8
|
|
|
|
sed -i /InaccessibleBaseClassTest/d src/test/java/org/junit/tests/AllTests.java
|
|
|
|
sed -i /InaccessibleBaseClassTest/d src/test/java/org/junit/tests/AllTests.java
|
|
|
@ -84,8 +85,10 @@ sed s/@version@/%{version}/ src/main/java/junit/runner/Version.java.template >sr
|
|
|
|
|
|
|
|
|
|
|
|
%mvn_file : %{name}
|
|
|
|
%mvn_file : %{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%mvn_alias junit:junit junit:junit-dep
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%mvn_build -- -DjdkVersion=1.6
|
|
|
|
%mvn_build -- -DjdkVersion=1.7 -P\!restrict-doclint
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
%mvn_install
|
|
|
@ -102,21 +105,29 @@ sed s/@version@/%{version}/ src/main/java/junit/runner/Version.java.template >sr
|
|
|
|
%doc doc/*
|
|
|
|
%doc doc/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1:4.13.1-7
|
|
|
|
* Thu Feb 08 2024 Marián Konček <mkoncek@redhat.com> - 1:4.13.1-10
|
|
|
|
- Fix patch usage
|
|
|
|
- Rebuild to regenerate auto-requires
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.13.1-9
|
|
|
|
|
|
|
|
- Rebuild to regenerate auto-requires
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.13.1-8
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1:4.13.1-7
|
|
|
|
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 19 2024 Marián Konček <mkoncek@redhat.com> - 1:4.13.1-6
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.13.1-6
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.13.1-5
|
|
|
|
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.13.1-5
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Bump Java compiler source/target levels to 1.7
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.13.1-4
|
|
|
|
* Tue Sep 15 2021 Didik Supriadi <didiksupriadi41@gmail.com> - 1:4.13.1-4
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
- Add alias for junit-dep
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.13.1-3
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.13.1-3
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.13.1-2
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.13.1-2
|
|
|
|
- Bootstrap build
|
|
|
|
- Bootstrap build
|
|
|
@ -236,7 +247,7 @@ sed s/@version@/%{version}/ src/main/java/junit/runner/Version.java.template >sr
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:4.11-4
|
|
|
|
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:4.11-4
|
|
|
|
- Rebuild to regenerate API documentation
|
|
|
|
- Rebuild to regenerate API documentation
|
|
|
|
- Resolves: CVE-2013-1571
|
|
|
|
- Resolves CVE-2013-1571
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 21 2013 Michal Srb <msrb@redhat.com> - 0:4.11-3
|
|
|
|
* Fri Jun 21 2013 Michal Srb <msrb@redhat.com> - 0:4.11-3
|
|
|
|
- Build from clean tarball
|
|
|
|
- Build from clean tarball
|
|
|
|