Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qpdf for openSUSE:Factory checked in 
at 2022-09-13 15:07:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qpdf (Old)
 and      /work/SRC/openSUSE:Factory/.qpdf.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qpdf"

Tue Sep 13 15:07:38 2022 rev:62 rq:1002722 version:10.6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/qpdf/qpdf.changes        2022-07-22 
19:20:22.276572498 +0200
+++ /work/SRC/openSUSE:Factory/.qpdf.new.2083/qpdf.changes      2022-09-13 
15:07:39.360349842 +0200
@@ -1,0 +2,6 @@
+Thu Sep  8 20:18:10 UTC 2022 - Andreas Stieger <[email protected]>
+
+- fix build with GNU grep 3.8 (boo#1203231)
+  add qpdf-10.6.3-grep-3.8.patch
+
+-------------------------------------------------------------------

New:
----
  qpdf-10.6.3-grep-3.8.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qpdf.spec ++++++
--- /var/tmp/diff_new_pack.NxlU9b/_old  2022-09-13 15:07:40.004351656 +0200
+++ /var/tmp/diff_new_pack.NxlU9b/_new  2022-09-13 15:07:40.008351667 +0200
@@ -28,6 +28,7 @@
 Source1:        
https://github.com/qpdf/qpdf/releases/download/release-qpdf-%{version}/qpdf-%{version}.tar.gz.asc
 Source2:        qpdf.keyring
 Patch1:         disable-newpdf-renderer.patch
+Patch2:         qpdf-10.6.3-grep-3.8.patch
 BuildRequires:  gcc-c++
 BuildRequires:  ghostscript
 BuildRequires:  libjpeg8-devel

++++++ qpdf-10.6.3-grep-3.8.patch ++++++
>From e95c53e9b4ab58666aed16dff1bb90962ee0f24a Mon Sep 17 00:00:00 2001
From: Andreas Stieger <[email protected]>
Date: Thu, 8 Sep 2022 22:26:47 +0200
Subject: [PATCH] Fix tests with GNU grep 3.8
References: https://bugzilla.opensuse.org/show_bug.cgi?id=1203231

Adapted from https://github.com/qpdf/qpdf/pull/761

Index: qpdf-10.6.3/build-scripts/build-doc
===================================================================
--- qpdf-10.6.3.orig/build-scripts/build-doc
+++ qpdf-10.6.3/build-scripts/build-doc
@@ -10,7 +10,7 @@ pip3 install sphinx sphinx_rtd_theme
 ./configure --enable-doc-maintenance
 make -j$(nproc) doc-dist DOC_DEST=doc
 zip -r doc.zip doc
-version=$(egrep '^release' manual/conf.py | cut -d"'" -f 2)
+version=$(grep -E '^release' manual/conf.py | cut -d"'" -f 2)
 mv doc qpdf-${version}-doc
 mkdir distribution
 zip -r distribution/qpdf-${version}-doc.zip qpdf-${version}-doc
Index: qpdf-10.6.3/qpdf/qtest/qpdf/diff-encrypted
===================================================================
--- qpdf-10.6.3.orig/qpdf/qtest/qpdf/diff-encrypted
+++ qpdf-10.6.3/qpdf/qtest/qpdf/diff-encrypted
@@ -1,5 +1,5 @@
 #!/bin/sh
-lines=$(expr 0 + $(diff "$1" "$2" | egrep '^[<>]' | egrep -v 
'(Date|InstanceID)' | wc -l))
+lines=$(expr 0 + $(diff "$1" "$2" | grep -E '^[<>]' | grep -E -v 
'(Date|InstanceID)' | wc -l))
 if [ "$lines" = "0" ]; then
    echo okay
 else
Index: qpdf-10.6.3/qpdf/qtest/qpdf/diff-ignore-ID-version
===================================================================
--- qpdf-10.6.3.orig/qpdf/qtest/qpdf/diff-ignore-ID-version
+++ qpdf-10.6.3/qpdf/qtest/qpdf/diff-ignore-ID-version
@@ -1,6 +1,6 @@
 #!/bin/sh
-lines=$(expr 0 + $(diff "$1" "$2" | egrep '^[<>]' | \
-        egrep -v '/ID' | egrep -v '%PDF-' | wc -l))
+lines=$(expr 0 + $(diff "$1" "$2" | grep -E '^[<>]' | \
+        grep -E -v '/ID' | grep -E -v '%PDF-' | wc -l))
 if [ "$lines" = "0" ]; then
    echo okay
 else

Reply via email to