From 9218896c9eba9d242e5b5307e97280eff91da3c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Wed, 2 Dec 2015 22:43:22 +0000 Subject: [PATCH] Fix build on s390 architecture (#1286992) --- p7zip.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/p7zip.spec b/p7zip.spec index a33ebb1..7edff1a 100644 --- a/p7zip.spec +++ b/p7zip.spec @@ -1,7 +1,7 @@ Summary: Very high compression ratio file archiver Name: p7zip Version: 15.09 -Release: 2%{?dist} +Release: 3%{?dist} # Files under C/Compress/Lzma/ are dual LGPL or CPL License: LGPLv2 and (LGPLv2+ or CPL) Group: Applications/Archiving @@ -16,6 +16,7 @@ URL: http://p7zip.sourceforge.net/ # tar --numeric-owner -cjvf p7zip_${VERSION}_src_all-norar.tar.bz2 p7zip_${VERSION} Source: p7zip_%{version}_src_all-norar.tar.bz2 Patch0: p7zip_15.09-norar_cmake.patch +Patch1: p7zip_15.09-s390.patch BuildRequires: cmake # BuildRequires: wxGTK3-devel wxGTK-devel # for 7zG GUI @@ -43,6 +44,7 @@ This package contains also a virtual file system for Midnight Commander. %prep %setup -q -n %{name}_%{version} %patch0 -p1 -b .norar_cmake +%patch1 -p1 -b .s390 # Move docs early so that they don't get installed by "make install" and we # can include them in %%doc mv DOC docs @@ -104,6 +106,9 @@ make install \ %changelog +* Wed Dec 02 2015 Sérgio Basto - 15.09-3 +- Fix build on s390 architecture (#1286992) + * Thu Nov 12 2015 Sérgio Basto - 15.09-2 - fix rhbz #917366