Accepting request 182586 from home:jengelh:branches:system:packagemanager

pedantic change from %patch -P 6 to %patch6

OBS-URL: https://build.opensuse.org/request/show/182586
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=8
This commit is contained in:
Philipp Thomas 2013-07-09 13:16:22 +00:00 committed by Git OBS Bridge
parent 4c93b71c9b
commit 6f52397131
5 changed files with 39 additions and 0 deletions

25
dpkg-sparc.diff Normal file
View File

@ -0,0 +1,25 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2013-07-03 11:48:39.034294424 +0200
X-Upstream: General patch applicable for all distributions.
cputable: support invocation via `./configure --host=sparcv9-linux-gnu`
autoconf knows to handle sparc*, but the dpkg specific
m4/dpkg-arch.m4 does not.
---
cputable | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: dpkg-1.16.10/cputable
===================================================================
--- dpkg-1.16.10.orig/cputable
+++ dpkg-1.16.10/cputable
@@ -37,5 +37,5 @@ sh3 sh3 sh3 32 little
sh3eb sh3eb sh3eb 32 big
sh4 sh4 sh4 32 little
sh4eb sh4eb sh4eb 32 big
-sparc sparc sparc 32 big
-sparc64 sparc64 sparc64 64 big
+sparc64 sparc64 sparc64.* 64 big
+sparc sparc sparc.* 32 big

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 3 09:57:49 UTC 2013 - jengelh@inai.de
- Add dpkg-sparc.diff to unbreak compilation on sparcv9 build
-------------------------------------------------------------------
Tue Mar 26 13:22:40 UTC 2013 - frank.lichtenheld@sophos.com

View File

@ -37,6 +37,7 @@ Patch3: dpkg-pod2man-no-utf8.patch
Patch4: dpkg-old-File-Path.patch
# PATCH-FIX-SUSE support for old Test::More (SLES11)
Patch5: dpkg-old-Test-More.patch
Patch6: dpkg-sparc.diff
BuildRequires: gcc-c++
BuildRequires: libselinux-devel
%define use_selinux 1
@ -115,6 +116,7 @@ Provides translations to the package %{name}
%patch4 -p1
%patch5 -p1
%endif
%patch6 -p1
%build
export CFLAGS="%{optflags}"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 3 09:57:49 UTC 2013 - jengelh@inai.de
- Add dpkg-sparc.diff to unbreak compilation on sparcv9 build
-------------------------------------------------------------------
Mon Mar 25 20:35:24 UTC 2013 - frank.lichtenheld@sophos.com

View File

@ -29,6 +29,7 @@ Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}
Source3: sensible-editor
Patch0: update-alternatives-1.16.8-suse.patch
Patch1: dpkg-archtable-suse.patch
Patch6: dpkg-sparc.diff
BuildRequires: ncurses-devel
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -49,6 +50,7 @@ particular preference.
%patch0 -p1
%patch1 -p1
%patch6 -p1
%build
%{configure} \