14 Mar 2012 21:21
Revisions to the libpfm rpm spec file
William Cohen <wcohen <at> redhat.com>
2012-03-14 20:21:02 GMT
2012-03-14 20:21:02 GMT
Hi, I took a look at the rpm spec file for libpfm in the libpfm-4.2.0.tar.gz. Attached is the revised version: -Allow the python support to be include or excluded from rpmbuild -change spec file name to libpfm.spec (no need for the '4' in there) -adjust summary and line lengths (no '.' and limit length of lines) -allow parallel makes of libpfm -avoid having libpfm-devel own man3 directory -proper version information in changelog -Will
%{!?with_python: %global with_python 1}
%define python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
%define python_prefix %(python -c "import sys; print sys.prefix")
Name: libpfm
Version: 4.2.0
Release: 2%{?dist}
Summary: Library to encode performance events for use by perf tool
Group: System Environment/Libraries
License: MIT
URL: http://perfmon2.sourceforge.net/
Source0: http://sourceforge.net/projects/perfmon2/files/libpfm4/%{name}-%{version}.tar.gz
%if %{with_python}
BuildRequires: python-devel
(Continue reading)
RSS Feed