Accepting request 1003553 from home:Andreas_Schwab:Factory
- ppmforge-test.patch: fix ppmforge test to avoid float overflow OBS-URL: https://build.opensuse.org/request/show/1003553 OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=137
This commit is contained in:
parent
b5299b229e
commit
6e3cf01f88
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 14 13:15:23 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- ppmforge-test.patch: fix ppmforge test to avoid float overflow
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 19 17:47:53 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package netpbm
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -47,6 +47,8 @@ Patch6: signed-char.patch
|
||||
Patch7: big-endian.patch
|
||||
# bsc#1144255 disable jpeg2k support due to removal of jasper
|
||||
Patch8: netpbm-disable-jasper.patch
|
||||
# PATCH-FIX-UPSTREAM fix ppmforge test to avoid float overflow
|
||||
Patch9: ppmforge-test.patch
|
||||
BuildRequires: flex
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
|
16
ppmforge-test.patch
Normal file
16
ppmforge-test.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Index: netpbm-10.96.4/test/ppmforge.test
|
||||
===================================================================
|
||||
--- netpbm-10.96.4.orig/test/ppmforge.test
|
||||
+++ netpbm-10.96.4/test/ppmforge.test
|
||||
@@ -44,9 +44,9 @@ rm ${test_ppm}
|
||||
|
||||
echo "Test 5."
|
||||
ppmforge -seed 1 -stars 0 -ice 0.01 \
|
||||
- -inclination 9 -hour 12 -power 200 > ${test_ppm}
|
||||
+ -inclination 9 -hour 12 -power 20 > ${test_ppm}
|
||||
ppmforge -seed 1 -stars 0 -ice 0.01 \
|
||||
- -inclination 10 -hour 12 -power 200 | \
|
||||
+ -inclination 10 -hour 12 -power 20 | \
|
||||
pnmpsnr -target1=53.89 -target2=49.38 -target3=65.15 - ${test_ppm}
|
||||
|
||||
rm ${test_ppm}
|
Loading…
Reference in New Issue
Block a user