add patch fixing libdir of sparc64

This commit is contained in:
Dennis Gilmore 2008-04-24 12:46:33 +00:00
parent 372bc6c30d
commit 9647376492
2 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -3,12 +3,13 @@
Summary: Utilities for working with md5sum implanted in ISO images Summary: Utilities for working with md5sum implanted in ISO images
Name: isomd5sum Name: isomd5sum
Version: 1.0.4 Version: 1.0.4
Release: 1 Release: 2
Epoch: 1 Epoch: 1
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://git.fedorahosted.org/git/?p=isomd5sum.git;a=summary URL: http://git.fedorahosted.org/git/?p=isomd5sum.git;a=summary
Source0: http://fedorahosted.org/releases/i/s/isomd5sum/%{name}-%{version}.tar.bz2 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python-devel popt-devel BuildRequires: python-devel popt-devel
@ -28,6 +29,7 @@ implanting and checking.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
make make
@ -54,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a %{_libdir}/*.a
%changelog %changelog
* Thu Apr 24 2008 Dennis Gilmore <dennis@ausil.us> - 1:1.0.4-2
- add patch for making libdir /usr/lib64 for sparc64
* Thu Feb 7 2008 Jeremy Katz <katzj@redhat.com> - 1:1.0.4-1 * Thu Feb 7 2008 Jeremy Katz <katzj@redhat.com> - 1:1.0.4-1
- Add man pages from Ryan Finnie (ryan AT finnie DOT org) - Add man pages from Ryan Finnie (ryan AT finnie DOT org)
- Use popt in checkisomd5 (Ryan Finnie) - Use popt in checkisomd5 (Ryan Finnie)