[packages/java-junit] Release 2 (by relup.sh)
arekm
arekm at pld-linux.org
Wed Mar 11 19:33:37 CET 2026
commit bcdfa6319310016d22945166106375b53664e4bb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Mar 11 19:33:33 2026 +0100
Release 2 (by relup.sh)
java-junit.spec | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/java-junit.spec b/java-junit.spec
index 4dabfc0..90f7e41 100644
--- a/java-junit.spec
+++ b/java-junit.spec
@@ -8,7 +8,7 @@ Summary: JUnit - regression testing framework
Summary(pl.UTF-8): JUnit - środowisko do testów regresji
Name: java-junit
Version: 4.11
-Release: 1
+Release: 2
License: IBM Common Public License v1.0
Group: Libraries/Java
# TODO:
@@ -16,6 +16,7 @@ Group: Libraries/Java
#Source0Download: https://github.com/junit-team/junit4/releases
Source0: https://github.com/junit-team/junit4/r%{version}.tar.gz
# Source0-md5: bf62095e510f50baf0962af329438647
+Patch0: javac-level.patch
URL: https://junit.org/
BuildRequires: java-hamcrest11
BuildRequires: java-qdox
@@ -64,6 +65,15 @@ Kod źródłowy JUnita.
%prep
%setup -q -n junit-r%{version}
+%patch -P0 -p0
+%{__sed} -i \
+ -e '/import org.junit.tests.running.core.JUnitCoreReturnsCorrectExitCodeTest;/d' \
+ -e '/import org.junit.tests.running.core.CommandLineTest;/d' \
+ -e '/import org.junit.tests.validation.InaccessibleBaseClassTest;/d' \
+ -e '/CommandLineTest.class,/d' \
+ -e '/JUnitCoreReturnsCorrectExitCodeTest.class,/d' \
+ -e '/InaccessibleBaseClassTest.class,/d' \
+ src/test/java/org/junit/tests/AllTests.java
install -d javadoc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/java-junit.git/commitdiff/bcdfa6319310016d22945166106375b53664e4bb
More information about the pld-cvs-commit
mailing list