rpms/papi/devel papi.spec,1.7,1.8

William Eden Cohen wcohen at fedoraproject.org
Wed Dec 9 21:03:28 UTC 2009


Author: wcohen

Update of /cvs/pkgs/rpms/papi/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23716

Modified Files:
	papi.spec 
Log Message:
* Mon Dec 9 2009 William Cohen <wcohen at redhat.com> - 3.7.2-2
- Remove dependency on kernel-devel.




Index: papi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/papi/devel/papi.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- papi.spec	9 Dec 2009 17:21:45 -0000	1.7
+++ papi.spec	9 Dec 2009 21:03:28 -0000	1.8
@@ -1,15 +1,15 @@
 Summary: Performance Application Programming Interface
 Name: papi
 Version: 3.7.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Group: Development/System
 URL: http://icl.cs.utk.edu/papi/
 Source0: http://icl.cs.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: ncurses-devel
+BuildRequires: kernel-headers >= 2.6.31
 BuildRequires: gcc-gfortran
-BuildRequires: kernel-devel >= 2.6.31
 BuildRequires: chrpath
 #Right now libpfm does not know anything about s390 and will fail
 ExcludeArch: s390, s390x
@@ -32,9 +32,7 @@ that uses PAPI.
 
 %build
 cd src
-PERF_HEAD=`ls /usr/src/kernels/*/include/linux/perf_counter.h|sort |tail -n 1` || exit 1
-PERF_HEADER=`dirname $PERF_HEAD`
-%configure --with-pcl=yes --with-pcl-incdir=$PERF_HEADER --disable-static
+%configure --with-pcl=yes --disable-static --with-pcl-incdir=/usr/include/linux
 make %{?_smp_mflags}
 
 #%check
@@ -72,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc %{_mandir}/man3/*
 
 %changelog
+* Mon Dec 9 2009 William Cohen <wcohen at redhat.com> - 3.7.2-2
+- Remove dependency on kernel-devel.
+
 * Mon Dec 9 2009 William Cohen <wcohen at redhat.com> - 3.7.2-1
 - Import papi-3.7.2.
 




More information about the fedora-extras-commits mailing list