From d7e61a77237f97677343449d06316133676a8a73ae244eb4be1b17faa39136cd Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 10 May 2024 10:04:29 +0000 Subject: [PATCH] Updating link to change in openSUSE:Factory/ncurses revision 263 OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=570f86e3ad49d5dbd6656dba6285cecf --- ncurses-6.5-patches.tar.bz2 | 4 ++-- ncurses.changes | 13 +++++++++++++ ncurses.spec | 16 ++++++++++++++-- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/ncurses-6.5-patches.tar.bz2 b/ncurses-6.5-patches.tar.bz2 index 924c993..12cecaf 100644 --- a/ncurses-6.5-patches.tar.bz2 +++ b/ncurses-6.5-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:30ec28d18d884f51bf0d20e291ede030f4e346fffc6314a9fc464d90d8f8a348 -size 230 +oid sha256:a340e9bd90cd7b2a4b315e2c98c5bbe41998b26966ce1dbd75b1c9a012b5b599 +size 18074 diff --git a/ncurses.changes b/ncurses.changes index 32add1f..f19fce4 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed May 8 07:30:03 UTC 2024 - Dr. Werner Fink + +- Make verify the patches an optional task for local builds only + +------------------------------------------------------------------- +Mon May 6 06:51:35 UTC 2024 - Dr. Werner Fink + +- Add ncurses patch 20240504 + + update ncurses/wcwidth.c, for MinGW ports, from xterm. + + trim obsolete comment about tack from INSTALL. +- Verify also every patch + ------------------------------------------------------------------- Mon Apr 29 07:42:51 UTC 2024 - Dr. Werner Fink diff --git a/ncurses.spec b/ncurses.spec index 9bf6961..60e7394 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -27,6 +27,7 @@ %bcond_with ada %bcond_with libbsd %bcond_with usepcre2 +%bcond_with gpgverify %if %{with onlytinfo} %global soname_tinfo tinfo @@ -44,6 +45,10 @@ Name: ncurses %if %{with hasheddb} BuildRequires: db-devel %endif +%if %{with gpgverify} +BuildRequires: /usr/bin/gpg +%endif +BuildRequires: /usr/bin/zcat BuildRequires: expect %if %{with ada} # Currently we're missing gprbuild and gprconfig @@ -335,11 +340,18 @@ incoming data stream. %prep %setup -q -n %{name}-%{basevers} -b1 -a5 set +x -for patch in ../patches/ncurses*.patch +%if %{with gpgverify} +GPGTMP=$(mktemp -d ${PWD}/tmp.XXXXXXXXXX) +gpg --homedir $GPGTMP -q --no-default-keyring --trust-model always --import %{S:11} +gpg --homedir $GPGTMP -q --multifile --verify ../patches/*.patch.gz.asc +unset GPGTMP +rm -rf "$GPGTMP" +%endif +for patch in ../patches/ncurses*.patch.gz do test -e "$patch" || continue echo Apply patch: $patch - patch -f -T -p1 -s < $patch + zcat $patch | patch -f -T -p1 -s done set -x %if ! %{defined donttouch}