Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Fedora Release Engineering | 813e5feba4 | |
Bill Nottingham | d951694427 | |
Dennis Gilmore | cd64d31691 | |
Jesse Keating | 4b14e321f1 |
21
Makefile
21
Makefile
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: isomd5sum
|
||||
# $Id$
|
||||
NAME := isomd5sum
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
|
@ -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
|
|
@ -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 <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
|
||||
- Add man pages from Ryan Finnie (ryan AT finnie DOT org)
|
||||
- Use popt in checkisomd5 (Ryan Finnie)
|
||||
|
|
Loading…
Reference in New Issue