No pdf2dsc in newer CXS

This commit is contained in:
Zdenek Dohnal 2025-03-21 10:31:56 +01:00
commit 70f18f79d3

View file

@ -77,9 +77,14 @@ for i in "ghostscript" "gs" "gsnd" "ps2ascii";do
done
rlPhaseStartTest 'pdf2dsc'
rlRun "pdf2dsc IBM-RED-HAT-Press-Release-10-2018.pdf &> $LOG"
rlRun "cff $LOG"
rlRun "file IBM-RED-HAT-Press-Release-10-2018.dsc|grep DSC"
if rlIsRHELLike '>10'
then
rlLog "pdf2dsc is not maintained upstream, skipping"
else
rlRun "pdf2dsc IBM-RED-HAT-Press-Release-10-2018.pdf &> $LOG"
rlRun "cff $LOG"
rlRun "file IBM-RED-HAT-Press-Release-10-2018.dsc|grep DSC"
fi
rlPhaseEnd
rlPhaseStartTest 'pdf2ps'