diff --git a/jgit.spec b/jgit.spec index 1aca435..9b5d3b4 100644 --- a/jgit.spec +++ b/jgit.spec @@ -2,7 +2,7 @@ Name: jgit Version: 5.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A pure java implementation of git # We don't ship the EPL-licensed Eclipse features in this package @@ -92,6 +92,9 @@ sed -i -e 's/@{argLine}//' $(find -name pom.xml) sed -i -e 's/org\.springframework\.boot\.loader\.JarLauncher/org.eclipse.jgit.pgm.Main/' \ org.eclipse.jgit.pgm/jgit.sh +# Relax junit restriction +sed -i -e '/org\.junit/s/4\.13/4.12/' $(grep -r -l --include MANIFEST.MF org.junit) + # Remove unnecessary dep on org.apache.log4j %pom_remove_dep log4j:log4j . org.eclipse.jgit.pgm %pom_change_dep org.slf4j:slf4j-log4j12 org.slf4j:slf4j-simple . org.eclipse.jgit.pgm @@ -129,6 +132,9 @@ EOF %license LICENSE %changelog +* Sun Mar 22 2020 Mat Booth - 5.7.0-2 +- Relax dep on junit + * Sun Mar 22 2020 Mat Booth - 5.7.0-1 - Update to latest upstream release