Fix patch usage

Related: RHEL-62405
This commit is contained in:
Marián Konček 2024-11-21 01:07:48 +01:00
parent d5186d5ab6
commit 8c3066c0ea

View File

@ -3,7 +3,7 @@
Name: junit
Epoch: 1
Version: 4.13.1
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Java regression test package
License: EPL-1.0
URL: http://www.junit.org/
@ -52,7 +52,7 @@ Javadoc for %{name}.
%prep
%setup -q -n junit4-r%{version}
%patch 1 -p1
%patch -P 1 -p1
# InaccessibleBaseClassTest fails with Java 8
sed -i /InaccessibleBaseClassTest/d src/test/java/org/junit/tests/AllTests.java
@ -102,6 +102,9 @@ sed s/@version@/%{version}/ src/main/java/junit/runner/Version.java.template >sr
%doc doc/*
%changelog
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1:4.13.1-7
- Fix patch usage
* Tue Nov 19 2024 Marián Konček <mkoncek@redhat.com> - 1:4.13.1-6
- Rebuild with regenerated Requires on Java