- Remove dependency on kernel-devel.
This commit is contained in:
parent
534290de77
commit
91ef30eac0
11
papi.spec
11
papi.spec
@ -1,15 +1,15 @@
|
|||||||
Summary: Performance Application Programming Interface
|
Summary: Performance Application Programming Interface
|
||||||
Name: papi
|
Name: papi
|
||||||
Version: 3.7.2
|
Version: 3.7.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
URL: http://icl.cs.utk.edu/papi/
|
URL: http://icl.cs.utk.edu/papi/
|
||||||
Source0: http://icl.cs.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz
|
Source0: http://icl.cs.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
BuildRequires: kernel-headers >= 2.6.31
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
BuildRequires: kernel-devel >= 2.6.31
|
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
#Right now libpfm does not know anything about s390 and will fail
|
#Right now libpfm does not know anything about s390 and will fail
|
||||||
ExcludeArch: s390, s390x
|
ExcludeArch: s390, s390x
|
||||||
@ -32,9 +32,7 @@ that uses PAPI.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cd src
|
cd src
|
||||||
PERF_HEAD=`ls /usr/src/kernels/*/include/linux/perf_counter.h|sort |tail -n 1` || exit 1
|
%configure --with-pcl=yes --disable-static --with-pcl-incdir=/usr/include/linux
|
||||||
PERF_HEADER=`dirname $PERF_HEAD`
|
|
||||||
%configure --with-pcl=yes --with-pcl-incdir=$PERF_HEADER --disable-static
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
#%check
|
#%check
|
||||||
@ -72,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc %{_mandir}/man3/*
|
%doc %{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 9 2009 William Cohen <wcohen@redhat.com> - 3.7.2-2
|
||||||
|
- Remove dependency on kernel-devel.
|
||||||
|
|
||||||
* Mon Dec 9 2009 William Cohen <wcohen@redhat.com> - 3.7.2-1
|
* Mon Dec 9 2009 William Cohen <wcohen@redhat.com> - 3.7.2-1
|
||||||
- Import papi-3.7.2.
|
- Import papi-3.7.2.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user