Make sure that perfmon_compat.h is installed with the rest of the headers

for ia64.
This commit is contained in:
William Eden Cohen 2006-05-05 14:35:15 +00:00
parent d2c5d949e3
commit 89e73ca765
2 changed files with 16 additions and 1 deletions

10
libpfm-compat.patch Normal file
View File

@ -0,0 +1,10 @@
--- libpfm-3.2-060421/include/Makefile.orig 2006-05-05 10:31:38.000000000 -0400
+++ libpfm-3.2-060421/include/Makefile 2006-05-05 10:32:19.000000000 -0400
@@ -34,6 +34,7 @@
ifeq ($(CONFIG_PFMLIB_ARCH_IA64),y)
HEADERS += perfmon/pfmlib_os_ia64.h \
perfmon/pfmlib_comp_ia64.h \
+ perfmon/perfmon_compat.h \
perfmon/perfmon_ia64.h \
perfmon/perfmon_default_smpl.h
endif

View File

@ -1,5 +1,5 @@
%define DATE 060421
%define libpfm_release 1
%define libpfm_release 2
Summary: a performance monitoring library for Linux/ia64
Name: libpfm
Version: 3.2
@ -10,6 +10,7 @@ ExclusiveArch: ia64 %{ix86} x86_64
ExclusiveOS: linux
AutoReqProv: no
Source: http://prdownloads.sourceforge.net/perfmon2/%{name}-%{version}-%{DATE}.tar.gz
Patch1: libpfm-compat.patch
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -31,6 +32,7 @@ It requires a kernel perfmon-2.x subsystem.
%prep
%setup -q -n %{name}-%{version}-%{DATE}
%patch1 -p1 -b .compat
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_prefix}
@ -57,6 +59,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
* Fri May 05 2006 Will Cohen <wcohen@redhat.com>
- make sure that perfmon_compat.h installed for ia64.
* Thu May 04 2006 Will Cohen <wcohen@redhat.com>
- Update to libpfm-3.2-060421.