From 964737649289583cdd7cc708abdc12a3dfcf9c44 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 24 Apr 2008 12:46:33 +0000 Subject: [PATCH] add patch fixing libdir of sparc64 --- isomd5sum-1.0.4-sparc64.patch | 11 +++++++++++ isomd5sum.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 isomd5sum-1.0.4-sparc64.patch diff --git a/isomd5sum-1.0.4-sparc64.patch b/isomd5sum-1.0.4-sparc64.patch new file mode 100644 index 0000000..5641f99 --- /dev/null +++ b/isomd5sum-1.0.4-sparc64.patch @@ -0,0 +1,11 @@ +--- isomd5sum-1.0.4/Makefile.BAD 2008-04-24 07:33:17.000000000 -0500 ++++ isomd5sum-1.0.4/Makefile 2008-04-24 07:33:49.000000000 -0500 +@@ -2,7 +2,7 @@ + PYTHON = python$(PYVER) + PYTHONINCLUDE = /usr/include/$(PYTHON) + +-ifneq (,$(filter ppc64 x86_64 s390x,$(shell uname -m))) ++ifneq (,$(filter ppc64 x86_64 s390x sparc64,$(shell uname -m))) + LIBDIR = lib64 + else + LIBDIR = lib diff --git a/isomd5sum.spec b/isomd5sum.spec index 460cb19..d016662 100644 --- a/isomd5sum.spec +++ b/isomd5sum.spec @@ -3,12 +3,13 @@ Summary: Utilities for working with md5sum implanted in ISO images Name: isomd5sum Version: 1.0.4 -Release: 1 +Release: 2 Epoch: 1 License: GPLv2+ Group: Applications/System URL: http://git.fedorahosted.org/git/?p=isomd5sum.git;a=summary Source0: http://fedorahosted.org/releases/i/s/isomd5sum/%{name}-%{version}.tar.bz2 +Patch0: isomd5sum-1.0.4-sparc64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: python-devel popt-devel @@ -28,6 +29,7 @@ implanting and checking. %prep %setup -q +%patch0 -p1 %build make @@ -54,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.a %changelog +* Thu Apr 24 2008 Dennis Gilmore - 1:1.0.4-2 +- add patch for making libdir /usr/lib64 for sparc64 + * Thu Feb 7 2008 Jeremy Katz - 1:1.0.4-1 - Add man pages from Ryan Finnie (ryan AT finnie DOT org) - Use popt in checkisomd5 (Ryan Finnie)