diff --git a/SOURCES/0002-Add-ppc64le-1125552.patch b/SOURCES/0002-Add-ppc64le-1125552.patch new file mode 100644 index 0000000..f8a206b --- /dev/null +++ b/SOURCES/0002-Add-ppc64le-1125552.patch @@ -0,0 +1,25 @@ +From 84e47026d23ed228c20e11f78f6c86219736a855 Mon Sep 17 00:00:00 2001 +From: "Brian C. Lane" +Date: Fri, 10 Jan 2014 08:42:18 -0800 +Subject: [PATCH] Add ppc64le + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index f59bfb0..eecd893 100644 +--- a/Makefile ++++ b/Makefile +@@ -4,7 +4,7 @@ PYTHONINCLUDE = /usr/include/$(PYTHON) + + VERSION=1.0.10 + +-ifneq (,$(filter aarch64 sparc64 ppc64 x86_64 s390x,$(shell uname -m))) ++ifneq (,$(filter sparc64 ppc64 ppc64le x86_64 s390x aarch64,$(shell uname -m))) + LIBDIR = lib64 + else + LIBDIR = lib +-- +1.9.3 + diff --git a/SPECS/isomd5sum.spec b/SPECS/isomd5sum.spec index a26f076..7fb1b18 100644 --- a/SPECS/isomd5sum.spec +++ b/SPECS/isomd5sum.spec @@ -1,7 +1,7 @@ Summary: Utilities for working with md5sum implanted in ISO images Name: isomd5sum Version: 1.0.10 -Release: 4%{?dist} +Release: 5%{?dist} Epoch: 1 License: GPLv2+ Group: Applications/System @@ -10,6 +10,7 @@ Source0: http://fedorahosted.org/releases/i/s/isomd5sum/%{name}-%{version}.tar.b BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: popt-devel Patch0: 0001-Add-aarch64-1041320.patch +Patch1: 0002-Add-ppc64le-1125552.patch %description The isomd5sum package contains utilities for implanting and verifying @@ -35,6 +36,7 @@ Python bindings for isomd5sum %prep %setup -q %patch0 -p1 +%patch1 -p1 %build CFLAGS="$RPM_OPT_FLAGS -Wno-strict-aliasing"; export CFLAGS @@ -65,6 +67,10 @@ rm -rf $RPM_BUILD_ROOT %{python_sitearch}/pyisomd5sum.so %changelog +* Tue Aug 26 2014 Radek Vykydal - 1:1.0.10-5 +- Add ppc64le (aldyh@redhat.com) + Resolves: rhbz#1125552 + * Tue Jan 28 2014 Radek Vykydal - 1:1.0.10-4 - Add aarch64 (bcl) Resolves: rhbz#1041320