From 54405b5d66aa34e89b38eadf3c5444d9311810f9 Mon Sep 17 00:00:00 2001 From: Zuzana Miklankova Date: Thu, 13 Jul 2023 10:13:29 +0200 Subject: [PATCH] remove patch3 - temporary disabling percentile test The test no longer fails on i686 in rawhide --- sqlite-3.8.0-percentile-test.patch | 15 --------------- sqlite.spec | 8 ++++---- 2 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 sqlite-3.8.0-percentile-test.patch diff --git a/sqlite-3.8.0-percentile-test.patch b/sqlite-3.8.0-percentile-test.patch deleted file mode 100644 index f828fa5..0000000 --- a/sqlite-3.8.0-percentile-test.patch +++ /dev/null @@ -1,15 +0,0 @@ -# On i686 arch the removed test fails with result 2749999.50004681 instead of expected -# 2749999.5. This patch is temporary workaround and should be dropped as soon as a valid -# fix is found. - -diff -up sqlite-src-3080002/test/percentile.test.broken sqlite-src-3080002/test/percentile.test ---- sqlite-src-3080002/test/percentile.test.broken 2013-09-16 13:19:53.406004041 +0200 -+++ sqlite-src-3080002/test/percentile.test 2013-09-16 13:20:00.079024945 +0200 -@@ -195,7 +195,6 @@ ifcapable vtab { - foreach {in out} { - 0 0.0 - 100 9999990.0 -- 50 2749999.5 - 10 99999.9 - } { - do_test percentile-2.1.$in { diff --git a/sqlite.spec b/sqlite.spec index 63ed6b2..62d0012 100644 --- a/sqlite.spec +++ b/sqlite.spec @@ -12,7 +12,7 @@ Summary: Library that implements an embeddable SQL database engine Name: sqlite Version: %{rpmver} -Release: 3%{?dist} +Release: 4%{?dist} License: blessing URL: http://www.sqlite.org/ @@ -21,8 +21,6 @@ Source1: http://www.sqlite.org/%{year}/sqlite-doc-%{docver}.zip Source2: http://www.sqlite.org/%{year}/sqlite-autoconf-%{realver}.tar.gz # Support a system-wide lemon template Patch1: sqlite-3.6.23-lemon-system-template.patch -# Temporary workaround for failed percentile test, see patch for details -Patch3: sqlite-3.8.0-percentile-test.patch # Disable test date-2.2c on i686 Patch4: sqlite-3.16-datetest-2.2c.patch # Modify sync2.test to pass with DIRSYNC turned off @@ -130,7 +128,6 @@ This package contains the analysis program for %{name}. %prep %setup -q -a1 -n %{name}-src-%{realver} %patch -P 1 -p1 -%patch -P 3 -p1 %ifarch %{ix86} %patch -P 4 -p1 %endif @@ -266,6 +263,9 @@ make test %endif %changelog +* Thu Jul 13 2023 Zuzana Miklankova - 3.42.0-4 +- remove patch3 - temporary workaround for percentile test + * Thu Jul 13 2023 Zuzana Miklankova - 3.42.0-3 - remove patch2 - no-malloc-usable-size, #801981