Accepting request 829576 from system:packagemanager

OBS-URL: https://build.opensuse.org/request/show/829576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dpkg?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2020-10-06 15:06:01 +00:00 committed by Git OBS Bridge
commit c9eaffea41
4 changed files with 20 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 25 13:39:24 UTC 2020 - Martin Liška <mliska@suse.cz>
- Add ncurses-fix.patch in order to fix ncurses issue.
-------------------------------------------------------------------
Fri Aug 2 06:58:54 UTC 2019 - Martin Liška <mliska@suse.cz>

View File

@ -1,7 +1,7 @@
#
# spec file for package dpkg
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,13 +22,14 @@ Release: 0
Summary: Debian package management system
License: GPL-2.0-or-later
Group: System/Packages
Url: http://www.debian.org
URL: http://www.debian.org
Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz
Source3: sensible-editor
# PATCH-FIX-OPENSUSE replace debian with opensuse. replace macros. update-alternatives temp directories' path and name from dpkg* to rpm*.
Patch1: update-alternatives-suse.patch
# PATCH-FIX-SUSE: tar of Leap 42.{2,3} does not recognize --sort=name, --clamp-mtime options
Patch2: drop-tar-option.patch
Patch3: ncurses-fix.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@ -87,6 +88,7 @@ Libraries and header files for dpkg.
%if 0%{?suse_version} == 1315
%patch2 -p1
%endif
%patch3 -p1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects

9
ncurses-fix.patch Normal file
View File

@ -0,0 +1,9 @@
diff --git a/dselect/keyoverride b/dselect/keyoverride
index 35967ff..91a8c0c 100644
--- a/dselect/keyoverride
+++ b/dselect/keyoverride
@@ -56,3 +56,4 @@ KEY_SRIGHT Shift Right
KEY_SPREVIOUS Shift Previous
KEY_MAX [elide]
KEY_MIN [elide]
+KEY_EVENT [elide]

View File

@ -1,7 +1,7 @@
#
# spec file for package update-alternatives
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@ Release: 0
Summary: Maintain symbolic links determining default commands
License: GPL-2.0-or-later
Group: System/Management
Url: http://ftp.de.debian.org/debian/pool/main/d/dpkg/
URL: http://ftp.de.debian.org/debian/pool/main/d/dpkg/
Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz
Source3: sensible-editor
Patch0: update-alternatives-suse.patch